Очень сильно тормозит PMA

Discussion in 'PHP' started by НTL, 10 Feb 2012.

  1. НTL

    НTL Elder - Старейшина

    Joined:
    26 Jan 2008
    Messages:
    715
    Likes Received:
    205
    Reputations:
    -26
    Есть:
    Denwer
    PMA 3.4.8
    С каждым днем все дольше и дольше думает. Не очень хочется обновятся до новой версии не зная что это поможет
    Всего 8 баз. Есть базы по 1 гб.
    Тормозит абсолютно везде, запросы выполняются 0.00xx сек
    Конфиг:
    PHP:
    <?php
    /*
     * Generated configuration file
     * Generated by: phpMyAdmin 3.4.8 setup script
     * Date: Sun, 25 Dec 2011 19:47:08 +0700
     */

    /* Servers configuration */
    $i 0;

    /* Server: localhost [1] */
    $i++;
    $cfg['Servers'][$i]['verbose'] = 'localhost';
    $cfg['Servers'][$i]['host'] = '127.0.0.1';
    $cfg['Servers'][$i]['port'] = '';
    $cfg['Servers'][$i]['socket'] = '';
    $cfg['Servers'][$i]['connect_type'] = 'tcp';
    $cfg['Servers'][$i]['extension'] = 'mysql';
    $cfg['Servers'][$i]['nopassword'] = true;
    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = '';
    $cfg['Servers'][$i]['AllowNoPassword'] = true;
    $cfg['Servers'][$i]['CountTables'] = true;

    /* End of servers configuration */

    $cfg['blowfish_secret'] = '4ef71acb415697.63638546';
    $cfg['DefaultLang'] = 'ru';
    $cfg['ServerDefault'] = 1;
    $cfg['UploadDir'] = '';
    $cfg['SaveDir'] = '';
    $cfg['GZipDump'] = false;
    $cfg['BZipDump'] = false;
    $cfg['InitialSlidersState'] = 'open';
    $cfg['PropertiesIconic'] = true;
    ?>
    Как решить данную проблему?
     
  2. b3

    b3 Moderator

    Joined:
    5 Dec 2004
    Messages:
    2,041
    Likes Received:
    933
    Reputations:
    199
    Сделайте сложный запрос через консоль и через ПМА, сравните время выполнения, возможно тупит не ПМА а сам mysql
     
    _________________________
  3. НTL

    НTL Elder - Старейшина

    Joined:
    26 Jan 2008
    Messages:
    715
    Likes Received:
    205
    Reputations:
    -26
    Тормозил PhpMyAdmin. Причина:
    Файл сессии (В /tmp) был размером 18мб, удаление, reboot и все летает