Current Path : /home/usr.opt/mysql57/mysql-test/suite/perfschema/t/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/suite/perfschema/t/statement_digest_consumers2.test |
# ---------------------------------------------------- # Tests for the performance schema statement Digests. # ---------------------------------------------------- # Test case to show behavior of statements digest in combination of different # consumers enabled/disabled --source include/not_embedded.inc --source include/have_perfschema.inc # Initial Setup for Digest --source ../include/digest_setup.inc # ----------------------------------------- # Consumer State | # ----------------------------------------- # statements_digest Enabled | # events_statement_current Disabled | # global_implementation Disabled ? | # thread_implementation Disabled ? | # ----------------------------------------- SELECT * FROM performance_schema.setup_consumers; TRUNCATE TABLE performance_schema.events_statements_summary_by_digest; # Executing queries --source ../include/digest_execution.inc --echo #################################### --echo # QUERYING PS STATEMENT DIGEST --echo #################################### SELECT schema_name, digest, digest_text, count_star FROM performance_schema.events_statements_summary_by_digest; SELECT digest, digest_text FROM performance_schema.events_statements_current; # Cleanup for Digest --source ../include/digest_cleanup.inc