config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/perfschema_stress/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
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/perfschema_stress/t/read.test

# The include statement below is a temp one for tests that are yet to
#be ported to run with InnoDB,
#but needs to be kept for tests that would need MyISAM in future.
--source include/force_myisam_default.inc

--source include/not_embedded.inc

SELECT * FROM performance_schema.setup_instruments
WHERE ENABLED='NO' AND TIMED='NO';

SELECT * FROM performance_schema.events_waits_current
WHERE (TIMER_END - TIMER_START != TIMER_WAIT);

SELECT * FROM performance_schema.events_waits_history
WHERE SPINS != NULL;

SELECT * FROM performance_schema.threads p,
              performance_schema.events_waits_current e
WHERE p.THREAD_ID = e.THREAD_ID
  AND TIMER_START = 0
ORDER BY e.EVENT_ID;

SELECT * FROM performance_schema.events_waits_current
WHERE THREAD_ID IN (SELECT THREAD_ID
                    FROM performance_schema.threads
                    ORDER BY THREAD_ID)
  AND TIMER_END = 0
  AND TIMER_WAIT != NULL
ORDER BY EVENT_ID;

--disable_result_log
SELECT SUM(COUNT_READ) AS sum_count_read,
       SUM(COUNT_WRITE) AS sum_count_write,
       SUM(SUM_NUMBER_OF_BYTES_READ) AS sum_num_bytes_read,
       SUM(SUM_NUMBER_OF_BYTES_WRITE) AS sum_num_bytes_write
FROM performance_schema.file_summary_by_instance
WHERE FILE_NAME LIKE CONCAT('%', @@tmpdir, '%') ORDER BY NULL;
--enable_result_log


Man Man