blob: d6d6baeca9a32bc3145059101bca1f47229cc3ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
show variables like "table_definition_cache";
Variable_name Value
table_definition_cache 400
show variables like "table_open_cache";
Variable_name Value
table_open_cache 100
show variables like "max_connections";
Variable_name Value
max_connections 50
show variables like "open_files_limit";
Variable_name Value
open_files_limit 1024
show variables where
`Variable_name` != "performance_schema_max_statement_classes" and
`Variable_name` like "performance_schema%";
Variable_name Value
performance_schema ON
performance_schema_accounts_size 100
performance_schema_digests_size 5000
performance_schema_events_stages_history_long_size 1000
performance_schema_events_stages_history_size 20
performance_schema_events_statements_history_long_size 1000
performance_schema_events_statements_history_size 20
performance_schema_events_waits_history_long_size 1000
performance_schema_events_waits_history_size 20
performance_schema_hosts_size 100
performance_schema_max_cond_classes 90
performance_schema_max_cond_instances 1072
performance_schema_max_digest_length 1024
performance_schema_max_file_classes 50
performance_schema_max_file_handles 32768
performance_schema_max_file_instances 2500
performance_schema_max_mutex_classes 200
performance_schema_max_mutex_instances 5215
performance_schema_max_rwlock_classes 40
performance_schema_max_rwlock_instances 2929
performance_schema_max_socket_classes 10
performance_schema_max_socket_instances 86
performance_schema_max_stage_classes 160
performance_schema_max_table_handles 2858
performance_schema_max_table_instances 667
performance_schema_max_thread_classes 50
performance_schema_max_thread_instances 143
performance_schema_session_connect_attrs_size 512
performance_schema_setup_actors_size 100
performance_schema_setup_objects_size 100
performance_schema_users_size 100
show status like "%performance_schema%";
Variable_name Value
Performance_schema_accounts_lost 0
Performance_schema_cond_classes_lost 0
Performance_schema_cond_instances_lost 0
Performance_schema_digest_lost 0
Performance_schema_file_classes_lost 0
Performance_schema_file_handles_lost 0
Performance_schema_file_instances_lost 0
Performance_schema_hosts_lost 0
Performance_schema_locker_lost 0
Performance_schema_mutex_classes_lost 0
Performance_schema_mutex_instances_lost 0
Performance_schema_rwlock_classes_lost 0
Performance_schema_rwlock_instances_lost 0
Performance_schema_session_connect_attrs_lost 0
Performance_schema_socket_classes_lost 0
Performance_schema_socket_instances_lost 0
Performance_schema_stage_classes_lost 0
Performance_schema_statement_classes_lost 0
Performance_schema_table_handles_lost 0
Performance_schema_table_instances_lost 0
Performance_schema_thread_classes_lost 0
Performance_schema_thread_instances_lost 0
Performance_schema_users_lost 0
CALL mtr.add_suppression("innodb_open_files should not be greater than the open_files_limit.");
|