Re: Please help with slow easy query
>your query can't be cached, because the base table has got long varchar and TEXT fields.
Thanks for caching info. I'll fix this.
>>do note that tables can consume multiple descriptors (in case of MyISAM), as well as client connections are using them too.
I found that MyIsam usualy use 2 descriptors for 1 table but why lsof | grep mysql -c show 132852? and why linux allow to open so many descriptors if mysql limited by fs-max with 65536 and by ulimit -n with 16384 can't understand this one.
>show us
>uptime?
>show global status like 'open%'
>show global variables like 'open_files%';
After today restart of Mysql and Apache
Load Average became good (less then 1.00)
but before it was near 10.00
now:
gaia:/home/ilya # uptime
1:27pm up 21:46, 3 users, load average: 0.74, 0.69, 1.02
Mysql uptime were something about 10 hours.
show global variables like 'open_files%';
Variable_name Value
open_files_limit 16384
Global not work with 4.1 (so i hope show status will show info for all connections too):
show status like 'open%';
Variable_name Value
Open_files 757
Open_streams 0
Open_tables 394
Opened_tables 454
But this information for now (after restart) tonight i'll check this variables again (under havy load) i think it'll be a different
Subject
Views
Written By
Posted
4999
April 21, 2009 11:58PM
2311
April 22, 2009 02:10AM
Re: Please help with slow easy query
2397
April 22, 2009 03:27AM
2278
April 22, 2009 07:02AM
2303
April 22, 2009 09:37AM
2281
April 22, 2009 10:31AM
2431
April 22, 2009 12:22PM
2260
April 23, 2009 12:16AM
2092
April 23, 2009 03:27AM
2158
April 23, 2009 02:20AM
2930
April 23, 2009 03:25AM
2334
April 24, 2009 07:18AM
2194
April 25, 2009 01:42PM
2137
April 25, 2009 04:34PM
2304
April 27, 2009 09:28AM
2150
April 27, 2009 09:47PM
2048
April 28, 2009 09:16AM
2288
April 28, 2009 09:34AM
2171
April 29, 2009 09:44AM
2689
April 30, 2009 02:07PM
2139
April 30, 2009 10:54PM
2221
May 01, 2009 11:30AM
2123
May 01, 2009 09:52PM
2136
May 04, 2009 12:46PM
2360
April 22, 2009 10:46AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.