atswinner
Fri 27th Jun '03, 3:04am
I'm a noob, and I need someone to help guide me to what I need to do to speed up the server my clients site is on.
Here is MYSQL info:
Fri Jun 27 00:00:34 MDT 2003
Http processes currently running = 18
Mysql processes currently running = 4
Netstat information summary
+---------------------------+-----------------+
| Variable_name | Value |
+---------------------------+-----------------+
| Aborted_clients | 103 |
| Aborted_connects | 179 |
| Bytes_received | 833367366 |
| Bytes_sent | 451443250 |
| Com_admin_commands | 146027 |
| Com_alter_table | 113 |
| Com_analyze | 5 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 207700 |
| Com_change_master | 0 |
| Com_check | 681 |
| Com_commit | 0 |
| Com_create_db | 8 |
| Com_create_function | 0 |
| Com_create_index | 0 |
| Com_create_table | 528 |
| Com_delete | 25090 |
| Com_drop_db | 1 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 469 |
| Com_flush | 4 |
| Com_grant | 6 |
| Com_insert | 57668 |
| Com_insert_select | 2798 |
| Com_kill | 47 |
| Com_load | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 12 |
| Com_optimize | 1117 |
| Com_purge | 0 |
| Com_rename_table | 0 |
| Com_repair | 2 |
| Com_replace | 4519 |
| Com_replace_select | 294 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_select | 4080948 |
| Com_set_option | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 0 |
| Com_show_databases | 24 |
| Com_show_fields | 493 |
| Com_show_grants | 0 |
| Com_show_keys | 384 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_open_tables | 0 |
| Com_show_processlist | 119 |
| Com_show_slave_status | 0 |
| Com_show_status | 190 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 718 |
| Com_show_variables | 127 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 12 |
| Com_update | 426741 |
| Connections | 62278 |
| Created_tmp_disk_tables | 9270 |
| Created_tmp_tables | 127143 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_delete | 43136 |
| Handler_read_first | 173624 |
| Handler_read_key | 24074326 |
| Handler_read_next | 20138557 |
| Handler_read_prev | 1933 |
| Handler_read_rnd | 41327546 |
| Handler_read_rnd_next | 106811268 |
| Handler_update | 408498 |
| Handler_write | 3897056 |
| Key_blocks_used | 7793 |
| Key_read_requests | 111723178 |
| Key_reads | 18549 |
| Key_write_requests | 357664 |
| Key_writes | 251910 |
| Max_used_connections | 22 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 60 | 94% of table_cache in use
| Open_files | 101 |
| Open_streams | 0 |
| Opened_tables | 9397 |
| Questions | 4872779 |
| Select_full_join | 1545 |
| Select_full_range_join | 10 |
| Select_range | 1121232 |
| Select_range_check | 0 |
| Select_scan | 688422 |
| Slave_running | OFF |
| Slave_open_temp_tables | 0 |
| Slow_launch_threads | 50 |
| Slow_queries | 600 | (execution time > 10 secs)
| Sort_merge_passes | 0 |
| Sort_range | 797535 |
| Sort_rows | 41590549 |
| Sort_scan | 558806 |
| Table_locks_immediate | 5474807 |
| Table_locks_waited | 641 |
| Threads_cached | 0 |
| Threads_created | 62277 |
| Threads_connected | 8 |
| Threads_running | 1 |
| Uptime | 3748139 | 43 days 9 hrs 8 mins 59 secs
+---------------------------+-----------------+
Key Reads/Key Read Requests = 0.000166 (Cache hit = 99.999834%)
Key Writes/Key Write Requests = 0.704320
Connections/second = 0.017 (/hour = 59.817)
KB received/second = 0.217 (/hour = 781.670)
KB sent/second = 0.118 (/hour = 423.438)
Temporary Tables Created/second = 0.034 (/hour = 122.118)
Opened Tables/second = 0.003 (/hour = 9.026)
Slow Queries/second = 0.000 (/hour = 0.576)
% of slow queries = 0.012%
Queries/second = 1.300 (/hour = 4680.190)
I see two things that I believe to be slowing the site down.
1) Slow Queries 600
2)Cache hit = 99.999834%
Any suggestions?
Thanks
Here is MYSQL info:
Fri Jun 27 00:00:34 MDT 2003
Http processes currently running = 18
Mysql processes currently running = 4
Netstat information summary
+---------------------------+-----------------+
| Variable_name | Value |
+---------------------------+-----------------+
| Aborted_clients | 103 |
| Aborted_connects | 179 |
| Bytes_received | 833367366 |
| Bytes_sent | 451443250 |
| Com_admin_commands | 146027 |
| Com_alter_table | 113 |
| Com_analyze | 5 |
| Com_backup_table | 0 |
| Com_begin | 0 |
| Com_change_db | 207700 |
| Com_change_master | 0 |
| Com_check | 681 |
| Com_commit | 0 |
| Com_create_db | 8 |
| Com_create_function | 0 |
| Com_create_index | 0 |
| Com_create_table | 528 |
| Com_delete | 25090 |
| Com_drop_db | 1 |
| Com_drop_function | 0 |
| Com_drop_index | 0 |
| Com_drop_table | 469 |
| Com_flush | 4 |
| Com_grant | 6 |
| Com_insert | 57668 |
| Com_insert_select | 2798 |
| Com_kill | 47 |
| Com_load | 0 |
| Com_load_master_table | 0 |
| Com_lock_tables | 12 |
| Com_optimize | 1117 |
| Com_purge | 0 |
| Com_rename_table | 0 |
| Com_repair | 2 |
| Com_replace | 4519 |
| Com_replace_select | 294 |
| Com_reset | 0 |
| Com_restore_table | 0 |
| Com_revoke | 0 |
| Com_rollback | 0 |
| Com_select | 4080948 |
| Com_set_option | 0 |
| Com_show_binlogs | 0 |
| Com_show_create | 0 |
| Com_show_databases | 24 |
| Com_show_fields | 493 |
| Com_show_grants | 0 |
| Com_show_keys | 384 |
| Com_show_logs | 0 |
| Com_show_master_status | 0 |
| Com_show_open_tables | 0 |
| Com_show_processlist | 119 |
| Com_show_slave_status | 0 |
| Com_show_status | 190 |
| Com_show_innodb_status | 0 |
| Com_show_tables | 718 |
| Com_show_variables | 127 |
| Com_slave_start | 0 |
| Com_slave_stop | 0 |
| Com_truncate | 0 |
| Com_unlock_tables | 12 |
| Com_update | 426741 |
| Connections | 62278 |
| Created_tmp_disk_tables | 9270 |
| Created_tmp_tables | 127143 |
| Created_tmp_files | 0 |
| Delayed_insert_threads | 0 |
| Delayed_writes | 0 |
| Delayed_errors | 0 |
| Flush_commands | 1 |
| Handler_delete | 43136 |
| Handler_read_first | 173624 |
| Handler_read_key | 24074326 |
| Handler_read_next | 20138557 |
| Handler_read_prev | 1933 |
| Handler_read_rnd | 41327546 |
| Handler_read_rnd_next | 106811268 |
| Handler_update | 408498 |
| Handler_write | 3897056 |
| Key_blocks_used | 7793 |
| Key_read_requests | 111723178 |
| Key_reads | 18549 |
| Key_write_requests | 357664 |
| Key_writes | 251910 |
| Max_used_connections | 22 |
| Not_flushed_key_blocks | 0 |
| Not_flushed_delayed_rows | 0 |
| Open_tables | 60 | 94% of table_cache in use
| Open_files | 101 |
| Open_streams | 0 |
| Opened_tables | 9397 |
| Questions | 4872779 |
| Select_full_join | 1545 |
| Select_full_range_join | 10 |
| Select_range | 1121232 |
| Select_range_check | 0 |
| Select_scan | 688422 |
| Slave_running | OFF |
| Slave_open_temp_tables | 0 |
| Slow_launch_threads | 50 |
| Slow_queries | 600 | (execution time > 10 secs)
| Sort_merge_passes | 0 |
| Sort_range | 797535 |
| Sort_rows | 41590549 |
| Sort_scan | 558806 |
| Table_locks_immediate | 5474807 |
| Table_locks_waited | 641 |
| Threads_cached | 0 |
| Threads_created | 62277 |
| Threads_connected | 8 |
| Threads_running | 1 |
| Uptime | 3748139 | 43 days 9 hrs 8 mins 59 secs
+---------------------------+-----------------+
Key Reads/Key Read Requests = 0.000166 (Cache hit = 99.999834%)
Key Writes/Key Write Requests = 0.704320
Connections/second = 0.017 (/hour = 59.817)
KB received/second = 0.217 (/hour = 781.670)
KB sent/second = 0.118 (/hour = 423.438)
Temporary Tables Created/second = 0.034 (/hour = 122.118)
Opened Tables/second = 0.003 (/hour = 9.026)
Slow Queries/second = 0.000 (/hour = 0.576)
% of slow queries = 0.012%
Queries/second = 1.300 (/hour = 4680.190)
I see two things that I believe to be slowing the site down.
1) Slow Queries 600
2)Cache hit = 99.999834%
Any suggestions?
Thanks