| 1 |
CALL sys.ps_setup_reset_to_default(TRUE); |
| 2 |
status |
| 3 |
Resetting: setup_actors |
| 4 |
DELETE |
| 5 |
FROM performance_schema.setup_actors |
| 6 |
WHERE NOT (HOST = '%' AND USER = '%' AND `ROLE` = '%') |
| 7 |
status |
| 8 |
Resetting: setup_actors |
| 9 |
INSERT IGNORE INTO performance_schema.setup_actors |
| 10 |
VALUES ('%', '%', '%', 'YES', 'YES') |
| 11 |
status |
| 12 |
Resetting: setup_instruments |
| 13 |
UPDATE performance_schema.setup_instruments |
| 14 |
SET ENABLED = sys.ps_is_instrument_default_enabled(NAME), |
| 15 |
TIMED = sys.ps_is_instrument_default_timed(NAME) |
| 16 |
status |
| 17 |
Resetting: setup_consumers |
| 18 |
UPDATE performance_schema.setup_consumers |
| 19 |
SET ENABLED = IF(NAME IN ('events_statements_current', 'events_transactions_current', 'global_instrumentation', 'thread_instrumentation', 'statements_digest'), 'YES', 'NO') |
| 20 |
status |
| 21 |
Resetting: setup_objects |
| 22 |
DELETE |
| 23 |
FROM performance_schema.setup_objects |
| 24 |
WHERE NOT (OBJECT_TYPE IN ('EVENT', 'FUNCTION', 'PROCEDURE', 'TABLE', 'TRIGGER') AND OBJECT_NAME = '%' |
| 25 |
AND (OBJECT_SCHEMA = 'mysql'AND ENABLED = 'NO'AND TIMED = 'NO' ) |
| 26 |
OR (OBJECT_SCHEMA = 'performance_schema' AND ENABLED = 'NO'AND TIMED = 'NO' ) |
| 27 |
OR (OBJECT_SCHEMA = 'information_schema' AND ENABLED = 'NO'AND TIMED = 'NO' ) |
| 28 |
OR (OBJECT_SCHEMA = '%'AND ENABLED = 'YES' AND TIMED = 'YES')) |
| 29 |
status |
| 30 |
Resetting: setup_objects |
| 31 |
INSERT IGNORE INTO performance_schema.setup_objects |
| 32 |
VALUES ('EVENT', 'mysql' , '%', 'NO' , 'NO' ), |
| 33 |
('EVENT', 'performance_schema', '%', 'NO' , 'NO' ), |
| 34 |
('EVENT', 'information_schema', '%', 'NO' , 'NO' ), |
| 35 |
('EVENT', '%' , '%', 'YES', 'YES'), |
| 36 |
('FUNCTION' , 'mysql' , '%', 'NO' , 'NO' ), |
| 37 |
('FUNCTION' , 'performance_schema', '%', 'NO' , 'NO' ), |
| 38 |
('FUNCTION' , 'information_schema', '%', 'NO' , 'NO' ), |
| 39 |
('FUNCTION' , '%' , '%', 'YES', 'YES'), |
| 40 |
('PROCEDURE', 'mysql' , '%', 'NO' , 'NO' ), |
| 41 |
('PROCEDURE', 'performance_schema', '%', 'NO' , 'NO' ), |
| 42 |
('PROCEDURE', 'information_schema', '%', 'NO' , 'NO' ), |
| 43 |
('PROCEDURE', '%' , '%', 'YES', 'YES'), |
| 44 |
('TABLE', 'mysql' , '%', 'NO' , 'NO' ), |
| 45 |
('TABLE', 'performance_schema', '%', 'NO' , 'NO' ), |
| 46 |
('TABLE', 'information_schema', '%', 'NO' , 'NO' ), |
| 47 |
('TABLE', '%' , '%', 'YES', 'YES'), |
| 48 |
('TRIGGER', 'mysql' , '%', 'NO' , 'NO' ), |
| 49 |
('TRIGGER', 'performance_schema', '%', 'NO' , 'NO' ), |
| 50 |
('TRIGGER', 'information_schema', '%', 'NO' , 'NO' ), |
| 51 |
('TRIGGER', '%' , '%', 'YES', 'YES') |
| 52 |
status |
| 53 |
Resetting: threads |
| 54 |
UPDATE performance_schema.threads |
| 55 |
SET INSTRUMENTED = 'YES' |
| 56 |
UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES'; |
| 57 |
TRUNCATE TABLE performance_schema.setup_actors; |
| 58 |
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%', 'YES', 'YES'); |
| 59 |
UPDATE performance_schema.setup_consumers SET enabled = 'YES'; |
| 60 |
UPDATE performance_schema.threads SET instrumented = 'YES'; |