Home » Performance » MySQL » What is "normal" performance of the MySQL database?
What is "normal" performance of the MySQL database? [message #1699] Mon, 27 August 2007 07:43 Go to previous message
sakuraji  is currently offline sakuraji
Messages: 2
Registered: August 2007
Junior Member
I have had a hosting account with a company (with good reputaion) which I have been very happy with for several years when using simple php and static html based sites.

However, recently I set up a database (wordpress) site and the performance of database queries seem poor to me (using MySQL).

Since I have no previous experience with databases, I want to check if this really is all that can be expected or if there is likely to be a problem somewhere.

The first access to my site, which according to wordpress means 64 queries to the database, often takes about 10 seconds. Subsequent accesses are then very fast (typically 0.2 seconds or so which include php etc), also to other pages which does different database queries than the first page. So it seems to me there is something slow with the initial connection.

According to my webhost this is because at the first access to the page the database needs to read from disk etc, but in subsequent accesses table-caching provides fast response from the database.

This makes sense, BUT is it really possible that it should take 10 seconds for the database access, even if tables are not in cache?

Some more info:
The load on the the database and the webserver (different machines) is very low, so CPU resources should not be a problem. The database is very little so far. The wordpress site has 9 posts and 9 comments...

[Updated on: Mon, 27 August 2007 07:44]

Read Message
Read Message
Read Message
Read Message
Previous Topic:remove temporary table
Next Topic:Monitoring MySQL Queries
Goto Forum:

  


Current Time: Fri Jul 10 02:48:49 EDT 2009

Total time taken to generate the page: 0.01136 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7.
Copyright ©2001-2007 FUD Forum Bulletin Board Software

MySQL is a trademark of Sun Microsystems.
InnoDB is a trademark of Oracle Corp.

Percona Performance Forums are a service of Percona, Inc.
Not affiliated with Sun Microsystems or Oracle Corp.