MySQL Forums
Forum List  »  Performance

Re: Please help with slow easy query
Posted by: Ilya Cheburaev
Date: April 22, 2009 10:31AM

>Can you send us the output of the "lsof | grep mysql" as that is too high but not that this will catch up more then just files open by mysql.

There is all opened tables for each mysql process in system (like 500 tables
~ 21506 lines)
lsof | grep mysql: http://www.uxoft.ru/files/lsf
Full current report: http://www.uxoft.ru/files/report.txt
ps ax | grep mysql (i think i'll be helpful): http://www.uxoft.ru/files/psout


>uptime? I mean mysql uptime :)
ok =)
current info(restarted again loaded low-medium):
MySQL 4.1.13-standard-l uptime 0 1:49:15 Wed Apr 22 20:37:59 2009

>mysql> show global status like 'open_t%'; # want to see how quickly it reaches to the limit
>mysql> show global variables like 'max_connection%';
>mysql> show global status like 'Th%';
>mysql> show global variables like 'wait%';

mysql> show status like 'Th%';
+-------------------+-------+
| Variable_name | Value |
+-------------------+-------+
| Threads_cached | 17 |
| Threads_connected | 3 |
| Threads_created | 20 |
| Threads_running | 1 |
+-------------------+-------+
4 rows in set (0.00 sec)

mysql> show global variables like 'wait%';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| wait_timeout | 28800 |
+---------------+-------+
1 row in set (0.00 sec)

mysql> show status like 'open_t%';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Open_tables | 367 |
+---------------+-------+
1 row in set (0.00 sec)

mysql> show global variables like 'max_connection%';
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| max_connections | 100 |
+-----------------+-------+
1 row in set (0.00 sec)

Thank's a lot!

Options: ReplyQuote


Subject
Views
Written By
Posted
4991
April 21, 2009 11:58PM
2309
April 22, 2009 02:10AM
2303
April 22, 2009 09:37AM
Re: Please help with slow easy query
2277
April 22, 2009 10:31AM
2260
April 23, 2009 12:16AM
2157
April 23, 2009 02:20AM
2134
April 25, 2009 04:34PM
2148
April 27, 2009 09:47PM
2171
April 29, 2009 09:44AM
2138
April 30, 2009 10:54PM


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.