Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/11/2014, 10:09
cpu210
 
Fecha de Ingreso: enero-2014
Mensajes: 22
Antigüedad: 10 años, 10 meses
Puntos: 0
Respuesta: Necesito optimizar Apache y Mysql para un VPS

Estos son los resultados del MySQLTunner:


>> MySQLTuner 1.3.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.1.73
[OK] Operating on 64-bit architecture

-------- Storage Engine Statistics -------------------------------------------
[--] Status: +CSV +InnoDB +MRG_MYISAM
[--] Data in MyISAM tables: 238K (Tables: 77)
[--] Data in InnoDB tables: 148M (Tables: 543)
[!!] Total fragmented tables: 544

-------- Security Recommendations -------------------------------------------
[OK] All database users have passwords assigned

-------- Performance Metrics -------------------------------------------------
[--] Up for: 2h 52m 12s (1M q [106.443 qps], 13K conn, TX: 1B, RX: 300M)
[--] Reads / Writes: 99% / 1%
[--] Total buffers: 1.1G global + 2.7M per thread (151 max threads)
[OK] Maximum possible memory usage: 1.5G (36% of installed RAM)
[OK] Slow queries: 0% (153/1M)
[OK] Highest usage of available connections: 13% (21/151)
[OK] Key buffer size / total MyISAM indexes: 8.0M/682.0K
[OK] Key buffer hit rate: 100.0% (95M cached / 15 reads)
[!!] Query cache is disabled
[OK] Sorts requiring temporary tables: 0% (2 temp sorts / 222K sorts)
[!!] Joins performed without indexes: 1902
[OK] Temporary tables created on disk: 8% (15K on disk / 178K total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 0% (64 open / 613K opened)
[OK] Open file limit used: 0% (8/1K)
[OK] Table locks acquired immediately: 100% (2M immediate / 2M locks)
[OK] InnoDB buffer pool / data size: 1.0G/148.7M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
Run OPTIMIZE TABLE to defragment tables for better performance
MySQL started within last 24 hours - recommendations may be inaccurate
Enable the slow query log to troubleshoot bad queries
Adjust your join queries to always utilize indexes
Set thread_cache_size to 4 as a starting value
Increase table_open_cache gradually to avoid file descriptor limits
Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C
Variables to adjust:
query_cache_size (>= 8M)
join_buffer_size (> 128.0K, or always use indexes with joins)
thread_cache_size (start at 4)
table_open_cache (> 64)