Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Processlist full of "Opening tables "

Processlist full of "Opening tables "

2007-11-12       - By Samuel Vogel

 Back
Hey guys,

I do run MySQL on a high traffic Server with approximately 10k
databases. Since some time MySQL is has become very sluggish.
When I look at my processlist it shows more than 25 processes (sometimes
of the same & table) with status "Opening tables". Some processes also
show "closing tables".
Since I am running I shared hosting environment, I can not examine the
situation  to such extent, where I could see if table locks are
involved. But it does not seem to be the case, since it does not appear
for just some users, but for everybody. Also when I run a simple select
query it takes more than 2 sec.

I guess MySQL is trying to tell me, that my hard drive is too slow. How
could I ease this situation ?
My key_buffer is set to 1Gb of my 4Gb system memory. Other values are
tweaked as well, but I do not think the matter in that case.
Would partitioning the disk as Raid 0 ease the situation?

What other places do I have to look at, to further narrow down the problem?

Regards,
Samy

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=mysql@(protected)