Podczas rozwiązywania problemu z plikiem ibdata / log przypadkowo upuściłem performance_schemabazę danych, chciałbym utworzyć nową.
mysql> SHOW VARIABLES LIKE 'perf%';
+---------------------------------------------------+---------+
| Variable_name | Value |
+---------------------------------------------------+---------+
| performance_schema | ON |
| performance_schema_events_waits_history_long_size | 10000 |
| performance_schema_events_waits_history_size | 10 |
| performance_schema_max_cond_classes | 80 |
| performance_schema_max_cond_instances | 1000 |
| performance_schema_max_file_classes | 50 |
| performance_schema_max_file_handles | 32768 |
| performance_schema_max_file_instances | 10000 |
| performance_schema_max_mutex_classes | 200 |
| performance_schema_max_mutex_instances | 1000000 |
| performance_schema_max_rwlock_classes | 30 |
| performance_schema_max_rwlock_instances | 1000000 |
| performance_schema_max_table_handles | 100000 |
| performance_schema_max_table_instances | 50000 |
| performance_schema_max_thread_classes | 50 |
| performance_schema_max_thread_instances | 1000 |
+---------------------------------------------------+---------+
16 rows in set (0.06 sec)
Te zmienne wydają mi się w porządku.
Poniższe pytanie dotyczy tego samego, jednak użytkownik stwierdza, że był w stanie go utworzyć, postępując zgodnie z dokumentacją, w której nie mogłem znaleźć takich instrukcji.
mysql: usunięto schemat wydajności, czy to problem?
jakieś pomysły?
mysqlPo wykonaniu tej czynności ponownie uruchom usługę! Dla mnie zadziałało to dopiero po restarcie.