Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/05/2013, 19:00
DrakenN
 
Fecha de Ingreso: marzo-2013
Mensajes: 3
Antigüedad: 11 años, 1 mes
Puntos: 0
Problemas en MySQL server, va lento al hacer consultas.

Hola, recientemente adquiri un servidor en OVH con estas caracteristicas;
Tecnología : Sandy Bridge E
CPU : Intel Xeon E5-1650
Cores / Threads : 6 / 12
Frecuencia : 3.2GHz / 3.8GHz Turbo Boost
RAM : 64 GB DDR3 ECC
Disco duro : 2x 120GB SSD + 2x 2TB SATA3
Ancho de banda : 1024 Mbps

Mi problema radica en que tengo un emulador de un juego pero al hacer consultas SQL va super lento, se lagea, y hay retraso en el juego. pero las webs me andan bien. Me descargue un soft llamado MySQLTuner y me pone esto:

Código:
 >>  MySQLTuner 1.2.0 - Major Hayden <[email protected]>
 >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 >>  Run with '--help' for additional options and output filtering

-------- General Statistics --------------------------------------------------
[--] Unable to check for the latest MySQLTuner version

-------- Storage Engine Statistics -------------------------------------------
[--] Status: +Archive -BDB -Federated +InnoDB -ISAM -NDBCluster
[--] Data in MyISAM tables: 1G (Tables: 7992)
[--] Data in InnoDB tables: 1G (Tables: 2386)
[--] Data in MEMORY tables: 124K (Tables: 15)
[!!] Total fragmented tables: 334

-------- Security Recommendations  -------------------------------------------

-------- Performance Metrics -------------------------------------------------
[--] Up for: 1d 7h 41m 44s (162M q [1K qps], 1M conn, TX: 224B, RX: 10B)
[--] Reads / Writes: 95% / 5%
[--] Total buffers: 34.0M global + 2.7M per thread (151 max threads)
[!!] Highest connection usage: 96%  (146/151)
[!!] Query cache is disabled
[!!] Joins performed without indexes: 163855
[!!] Temporary tables created on disk: 30% (704K on disk / 2M total)
[!!] Thread cache is disabled
[!!] Table cache hit rate: 0% (64 open / 4M opened)
[!!] InnoDB data size / buffer pool: 1.9G/8.0M

-------- Recommendations -----------------------------------------------------
General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    Enable the slow query log to troubleshoot bad queries
    Reduce or eliminate persistent connections to reduce connection usage
    Adjust your join queries to always utilize indexes
    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
    Increase table_cache gradually to avoid file descriptor limits
Variables to adjust:
    max_connections (> 151)
    wait_timeout (< 28800)
    interactive_timeout (< 28800)
    query_cache_size (>= 8M)
    join_buffer_size (> 128.0K, or always use indexes with joins)
    tmp_table_size (> 16M)
    max_heap_table_size (> 16M)
    thread_cache_size (start at 4)
    table_cache (> 64)
    innodb_buffer_pool_size (>= 1G)
Sin embargo no se como aplicar estos parametros, yo uso Linux CenOS 6 + cPanel WHM alguna idea de como eliminar estas alertas