I am planing to buy a Dedicated server with Specs below P4- 3.00 GHz Core 2 Duo Ram - 2 GB Hdisk - 80 Gb Bandwith - 800 GB B/with My question is bit dummie.. how many sql queries can run in 1 Second in this server config ?? Can some DBA Expert help me here My www.webmasteryouth.com has below situation MySQL Queries: 14 / Global Parsing Time: 0.8046670 PHP version: 4.4.6 / Server Load: 0.41 / GZip Compression: Enabled Thanx Kay
The more complex your queries are, the longer does MySQL take to deal with them. The speed depends on what the queries do, and on the way they're written. There can be huge differences between queries, so it's VERY hard to say how much you can run in one second.
AS everyone has been saying its hard to gauge as its based on the SQL queries you are running. You need to places indexes on tables that are being hammered. If you intend to store a lot of text data and use LIKE queries that will slow it down. If you are using MS SQL you can use SQL Server Profiler to see the start and end time for scripts running on the server. Also you say its got 80gig HD, is this a plain IDE disk? That will make a big difference for IO Read Writes.
You can run run representative queries for your application in phpmyadmin, and note the time to run each query. You may need to run each query at different times to arrive at an average figure. You will then have some better idea of your situation.