Firstly, I am very new to managing my own server. I currently have a dedicated server with 500gb SATA II and 4gb memory. Based on my MySQLTuner output below what would you recommend? Thanks in advance!
Code:
>> MySQLTuner 1.5.0 - Major Hayden <[email protected]>
>> Bug reports, feature requests, and downloads at http://mysqltuner.com/
>> Run with '--help' for additional options and output filtering
[OK] Currently running supported MySQL version 5.5.42-cll
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 30M (Tables: 73)
[--] Data in InnoDB tables: 121M (Tables: 82)
[!!] Total fragmented tables: 13
-------- Security Recommendations -------------------------------------------
[OK] There is no anonymous account in all database users
[OK] All database users have passwords assigned
[--] There is 605 basic passwords in the list.
-------- Performance Metrics -------------------------------------------------
[--] Up for: 11m 40s (125K q [179.001 qps], 1K conn, TX: 3B, RX: 16M)
[--] Reads / Writes: 93% / 7%
[--] Binary logging is disabled
[--] Total buffers: 168.0M global + 2.8M per thread (151 max threads)
[OK] Maximum reached memory usage: 220.2M (6.07% of installed RAM)
[OK] Maximum possible memory usage: 583.2M (16.06% of installed RAM)
[OK] Slow queries: 0% (0/125K)
[OK] Highest usage of available connections: 12% (19/151)
[OK] Aborted connections: 0.15% (2/1317)
[!!] Key buffer used: 25.3% (2M used / 8M cache)
[OK] Key buffer size / total MyISAM indexes: 8.0M/8.1M
[OK] Read Key buffer hit rate: 100.0% (4M cached / 576 reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 16K sorts)
[!!] Temporary tables created on disk: 71% (6K on disk / 9K total)
[!!] Thread cache is disabled
[OK] Table cache hit rate: 91% (71 open / 78 opened)
[OK] Open file limit used: 0% (24/10K)
[OK] Table locks acquired immediately: 100% (131K immediate / 131K locks)
-------- InnoDB Metrics -----------------------------------------------------
[--] InnoDB is enabled.
[OK] InnoDB buffer pool / data size: 128.0M/121.4M
[OK] InnoDB buffer pool instances: 1
[!!] InnoDB Used buffer: 62.52% (5122 used/ 8192 total)
[OK] InnoDB Read buffer efficiency: 99.99% (36679442 hits/ 36683601 total)
[!!] InnoDB Write buffer efficiency: 0.00% (0 hits/ 1 total)
[OK] InnoDB log waits: 0.00% (0 waits / 4945 writes)
-------- Replication Metrics -------------------------------------------------
[--] No replication slave(s) for this server.
[--] This is a standalone server..
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
Enable the slow query log to troubleshoot bad queries
When making adjustments, make tmp_table_size/max_heap_table_size equal
Reduce your SELECT DISTINCT queries without LIMIT clauses
Set thread_cache_size to 4 as a starting value
Variables to adjust:
query_cache_size (>= 8M)
tmp_table_size (> 16M)
max_heap_table_size (> 16M)
thread_cache_size (start at 4)