|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Help me Optimize MySQL
Can you help me optimize MySQL usage on my server ?
I really don't notice a big problem until googlebot comes sniffing around, and the occasional offline explorer. 10:48pm up 12 days, 50 min, 1 user, load average: 0.40, 0.45, 0.51 99 processes: 98 sleeping, 1 running, 0 zombie, 0 stopped Mem: 900032K av, 893672K used, 6360K free, 0K shrd, 118852K buff Swap: 136544K av, 42736K used, 93808K free 586748K cached Fri Feb 7 22:48:41 EST 2003 +--------------------------+------------+ | Variable_name | Value | +--------------------------+------------+ | Aborted_clients | 2310 | | Aborted_connects | 2 | | Bytes_received | 278553304 | | Bytes_sent | 691167092 | | Com_admin_commands | 0 | | Com_alter_table | 0 | | Com_analyze | 0 | | Com_backup_table | 0 | | Com_begin | 0 | | Com_change_db | 1075346 | | Com_change_master | 0 | | Com_check | 0 | | Com_commit | 0 | | Com_create_db | 0 | | Com_create_function | 0 | | Com_create_index | 0 | | Com_create_table | 0 | | Com_delete | 7608 | | Com_drop_db | 0 | | Com_drop_function | 0 | | Com_drop_index | 0 | | Com_drop_table | 0 | | Com_flush | 0 | | Com_grant | 0 | | Com_insert | 10913 | | Com_insert_select | 0 | | Com_kill | 0 | | Com_load | 0 | | Com_load_master_table | 0 | | Com_lock_tables | 0 | | Com_optimize | 0 | | Com_purge | 0 | | Com_rename_table | 0 | | Com_repair | 0 | | Com_replace | 0 | | Com_replace_select | 0 | | Com_reset | 0 | | Com_restore_table | 0 | | Com_revoke | 0 | | Com_rollback | 229161 | | Com_select | 1900237 | | Com_set_option | 0 | | Com_show_binlogs | 0 | | Com_show_create | 0 | | Com_show_databases | 0 | | Com_show_fields | 0 | | Com_show_grants | 0 | | Com_show_keys | 0 | | Com_show_logs | 0 | | Com_show_master_status | 0 | | Com_show_open_tables | 0 | | Com_show_processlist | 0 | | Com_show_slave_status | 0 | | Com_show_status | 1005284 | | Com_show_innodb_status | 0 | | Com_show_tables | 0 | | Com_show_variables | 8 | | Com_slave_start | 0 | | Com_slave_stop | 0 | | Com_truncate | 0 | | Com_unlock_tables | 0 | | Com_update | 77078 | | Connections | 52775 | | Created_tmp_disk_tables | 25255 | | Created_tmp_tables | 57380 | | Created_tmp_files | 68 | | Delayed_insert_threads | 0 | | Delayed_writes | 0 | | Delayed_errors | 0 | | Flush_commands | 1 | | Handler_delete | 7983 | | Handler_read_first | 113690 | | Handler_read_key | 6517731 | | Handler_read_next | 863119866 | | Handler_read_prev | 36193 | | Handler_read_rnd | 2931815 | | Handler_read_rnd_next | 1553239448 | | Handler_update | 1554142 | | Handler_write | 19564365 | | Key_blocks_used | 15582 | | Key_read_requests | 53387959 | | Key_reads | 6152 | | Key_write_requests | 2115445 | | Key_writes | 71424 | | Max_used_connections | 159 | | Not_flushed_key_blocks | 0 | | Not_flushed_delayed_rows | 0 | | Open_tables | 207 | | Open_files | 298 | | Open_streams | 0 | | Opened_tables | 270 | | Questions | 3350802 | | Select_full_join | 15936 | | Select_full_range_join | 0 | | Select_range | 2332 | | Select_range_check | 0 | | Select_scan | 1273821 | | Slave_running | OFF | | Slave_open_temp_tables | 0 | | Slow_launch_threads | 0 | | Slow_queries | 246 | | Sort_merge_passes | 34 | | Sort_range | 31497 | | Sort_rows | 3149597 | | Sort_scan | 130109 | | Table_locks_immediate | 2287614 | | Table_locks_waited | 1026 | | Threads_cached | 0 | | Threads_created | 923 | | Threads_connected | 35 | | Threads_running | 1 | | Uptime | 135430 | +--------------------------+------------+ key_buffer = 16M table_cache = 256
__________________
|
|
|
|