Skip to content

Commit

Permalink
remove innodb_stats_on_metadata mentions in Readme
Browse files Browse the repository at this point in the history
That flag is off by default, starting with MySQL 5.7, and the tool
itself reports it in the "Performance Metrics" section.
  • Loading branch information
paskal committed Nov 30, 2023
1 parent b10cdb7 commit 01a1e53
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,6 @@ Errors & solutions for performance schema installation
ERROR at line 21: Failed to open file './tables/sys_config_data_10.sql -- ported', error: 2
Have a look at #452 solution given by @ericx

Performance tips
--

Metadata statistic updates in MySQL 5.6 and lower can strongly impact performance of database servers.
Be sure that innodb_stats_on_metadata is disabled.

```bash
set global innodb_stats_on_metadata = 0;
```

Fixing sysctl configuration (/etc/sysctl.conf)
--

Expand Down
7 changes: 0 additions & 7 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,6 @@ Sysschema не установлена по умолчанию на MariaDB 10.x.
ERROR at line 21: Failed to open file './tables/sys_config_data_10.sql -- ported', error: 2
Посмотрите на #452 решение, данное @ericx

Советы по производительности
--
Обновление статистики метадаты в версии MySQL 5.6 и ниже могут очень сильно влиять на производительность сервера баз данных и MySQLTuner.
Убедитесь, что innodb_stats_on_metadata отключен.

set global innodb_stats_on_metadata = 0;

Примеры использования
--

Expand Down

0 comments on commit 01a1e53

Please sign in to comment.