Пуснете файловете тук

SQL upload ( 0 ) x -

Натисни Ctrl+Enter за изпълнение на заявката Натиснете Enter, за да изпълни заявката
възходящо
низходящо
Поръчка:
Трасиране SQL
Броене
Изпълнение на поръчката
Time taken
Подредени по:
Група заявки
Разгрупиране на заявки
Колапс Разширяване Покажи следа Скрий следа Бройка: Използвано време:
Настройки
Restore default values
Колапс Разширяване Подзаявка Редакция Обяснение Профилиране Заявката е не успешна DB: Време за изпълнение на заявката:

Съветническа програма

Възможни проблеми с производителността

Issue:
Активността е под 1 ден, настройките за производителност може да не са точни.
Recommendation:
За да получите по-точни данни, препоръчително е да оставите сървъра да работи по-дълго от един ден преди да стартирате този анализатор
Justification:
Активността е само 0 дена, 0 часа, 10 минути и 36 секунди
Used variable / formula:
Uptime
Test:
value < 86400
Issue:
long_query_time is set to 10 seconds or more, thus only slow queries that take above 10 seconds are logged.
Recommendation:
It is suggested to set long_query_time to a lower value, depending on your environment. Usually a value of 1-5 seconds is suggested.
Justification:
long_query_time в момента е 10с.
Used variable / formula:
long_query_time
Test:
value >= 10
Issue:
Дневникът за бавни заявки е изключен.
Recommendation:
Enable slow query logging by setting slow_query_log to 'ON'. This will help troubleshooting badly performing queries.
Justification:
Променливата 'slow_query_log' е зададена на 'OFF'
Used variable / formula:
slow_query_log
Test:
value == 'OFF'
Issue:
There are lots of rows being sorted.
Recommendation:
While there is nothing wrong with a high amount of row sorting, you might want to make sure that the queries which require a lot of sorting use indexed columns in the ORDER BY clause, as this will result in much faster sorting.
Justification:
Sorted rows average: 263.94 на секунда
Used variable / formula:
Sort_rows / Uptime
Test:
value * 60 >= 1
Issue:
Има твърде много JOIN без индекси.
Recommendation:
This means that joins are doing full table scans. Adding indexes for the columns being used in the join conditions will greatly speed up table joins.
Justification:
Средната стойност за JOIN на таблици e 88.21 на секунда, тази стойност трябва да бъде под 1 за час
Used variable / formula:
(Select_range_check + Select_scan + Select_full_join) / Uptime
Test:
value * 60 * 60 > 1
Issue:
Стойността на прочитане на първия индекс е висока.
Recommendation:
This usually indicates frequent full index scans. Full index scans are faster than table scans but require lots of CPU cycles in big tables, if those tables that have or had high volumes of UPDATEs and DELETEs, running 'OPTIMIZE TABLE' might reduce the amount of and/or speed up full index scans. Other than that full index scans can only be reduced by rewriting queries.
Justification:
Стойността на отказаните клиенти е 44.36 на секунда, тази стойност трябва да бъде под 1 за час
Used variable / formula:
Handler_read_first / Uptime
Test:
value * 60 * 60 > 1
Issue:
Стойността на прочитане на фиксирана позиция е висока.
Recommendation:
This indicates that many queries need to sort results and/or do a full table scan, including join queries that do not use indexes. Add indexes where applicable.
Justification:
Стойността на прекъснатите клиенти е 84.9 на секунда, тази стойност трябва да бъде под 1 за час
Used variable / formula:
Handler_read_rnd / Uptime
Test:
value * 60 * 60 > 1
Issue:
Стойността на прочитане на следващ ред от таблица е висока.
Recommendation:
This indicates that many queries are doing full table scans. Add indexes where applicable.
Justification:
Стойността на отказаните клиенти е 5305.62 на секунда, тази стойност трябва да бъде под 1 за час
Used variable / formula:
Handler_read_rnd_next / Uptime
Test:
value * 60 * 60 > 1
Issue:
Many temporary tables are being written to disk instead of being kept in memory.
Recommendation:
Increasing max_heap_table_size and tmp_table_size might help. However some temporary tables are always being written to disk, independent of the value of these variables. To eliminate these you will have to rewrite your queries to avoid those conditions (Within a temporary table: Presence of a BLOB or TEXT column or presence of a column bigger than 512 bytes) as mentioned in the MySQL Documentation
Justification:
Стойността на временните таблици записвани на диска е 2.26 на минута, тази стойност трябва да бъде под 1 за час
Used variable / formula:
Created_tmp_disk_tables / Uptime
Test:
value * 60 * 60 > 1
Issue:
MyISAM key buffer (index cache) % used is low.
Recommendation:
You may need to decrease the size of key_buffer_size, re-examine your tables to see if indexes have been removed, or examine queries and expectations about what indexes are being used.
Justification:
Максималният % от буфера за ключове на MyISAM ползван някога е 0%, тази стойност трябва да е над 95%
Used variable / formula:
Key_blocks_used * key_cache_block_size / key_buffer_size * 100
Test:
value < 95
Issue:
The % of indexes that use the MyISAM key buffer is low.
Recommendation:
You may need to increase key_buffer_size.
Justification:
Прочетени от паметта индекси: 75%, стойността трябва да е над 95%
Used variable / formula:
100 - (Key_reads / Key_read_requests * 100)
Test:
value < 95
Issue:
Стойността на отваряне на таблици е висока.
Recommendation:
Opening tables requires disk I/O which is costly. Increasing table_open_cache might avoid this.
Justification:
Стойността на отваряните таблици е 1.36 на секунда, тази стойност трябва да бъде под 10 за час
Used variable / formula:
Opened_tables / Uptime
Test:
value*60*60 > 10
Issue:
Стойността на отворени файлове е висока.
Recommendation:
Consider increasing open_files_limit, and check the error log when restarting after changing open_files_limit.
Justification:
Стойността на отваряните файлове е 39.62 на час, тази стойност трябва да бъде под 5 за час
Used variable / formula:
Open_files / Uptime
Test:
value * 60 * 60 > 5
Issue:
Твърде много прекъснати връзки.
Recommendation:
Връзките обикновено се прекратяват, когато няма възможност да бъдат оторизирани. Тази статия може да ви помогне да проследите източника на проблеми.
Justification:
Стойността на прекъснатите връзки е 39.62 на час, тази стойност трябва да бъде под 1 за час
Used variable / formula:
Aborted_connects / Uptime
Test:
value * 60 * 60 > 1