Remove trailing spaces (#665)

* Remove trailing spaces

* PR-665 -  Remove trailing spaces

- Updated not stable test t/pt-online-schema-change/preserve_triggers.t
- Updated utilities in bin directory

* PR-665 -  Remove trailing spaces

- Fixed typos

* PR-665 -  Remove trailing spaces

- Fixed typos

---------

Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
This commit is contained in:
Viktor Szépe
2023-09-06 00:15:12 +02:00
committed by GitHub
parent 8bf97c9ca7
commit 2bd40d8c39
570 changed files with 5557 additions and 5557 deletions

View File

@@ -30,9 +30,9 @@ DIGEST_UPDATE 2
DIGEST_SELECT 2
CALL sys.statement_performance_analyzer('overall', NULL, 'with_runtimes_in_95th_percentile');;
Next Output Queries with Runtime in 95th Percentile
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
full_scan
full_scan
exec_count 2
err_count 0
warn_count 0
@@ -48,9 +48,9 @@ last_seen O_UPD_LAST_SEEN
digest DIGEST_UPDATE
CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'with_runtimes_in_95th_percentile');;
Next Output Queries with Runtime in 95th Percentile
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
full_scan
full_scan
exec_count 1
err_count 0
warn_count 0
@@ -66,9 +66,9 @@ last_seen O_UPD_LAST_SEEN
digest DIGEST_UPDATE
CALL sys.statement_performance_analyzer('overall', NULL, 'analysis');;
Next Output Top 100 Queries Ordered by Total Latency
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
full_scan
full_scan
exec_count 2
err_count 0
warn_count 0
@@ -89,7 +89,7 @@ sort_merge_passes 0
digest DIGEST_UPDATE
first_seen O_UPD_FIRST_SEEN
last_seen O_UPD_LAST_SEEN
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
full_scan *
exec_count 2
@@ -112,9 +112,9 @@ sort_merge_passes 0
digest DIGEST_SELECT
first_seen O_SEL_FIRST_SEEN
last_seen O_SEL_LAST_SEEN
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
db test
full_scan
full_scan
exec_count 2
err_count 0
warn_count 0
@@ -137,9 +137,9 @@ first_seen O_INS_FIRST_SEEN
last_seen O_INS_LAST_SEEN
CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'analysis');;
Next Output Top 100 Queries Ordered by Total Latency
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
full_scan
full_scan
exec_count 1
err_count 0
warn_count 0
@@ -160,7 +160,7 @@ sort_merge_passes 0
digest DIGEST_UPDATE
first_seen O_UPD_FIRST_SEEN
last_seen O_UPD_LAST_SEEN
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
full_scan *
exec_count 1
@@ -183,9 +183,9 @@ sort_merge_passes 0
digest DIGEST_SELECT
first_seen O_SEL_FIRST_SEEN
last_seen O_SEL_LAST_SEEN
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
db test
full_scan
full_scan
exec_count 1
err_count 0
warn_count 0
@@ -212,7 +212,7 @@ CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'with_e
Next Output Top 100 Queries with Errors
CALL sys.statement_performance_analyzer('overall', NULL, 'with_full_table_scans');;
Next Output Top 100 Queries with Full Table Scan
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 2
total_latency O_SEL_TOTAL_LATENCY
@@ -228,7 +228,7 @@ last_seen O_SEL_LAST_SEEN
digest DIGEST_SELECT
CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'with_full_table_scans');;
Next Output Top 100 Queries with Full Table Scan
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 1
total_latency D_SEL_TOTAL_LATENCY
@@ -244,7 +244,7 @@ last_seen O_SEL_LAST_SEEN
digest DIGEST_SELECT
CALL sys.statement_performance_analyzer('overall', NULL, 'with_sorting');;
Next Output Top 100 Queries with Sorting
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 2
total_latency O_SEL_TOTAL_LATENCY
@@ -259,7 +259,7 @@ last_seen O_SEL_LAST_SEEN
digest DIGEST_SELECT
CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'with_sorting');;
Next Output Top 100 Queries with Sorting
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 1
total_latency D_SEL_TOTAL_LATENCY
@@ -274,7 +274,7 @@ last_seen O_SEL_LAST_SEEN
digest DIGEST_SELECT
CALL sys.statement_performance_analyzer('overall', NULL, 'with_temp_tables');;
Next Output Top 100 Queries with Internal Temporary Tables
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 2
total_latency O_SEL_TOTAL_LATENCY
@@ -287,7 +287,7 @@ last_seen O_SEL_LAST_SEEN
digest DIGEST_SELECT
CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'with_temp_tables');;
Next Output Top 100 Queries with Internal Temporary Tables
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 1
total_latency D_SEL_TOTAL_LATENCY
@@ -313,7 +313,7 @@ ORDER BY SUM_TIMER_WAIT DESC;
SET @sys.statement_performance_analyzer.view = 'test.view_digests';
CALL sys.statement_performance_analyzer('overall', NULL, 'custom');;
Next Output Top 100 Queries Using Custom View
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
exec_count 2
total_latency O_UPD_TOTAL_LATENCY
@@ -322,7 +322,7 @@ rows_sent_avg 0
rows_examined_avg 1
rows_affected_avg 1
digest DIGEST_UPDATE
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 2
total_latency O_SEL_TOTAL_LATENCY
@@ -331,7 +331,7 @@ rows_sent_avg 2
rows_examined_avg 8
rows_affected_avg 0
digest DIGEST_SELECT
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
db test
exec_count 2
total_latency O_INS_TOTAL_LATENCY
@@ -342,7 +342,7 @@ rows_affected_avg 1
digest DIGEST_INSERT
CALL sys.statement_performance_analyzer('delta', 'test.tmp_digests_ini', 'custom');;
Next Output Top 100 Queries Using Custom View
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
exec_count 1
total_latency D_UPD_TOTAL_LATENCY
@@ -351,7 +351,7 @@ rows_sent_avg 0
rows_examined_avg 1
rows_affected_avg 1
digest DIGEST_UPDATE
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 1
total_latency D_SEL_TOTAL_LATENCY
@@ -360,7 +360,7 @@ rows_sent_avg 2
rows_examined_avg 10
rows_affected_avg 0
digest DIGEST_SELECT
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
query INSERT INTO `t1` VALUES ( ? , `SLEEP` (?) )
db test
exec_count 1
total_latency D_INS_TOTAL_LATENCY
@@ -372,7 +372,7 @@ digest DIGEST_INSERT
SET @sys.statement_performance_analyzer.limit = 2;
CALL sys.statement_performance_analyzer('overall', NULL, 'custom');;
Next Output Top 2 Queries Using Custom View
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
query UPDATE `t1` SET `val` = ? + `SLEEP` (?) WHERE `id` = ?
db test
exec_count 2
total_latency O_UPD_TOTAL_LATENCY
@@ -381,7 +381,7 @@ rows_sent_avg 0
rows_examined_avg 1
rows_affected_avg 1
digest DIGEST_UPDATE
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
query SELECT `t1a` . * FROM `t1` AS ... , `t1a` . `id` + `SLEEP` (?)
db test
exec_count 2
total_latency O_SEL_TOTAL_LATENCY

View File

@@ -1,9 +1,9 @@
DESC sys.sys_config;
Field Type Null Key Default Extra
variable varchar(128) NO PRI NULL
value varchar(128) YES NULL
variable varchar(128) NO PRI NULL
value varchar(128) YES NULL
set_time timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
set_by varchar(128) YES NULL
set_by varchar(128) YES NULL
SELECT variable, value, set_by FROM sys.sys_config;
variable value set_by
diagnostics.allow_i_s_tables OFF NULL

View File

@@ -1,30 +1,30 @@
DESC sys.host_summary;
Field Type Null Key Default Extra
host varchar(60) YES NULL
statements decimal(64,0) YES NULL
statement_latency text YES NULL
statement_avg_latency text YES NULL
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency text YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_users bigint(21) NO 0
current_memory text YES NULL
total_memory_allocated text YES NULL
host varchar(60) YES NULL
statements decimal(64,0) YES NULL
statement_latency text YES NULL
statement_avg_latency text YES NULL
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency text YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_users bigint(21) NO 0
current_memory text YES NULL
total_memory_allocated text YES NULL
SELECT * FROM sys.host_summary;
DESC sys.x$host_summary;
Field Type Null Key Default Extra
host varchar(60) YES NULL
statements decimal(64,0) YES NULL
statement_latency decimal(64,0) YES NULL
statement_avg_latency decimal(65,4) YES NULL
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency decimal(64,0) YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_users bigint(21) NO 0
current_memory decimal(63,0) YES NULL
total_memory_allocated decimal(64,0) YES NULL
host varchar(60) YES NULL
statements decimal(64,0) YES NULL
statement_latency decimal(64,0) YES NULL
statement_avg_latency decimal(65,4) YES NULL
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency decimal(64,0) YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_users bigint(21) NO 0
current_memory decimal(63,0) YES NULL
total_memory_allocated decimal(64,0) YES NULL
SELECT * FROM sys.x$host_summary;

View File

@@ -1,12 +1,12 @@
DESC sys.host_summary_by_file_io;
Field Type Null Key Default Extra
host varchar(60) YES NULL
ios decimal(42,0) YES NULL
io_latency text YES NULL
host varchar(60) YES NULL
ios decimal(42,0) YES NULL
io_latency text YES NULL
SELECT * FROM sys.host_summary_by_file_io;
DESC sys.x$host_summary_by_file_io;
Field Type Null Key Default Extra
host varchar(60) YES NULL
ios decimal(42,0) YES NULL
io_latency decimal(42,0) YES NULL
host varchar(60) YES NULL
ios decimal(42,0) YES NULL
io_latency decimal(42,0) YES NULL
SELECT * FROM sys.x$host_summary_by_file_io;

View File

@@ -1,16 +1,16 @@
DESC sys.host_summary_by_file_io_type;
Field Type Null Key Default Extra
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.host_summary_by_file_io_type;
DESC sys.x$host_summary_by_file_io_type;
Field Type Null Key Default Extra
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$host_summary_by_file_io_type;

View File

@@ -1,16 +1,16 @@
DESC sys.host_summary_by_stages;
Field Type Null Key Default Extra
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
SELECT * FROM sys.host_summary_by_stages;
DESC sys.x$host_summary_by_stages;
Field Type Null Key Default Extra
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
host varchar(60) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$host_summary_by_stages;

View File

@@ -1,24 +1,24 @@
DESC sys.host_summary_by_statement_latency;
Field Type Null Key Default Extra
host varchar(60) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
host varchar(60) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
SELECT * FROM sys.host_summary_by_statement_latency;
DESC sys.x$host_summary_by_statement_latency;
Field Type Null Key Default Extra
host varchar(60) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
max_latency decimal(42,0) YES NULL
lock_latency decimal(42,0) YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
host varchar(60) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
max_latency decimal(42,0) YES NULL
lock_latency decimal(42,0) YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
SELECT * FROM sys.x$host_summary_by_statement_latency;

View File

@@ -1,26 +1,26 @@
DESC sys.host_summary_by_statement_type;
Field Type Null Key Default Extra
host varchar(60) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
host varchar(60) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
SELECT * FROM sys.host_summary_by_statement_type;
DESC sys.x$host_summary_by_statement_type;
Field Type Null Key Default Extra
host varchar(60) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
lock_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
host varchar(60) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
lock_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
SELECT * FROM sys.x$host_summary_by_statement_type;

View File

@@ -1,20 +1,20 @@
DESC sys.innodb_buffer_stats_by_schema;
Field Type Null Key Default Extra
object_schema text YES NULL
allocated text YES NULL
data text YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) YES NULL
object_schema text YES NULL
allocated text YES NULL
data text YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) YES NULL
SELECT * FROM sys.innodb_buffer_stats_by_schema;
DESC sys.x$innodb_buffer_stats_by_schema;
Field Type Null Key Default Extra
object_schema text YES NULL
allocated decimal(43,0) YES NULL
data decimal(43,0) YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) NO 0
object_schema text YES NULL
allocated decimal(43,0) YES NULL
data decimal(43,0) YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) NO 0
SELECT * FROM sys.x$innodb_buffer_stats_by_schema;

View File

@@ -1,22 +1,22 @@
DESC sys.innodb_buffer_stats_by_table;
Field Type Null Key Default Extra
object_schema text YES NULL
object_name text YES NULL
allocated text YES NULL
data text YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) YES NULL
object_schema text YES NULL
object_name text YES NULL
allocated text YES NULL
data text YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) YES NULL
SELECT * FROM sys.innodb_buffer_stats_by_table;
DESC sys.x$innodb_buffer_stats_by_table;
Field Type Null Key Default Extra
object_schema text YES NULL
object_name text YES NULL
allocated decimal(43,0) YES NULL
data decimal(43,0) YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) NO 0
object_schema text YES NULL
object_name text YES NULL
allocated decimal(43,0) YES NULL
data decimal(43,0) YES NULL
pages bigint(21) NO 0
pages_hashed bigint(21) NO 0
pages_old bigint(21) NO 0
rows_cached decimal(44,0) NO 0
SELECT * FROM sys.x$innodb_buffer_stats_by_table;

View File

@@ -1,58 +1,58 @@
DESC sys.innodb_lock_waits;
Field Type Null Key Default Extra
wait_started datetime YES NULL
wait_age time YES NULL
wait_age_secs bigint(21) YES NULL
locked_table varchar(1024) NO
locked_index varchar(1024) YES NULL
locked_type varchar(32) NO
waiting_trx_id varchar(18) NO
waiting_trx_started datetime NO 0000-00-00 00:00:00
waiting_trx_age time YES NULL
waiting_trx_rows_locked bigint(21) unsigned NO 0
waiting_trx_rows_modified bigint(21) unsigned NO 0
waiting_pid bigint(21) unsigned NO 0
waiting_query longtext YES NULL
waiting_lock_id varchar(81) NO
waiting_lock_mode varchar(32) NO
blocking_trx_id varchar(18) NO
blocking_pid bigint(21) unsigned NO 0
blocking_query longtext YES NULL
blocking_lock_id varchar(81) NO
blocking_lock_mode varchar(32) NO
blocking_trx_started datetime NO 0000-00-00 00:00:00
blocking_trx_age time YES NULL
blocking_trx_rows_locked bigint(21) unsigned NO 0
blocking_trx_rows_modified bigint(21) unsigned NO 0
sql_kill_blocking_query varchar(32) YES NULL
sql_kill_blocking_connection varchar(26) YES NULL
wait_started datetime YES NULL
wait_age time YES NULL
wait_age_secs bigint(21) YES NULL
locked_table varchar(1024) NO
locked_index varchar(1024) YES NULL
locked_type varchar(32) NO
waiting_trx_id varchar(18) NO
waiting_trx_started datetime NO 0000-00-00 00:00:00
waiting_trx_age time YES NULL
waiting_trx_rows_locked bigint(21) unsigned NO 0
waiting_trx_rows_modified bigint(21) unsigned NO 0
waiting_pid bigint(21) unsigned NO 0
waiting_query longtext YES NULL
waiting_lock_id varchar(81) NO
waiting_lock_mode varchar(32) NO
blocking_trx_id varchar(18) NO
blocking_pid bigint(21) unsigned NO 0
blocking_query longtext YES NULL
blocking_lock_id varchar(81) NO
blocking_lock_mode varchar(32) NO
blocking_trx_started datetime NO 0000-00-00 00:00:00
blocking_trx_age time YES NULL
blocking_trx_rows_locked bigint(21) unsigned NO 0
blocking_trx_rows_modified bigint(21) unsigned NO 0
sql_kill_blocking_query varchar(32) YES NULL
sql_kill_blocking_connection varchar(26) YES NULL
SELECT * FROM sys.innodb_lock_waits;
DESC sys.x$innodb_lock_waits;
Field Type Null Key Default Extra
wait_started datetime YES NULL
wait_age time YES NULL
wait_age_secs bigint(21) YES NULL
locked_table varchar(1024) NO
locked_index varchar(1024) YES NULL
locked_type varchar(32) NO
waiting_trx_id varchar(18) NO
waiting_trx_started datetime NO 0000-00-00 00:00:00
waiting_trx_age time YES NULL
waiting_trx_rows_locked bigint(21) unsigned NO 0
waiting_trx_rows_modified bigint(21) unsigned NO 0
waiting_pid bigint(21) unsigned NO 0
waiting_query varchar(1024) YES NULL
waiting_lock_id varchar(81) NO
waiting_lock_mode varchar(32) NO
blocking_trx_id varchar(18) NO
blocking_pid bigint(21) unsigned NO 0
blocking_query varchar(1024) YES NULL
blocking_lock_id varchar(81) NO
blocking_lock_mode varchar(32) NO
blocking_trx_started datetime NO 0000-00-00 00:00:00
blocking_trx_age time YES NULL
blocking_trx_rows_locked bigint(21) unsigned NO 0
blocking_trx_rows_modified bigint(21) unsigned NO 0
sql_kill_blocking_query varchar(32) YES NULL
sql_kill_blocking_connection varchar(26) YES NULL
wait_started datetime YES NULL
wait_age time YES NULL
wait_age_secs bigint(21) YES NULL
locked_table varchar(1024) NO
locked_index varchar(1024) YES NULL
locked_type varchar(32) NO
waiting_trx_id varchar(18) NO
waiting_trx_started datetime NO 0000-00-00 00:00:00
waiting_trx_age time YES NULL
waiting_trx_rows_locked bigint(21) unsigned NO 0
waiting_trx_rows_modified bigint(21) unsigned NO 0
waiting_pid bigint(21) unsigned NO 0
waiting_query varchar(1024) YES NULL
waiting_lock_id varchar(81) NO
waiting_lock_mode varchar(32) NO
blocking_trx_id varchar(18) NO
blocking_pid bigint(21) unsigned NO 0
blocking_query varchar(1024) YES NULL
blocking_lock_id varchar(81) NO
blocking_lock_mode varchar(32) NO
blocking_trx_started datetime NO 0000-00-00 00:00:00
blocking_trx_age time YES NULL
blocking_trx_rows_locked bigint(21) unsigned NO 0
blocking_trx_rows_modified bigint(21) unsigned NO 0
sql_kill_blocking_query varchar(32) YES NULL
sql_kill_blocking_connection varchar(26) YES NULL
SELECT * FROM sys.x$innodb_lock_waits;

View File

@@ -1,22 +1,22 @@
DESC sys.io_by_thread_by_latency;
Field Type Null Key Default Extra
user varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
thread_id bigint(20) unsigned NO NULL
processlist_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
thread_id bigint(20) unsigned NO NULL
processlist_id bigint(20) unsigned YES NULL
SELECT * FROM sys.io_by_thread_by_latency;
DESC sys.x$io_by_thread_by_latency;
Field Type Null Key Default Extra
user varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
min_latency bigint(20) unsigned YES NULL
avg_latency decimal(24,4) YES NULL
max_latency bigint(20) unsigned YES NULL
thread_id bigint(20) unsigned NO NULL
processlist_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
min_latency bigint(20) unsigned YES NULL
avg_latency decimal(24,4) YES NULL
max_latency bigint(20) unsigned YES NULL
thread_id bigint(20) unsigned NO NULL
processlist_id bigint(20) unsigned YES NULL
SELECT * FROM sys.x$io_by_thread_by_latency;

View File

@@ -1,24 +1,24 @@
DESC sys.io_global_by_file_by_bytes;
Field Type Null Key Default Extra
file varchar(512) YES NULL
count_read bigint(20) unsigned NO NULL
total_read text YES NULL
avg_read text YES NULL
count_write bigint(20) unsigned NO NULL
total_written text YES NULL
avg_write text YES NULL
total text YES NULL
write_pct decimal(26,2) NO 0.00
file varchar(512) YES NULL
count_read bigint(20) unsigned NO NULL
total_read text YES NULL
avg_read text YES NULL
count_write bigint(20) unsigned NO NULL
total_written text YES NULL
avg_write text YES NULL
total text YES NULL
write_pct decimal(26,2) NO 0.00
SELECT * FROM sys.io_global_by_file_by_bytes;
DESC sys.x$io_global_by_file_by_bytes;
Field Type Null Key Default Extra
file varchar(512) NO NULL
count_read bigint(20) unsigned NO NULL
total_read bigint(20) NO NULL
avg_read decimal(23,4) NO 0.0000
count_write bigint(20) unsigned NO NULL
total_written bigint(20) NO NULL
avg_write decimal(23,4) NO 0.0000
total bigint(21) NO 0
write_pct decimal(26,2) NO 0.00
file varchar(512) NO NULL
count_read bigint(20) unsigned NO NULL
total_read bigint(20) NO NULL
avg_read decimal(23,4) NO 0.0000
count_write bigint(20) unsigned NO NULL
total_written bigint(20) NO NULL
avg_write decimal(23,4) NO 0.0000
total bigint(21) NO 0
write_pct decimal(26,2) NO 0.00
SELECT * FROM sys.x$io_global_by_file_by_bytes;

View File

@@ -1,24 +1,24 @@
DESC sys.io_global_by_file_by_latency;
Field Type Null Key Default Extra
file varchar(512) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
count_read bigint(20) unsigned NO NULL
read_latency text YES NULL
count_write bigint(20) unsigned NO NULL
write_latency text YES NULL
count_misc bigint(20) unsigned NO NULL
misc_latency text YES NULL
file varchar(512) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
count_read bigint(20) unsigned NO NULL
read_latency text YES NULL
count_write bigint(20) unsigned NO NULL
write_latency text YES NULL
count_misc bigint(20) unsigned NO NULL
misc_latency text YES NULL
SELECT * FROM sys.io_global_by_file_by_latency;
DESC sys.x$io_global_by_file_by_latency;
Field Type Null Key Default Extra
file varchar(512) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
count_read bigint(20) unsigned NO NULL
read_latency bigint(20) unsigned NO NULL
count_write bigint(20) unsigned NO NULL
write_latency bigint(20) unsigned NO NULL
count_misc bigint(20) unsigned NO NULL
misc_latency bigint(20) unsigned NO NULL
file varchar(512) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
count_read bigint(20) unsigned NO NULL
read_latency bigint(20) unsigned NO NULL
count_write bigint(20) unsigned NO NULL
write_latency bigint(20) unsigned NO NULL
count_misc bigint(20) unsigned NO NULL
misc_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$io_global_by_file_by_latency;

View File

@@ -1,32 +1,32 @@
DESC sys.io_global_by_wait_by_bytes;
Field Type Null Key Default Extra
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
count_read bigint(20) unsigned NO NULL
total_read text YES NULL
avg_read text YES NULL
count_write bigint(20) unsigned NO NULL
total_written text YES NULL
avg_written text YES NULL
total_requested text YES NULL
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
count_read bigint(20) unsigned NO NULL
total_read text YES NULL
avg_read text YES NULL
count_write bigint(20) unsigned NO NULL
total_written text YES NULL
avg_written text YES NULL
total_requested text YES NULL
SELECT * FROM sys.io_global_by_wait_by_bytes;
DESC sys.x$io_global_by_wait_by_bytes;
Field Type Null Key Default Extra
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
min_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
count_read bigint(20) unsigned NO NULL
total_read bigint(20) NO NULL
avg_read decimal(23,4) NO 0.0000
count_write bigint(20) unsigned NO NULL
total_written bigint(20) NO NULL
avg_written decimal(23,4) NO 0.0000
total_requested bigint(21) NO 0
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
min_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
count_read bigint(20) unsigned NO NULL
total_read bigint(20) NO NULL
avg_read decimal(23,4) NO 0.0000
count_write bigint(20) unsigned NO NULL
total_written bigint(20) NO NULL
avg_written decimal(23,4) NO 0.0000
total_requested bigint(21) NO 0
SELECT * FROM sys.x$io_global_by_wait_by_bytes;

View File

@@ -1,34 +1,34 @@
DESC sys.io_global_by_wait_by_latency;
Field Type Null Key Default Extra
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
read_latency text YES NULL
write_latency text YES NULL
misc_latency text YES NULL
count_read bigint(20) unsigned NO NULL
total_read text YES NULL
avg_read text YES NULL
count_write bigint(20) unsigned NO NULL
total_written text YES NULL
avg_written text YES NULL
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
read_latency text YES NULL
write_latency text YES NULL
misc_latency text YES NULL
count_read bigint(20) unsigned NO NULL
total_read text YES NULL
avg_read text YES NULL
count_write bigint(20) unsigned NO NULL
total_written text YES NULL
avg_written text YES NULL
SELECT * FROM sys.io_global_by_wait_by_latency;
DESC sys.x$io_global_by_wait_by_latency;
Field Type Null Key Default Extra
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
read_latency bigint(20) unsigned NO NULL
write_latency bigint(20) unsigned NO NULL
misc_latency bigint(20) unsigned NO NULL
count_read bigint(20) unsigned NO NULL
total_read bigint(20) NO NULL
avg_read decimal(23,4) NO 0.0000
count_write bigint(20) unsigned NO NULL
total_written bigint(20) NO NULL
avg_written decimal(23,4) NO 0.0000
event_name varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
read_latency bigint(20) unsigned NO NULL
write_latency bigint(20) unsigned NO NULL
misc_latency bigint(20) unsigned NO NULL
count_read bigint(20) unsigned NO NULL
total_read bigint(20) NO NULL
avg_read decimal(23,4) NO 0.0000
count_write bigint(20) unsigned NO NULL
total_written bigint(20) NO NULL
avg_written decimal(23,4) NO 0.0000
SELECT * FROM sys.x$io_global_by_wait_by_latency;

View File

@@ -1,16 +1,16 @@
DESC sys.latest_file_io;
Field Type Null Key Default Extra
thread varchar(149) YES NULL
file varchar(512) YES NULL
latency text YES NULL
operation varchar(32) NO NULL
requested text YES NULL
thread varchar(149) YES NULL
file varchar(512) YES NULL
latency text YES NULL
operation varchar(32) NO NULL
requested text YES NULL
SELECT * FROM sys.latest_file_io;
DESC sys.x$latest_file_io;
Field Type Null Key Default Extra
thread varchar(149) YES NULL
file varchar(512) YES NULL
latency bigint(20) unsigned YES NULL
operation varchar(32) NO NULL
requested bigint(20) YES NULL
thread varchar(149) YES NULL
file varchar(512) YES NULL
latency bigint(20) unsigned YES NULL
operation varchar(32) NO NULL
requested bigint(20) YES NULL
SELECT * FROM sys.x$latest_file_io;

View File

@@ -1,18 +1,18 @@
DESC sys.memory_by_host_by_current_bytes;
Field Type Null Key Default Extra
host varchar(60) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated text YES NULL
current_avg_alloc text YES NULL
current_max_alloc text YES NULL
total_allocated text YES NULL
host varchar(60) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated text YES NULL
current_avg_alloc text YES NULL
current_max_alloc text YES NULL
total_allocated text YES NULL
SELECT * FROM sys.memory_by_host_by_current_bytes;
DESC sys.x$memory_by_host_by_current_bytes;
Field Type Null Key Default Extra
host varchar(60) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated decimal(41,0) YES NULL
current_avg_alloc decimal(45,4) NO 0.0000
current_max_alloc bigint(20) YES NULL
total_allocated decimal(42,0) YES NULL
host varchar(60) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated decimal(41,0) YES NULL
current_avg_alloc decimal(45,4) NO 0.0000
current_max_alloc bigint(20) YES NULL
total_allocated decimal(42,0) YES NULL
SELECT * FROM sys.x$memory_by_host_by_current_bytes;

View File

@@ -1,20 +1,20 @@
DESC sys.memory_by_thread_by_current_bytes;
Field Type Null Key Default Extra
thread_id bigint(20) unsigned NO NULL
user varchar(128) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated text YES NULL
current_avg_alloc text YES NULL
current_max_alloc text YES NULL
total_allocated text YES NULL
thread_id bigint(20) unsigned NO NULL
user varchar(128) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated text YES NULL
current_avg_alloc text YES NULL
current_max_alloc text YES NULL
total_allocated text YES NULL
SELECT * FROM sys.memory_by_thread_by_current_bytes;
DESC sys.x$memory_by_thread_by_current_bytes;
Field Type Null Key Default Extra
thread_id bigint(20) unsigned NO NULL
user varchar(128) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated decimal(41,0) YES NULL
current_avg_alloc decimal(45,4) NO 0.0000
current_max_alloc bigint(20) YES NULL
total_allocated decimal(42,0) YES NULL
thread_id bigint(20) unsigned NO NULL
user varchar(128) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated decimal(41,0) YES NULL
current_avg_alloc decimal(45,4) NO 0.0000
current_max_alloc bigint(20) YES NULL
total_allocated decimal(42,0) YES NULL
SELECT * FROM sys.x$memory_by_thread_by_current_bytes;

View File

@@ -1,18 +1,18 @@
DESC sys.memory_by_user_by_current_bytes;
Field Type Null Key Default Extra
user varchar(32) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated text YES NULL
current_avg_alloc text YES NULL
current_max_alloc text YES NULL
total_allocated text YES NULL
user varchar(32) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated text YES NULL
current_avg_alloc text YES NULL
current_max_alloc text YES NULL
total_allocated text YES NULL
SELECT * FROM sys.memory_by_user_by_current_bytes;
DESC sys.x$memory_by_user_by_current_bytes;
Field Type Null Key Default Extra
user varchar(32) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated decimal(41,0) YES NULL
current_avg_alloc decimal(45,4) NO 0.0000
current_max_alloc bigint(20) YES NULL
total_allocated decimal(42,0) YES NULL
user varchar(32) YES NULL
current_count_used decimal(41,0) YES NULL
current_allocated decimal(41,0) YES NULL
current_avg_alloc decimal(45,4) NO 0.0000
current_max_alloc bigint(20) YES NULL
total_allocated decimal(42,0) YES NULL
SELECT * FROM sys.x$memory_by_user_by_current_bytes;

View File

@@ -1,20 +1,20 @@
DESC sys.memory_global_by_current_bytes;
Field Type Null Key Default Extra
event_name varchar(128) NO NULL
current_count bigint(20) NO NULL
current_alloc text YES NULL
current_avg_alloc text YES NULL
high_count bigint(20) NO NULL
high_alloc text YES NULL
high_avg_alloc text YES NULL
event_name varchar(128) NO NULL
current_count bigint(20) NO NULL
current_alloc text YES NULL
current_avg_alloc text YES NULL
high_count bigint(20) NO NULL
high_alloc text YES NULL
high_avg_alloc text YES NULL
SELECT * FROM sys.memory_global_by_current_bytes;
DESC sys.x$memory_global_by_current_bytes;
Field Type Null Key Default Extra
event_name varchar(128) NO NULL
current_count bigint(20) NO NULL
current_alloc bigint(20) NO NULL
current_avg_alloc decimal(23,4) NO 0.0000
high_count bigint(20) NO NULL
high_alloc bigint(20) NO NULL
high_avg_alloc decimal(23,4) NO 0.0000
event_name varchar(128) NO NULL
current_count bigint(20) NO NULL
current_alloc bigint(20) NO NULL
current_avg_alloc decimal(23,4) NO 0.0000
high_count bigint(20) NO NULL
high_alloc bigint(20) NO NULL
high_avg_alloc decimal(23,4) NO 0.0000
SELECT * FROM sys.x$memory_global_by_current_bytes;

View File

@@ -1,8 +1,8 @@
DESC sys.memory_global_total;
Field Type Null Key Default Extra
total_allocated text YES NULL
total_allocated text YES NULL
SELECT * FROM sys.memory_global_total;
DESC sys.x$memory_global_total;
Field Type Null Key Default Extra
total_allocated decimal(41,0) YES NULL
total_allocated decimal(41,0) YES NULL
SELECT * FROM sys.x$memory_global_total;

View File

@@ -1,7 +1,7 @@
DESC sys.metrics;
Field Type Null Key Default Extra
Variable_name varchar(193) YES NULL
Variable_value text YES NULL
Type varchar(210) YES NULL
Enabled varchar(7) NO
Variable_name varchar(193) YES NULL
Variable_value text YES NULL
Type varchar(210) YES NULL
Enabled varchar(7) NO
SELECT * FROM sys.metrics;

View File

@@ -1,62 +1,62 @@
DESC sys.processlist;
Field Type Null Key Default Extra
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency text YES NULL
progress decimal(26,2) YES NULL
lock_latency text YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency text YES NULL
current_memory text YES NULL
last_wait varchar(128) YES NULL
last_wait_latency text YES NULL
source varchar(64) YES NULL
trx_latency text YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency text YES NULL
progress decimal(26,2) YES NULL
lock_latency text YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency text YES NULL
current_memory text YES NULL
last_wait varchar(128) YES NULL
last_wait_latency text YES NULL
source varchar(64) YES NULL
trx_latency text YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
SELECT * FROM sys.processlist;
DESC sys.x$processlist;
Field Type Null Key Default Extra
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency bigint(20) unsigned YES NULL
progress decimal(26,2) YES NULL
lock_latency bigint(20) unsigned YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency bigint(20) unsigned YES NULL
current_memory decimal(41,0) YES NULL
last_wait varchar(128) YES NULL
last_wait_latency varchar(20) YES NULL
source varchar(64) YES NULL
trx_latency bigint(20) unsigned YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency bigint(20) unsigned YES NULL
progress decimal(26,2) YES NULL
lock_latency bigint(20) unsigned YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency bigint(20) unsigned YES NULL
current_memory decimal(41,0) YES NULL
last_wait varchar(128) YES NULL
last_wait_latency varchar(20) YES NULL
source varchar(64) YES NULL
trx_latency bigint(20) unsigned YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
SELECT * FROM sys.x$processlist;

View File

@@ -1,5 +1,5 @@
DESC sys.ps_check_lost_instrumentation;
Field Type Null Key Default Extra
variable_name varchar(64) NO NULL
variable_value varchar(1024) YES NULL
variable_name varchar(64) NO NULL
variable_value varchar(1024) YES NULL
SELECT * FROM sys.ps_check_lost_instrumentation;

View File

@@ -1,18 +1,18 @@
DESC sys.x$ps_digest_95th_percentile_by_avg_us;
Field Type Null Key Default Extra
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
DESC sys.x$ps_digest_95th_percentile_by_avg_us;
Field Type Null Key Default Extra
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
DESC sys.x$ps_digest_95th_percentile_by_avg_us;
Field Type Null Key Default Extra
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
SELECT * FROM sys.x$ps_digest_95th_percentile_by_avg_us;
DESC sys.x$ps_digest_95th_percentile_by_avg_us;
Field Type Null Key Default Extra
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
avg_us decimal(21,0) YES NULL
percentile decimal(46,4) NO 0.0000
SELECT * FROM sys.x$ps_digest_95th_percentile_by_avg_us;

View File

@@ -1,18 +1,18 @@
DESC sys.x$ps_digest_avg_latency_distribution;
Field Type Null Key Default Extra
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
DESC sys.x$ps_digest_avg_latency_distribution;
Field Type Null Key Default Extra
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
DESC sys.x$ps_digest_avg_latency_distribution;
Field Type Null Key Default Extra
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
SELECT * FROM sys.x$ps_digest_avg_latency_distribution;
DESC sys.x$ps_digest_avg_latency_distribution;
Field Type Null Key Default Extra
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
cnt bigint(21) NO 0
avg_us decimal(21,0) YES NULL
SELECT * FROM sys.x$ps_digest_avg_latency_distribution;

View File

@@ -1,50 +1,50 @@
DESC sys.x$ps_schema_table_statistics_io;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
DESC sys.x$ps_schema_table_statistics_io;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
DESC sys.x$ps_schema_table_statistics_io;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
SELECT * FROM sys.x$ps_schema_table_statistics_io;
DESC sys.x$ps_schema_table_statistics_io;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
count_read decimal(42,0) YES NULL
sum_number_of_bytes_read decimal(41,0) YES NULL
sum_timer_read decimal(42,0) YES NULL
count_write decimal(42,0) YES NULL
sum_number_of_bytes_write decimal(41,0) YES NULL
sum_timer_write decimal(42,0) YES NULL
count_misc decimal(42,0) YES NULL
sum_timer_misc decimal(42,0) YES NULL
SELECT * FROM sys.x$ps_schema_table_statistics_io;

View File

@@ -1,15 +1,15 @@
DESC sys.schema_auto_increment_columns;
Field Type Null Key Default Extra
table_schema varchar(64) NO
table_name varchar(64) NO
column_name varchar(64) NO
data_type varchar(64) NO
column_type longtext NO NULL
is_signed int(1) NO 0
is_unsigned int(1) NO 0
max_value bigint(21) unsigned YES NULL
auto_increment bigint(21) unsigned YES NULL
auto_increment_ratio decimal(25,4) unsigned YES NULL
table_schema varchar(64) NO
table_name varchar(64) NO
column_name varchar(64) NO
data_type varchar(64) NO
column_type longtext NO NULL
is_signed int(1) NO 0
is_unsigned int(1) NO 0
max_value bigint(21) unsigned YES NULL
auto_increment bigint(21) unsigned YES NULL
auto_increment_ratio decimal(25,4) unsigned YES NULL
SELECT * FROM sys.schema_auto_increment_columns;
CREATE DATABASE auto_incs;
CREATE TABLE auto_incs.tinyintcol (

View File

@@ -1,28 +1,28 @@
DESC sys.schema_index_statistics;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
index_name varchar(64) YES NULL
rows_selected bigint(20) unsigned NO NULL
select_latency text YES NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency text YES NULL
rows_updated bigint(20) unsigned NO NULL
update_latency text YES NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency text YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
index_name varchar(64) YES NULL
rows_selected bigint(20) unsigned NO NULL
select_latency text YES NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency text YES NULL
rows_updated bigint(20) unsigned NO NULL
update_latency text YES NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency text YES NULL
SELECT * FROM sys.schema_index_statistics;
DESC sys.x$schema_index_statistics;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
index_name varchar(64) YES NULL
rows_selected bigint(20) unsigned NO NULL
select_latency bigint(20) unsigned NO NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency bigint(20) unsigned NO NULL
rows_updated bigint(20) unsigned NO NULL
update_latency bigint(20) unsigned NO NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency bigint(20) unsigned NO NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
index_name varchar(64) YES NULL
rows_selected bigint(20) unsigned NO NULL
select_latency bigint(20) unsigned NO NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency bigint(20) unsigned NO NULL
rows_updated bigint(20) unsigned NO NULL
update_latency bigint(20) unsigned NO NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$schema_index_statistics;

View File

@@ -1,6 +1,6 @@
DESC sys.schema_object_overview;
Field Type Null Key Default Extra
db varchar(64) NO
object_type varchar(64) YES NULL
count bigint(21) NO 0
db varchar(64) NO
object_type varchar(64) YES NULL
count bigint(21) NO 0
SELECT * FROM sys.schema_object_overview;

View File

@@ -1,24 +1,24 @@
DESC sys.schema_redundant_indexes;
Field Type Null Key Default Extra
table_schema varchar(64) NO
table_name varchar(64) NO
redundant_index_name varchar(64) NO
redundant_index_columns text YES NULL
redundant_index_non_unique bigint(1) YES NULL
dominant_index_name varchar(64) NO
dominant_index_columns text YES NULL
dominant_index_non_unique bigint(1) YES NULL
subpart_exists int(1) NO 0
sql_drop_index varchar(223) YES NULL
table_schema varchar(64) NO
table_name varchar(64) NO
redundant_index_name varchar(64) NO
redundant_index_columns text YES NULL
redundant_index_non_unique bigint(1) YES NULL
dominant_index_name varchar(64) NO
dominant_index_columns text YES NULL
dominant_index_non_unique bigint(1) YES NULL
subpart_exists int(1) NO 0
sql_drop_index varchar(223) YES NULL
SELECT * FROM sys.schema_redundant_indexes;
DESC sys.x$schema_flattened_keys;
Field Type Null Key Default Extra
table_schema varchar(64) NO
table_name varchar(64) NO
index_name varchar(64) NO
non_unique bigint(1) YES NULL
subpart_exists bigint(1) YES NULL
index_columns text YES NULL
table_schema varchar(64) NO
table_name varchar(64) NO
index_name varchar(64) NO
non_unique bigint(1) YES NULL
subpart_exists bigint(1) YES NULL
index_columns text YES NULL
SELECT * FROM sys.x$schema_flattened_keys;
CREATE DATABASE rkey;
CREATE TABLE rkey.rkey (

View File

@@ -1,44 +1,44 @@
DESC sys.schema_table_lock_waits;
Field Type Null Key Default Extra
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
waiting_thread_id bigint(20) unsigned NO NULL
waiting_pid bigint(20) unsigned YES NULL
waiting_account text YES NULL
waiting_lock_type varchar(32) NO NULL
waiting_lock_duration varchar(32) NO NULL
waiting_query longtext YES NULL
waiting_query_secs bigint(20) YES NULL
waiting_query_rows_affected bigint(20) unsigned YES NULL
waiting_query_rows_examined bigint(20) unsigned YES NULL
blocking_thread_id bigint(20) unsigned NO NULL
blocking_pid bigint(20) unsigned YES NULL
blocking_account text YES NULL
blocking_lock_type varchar(32) NO NULL
blocking_lock_duration varchar(32) NO NULL
sql_kill_blocking_query varchar(31) YES NULL
sql_kill_blocking_connection varchar(25) YES NULL
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
waiting_thread_id bigint(20) unsigned NO NULL
waiting_pid bigint(20) unsigned YES NULL
waiting_account text YES NULL
waiting_lock_type varchar(32) NO NULL
waiting_lock_duration varchar(32) NO NULL
waiting_query longtext YES NULL
waiting_query_secs bigint(20) YES NULL
waiting_query_rows_affected bigint(20) unsigned YES NULL
waiting_query_rows_examined bigint(20) unsigned YES NULL
blocking_thread_id bigint(20) unsigned NO NULL
blocking_pid bigint(20) unsigned YES NULL
blocking_account text YES NULL
blocking_lock_type varchar(32) NO NULL
blocking_lock_duration varchar(32) NO NULL
sql_kill_blocking_query varchar(31) YES NULL
sql_kill_blocking_connection varchar(25) YES NULL
SELECT * FROM sys.schema_table_lock_waits;
DESC sys.x$schema_table_lock_waits;
Field Type Null Key Default Extra
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
waiting_thread_id bigint(20) unsigned NO NULL
waiting_pid bigint(20) unsigned YES NULL
waiting_account text YES NULL
waiting_lock_type varchar(32) NO NULL
waiting_lock_duration varchar(32) NO NULL
waiting_query longtext YES NULL
waiting_query_secs bigint(20) YES NULL
waiting_query_rows_affected bigint(20) unsigned YES NULL
waiting_query_rows_examined bigint(20) unsigned YES NULL
blocking_thread_id bigint(20) unsigned NO NULL
blocking_pid bigint(20) unsigned YES NULL
blocking_account text YES NULL
blocking_lock_type varchar(32) NO NULL
blocking_lock_duration varchar(32) NO NULL
sql_kill_blocking_query varchar(31) YES NULL
sql_kill_blocking_connection varchar(25) YES NULL
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
waiting_thread_id bigint(20) unsigned NO NULL
waiting_pid bigint(20) unsigned YES NULL
waiting_account text YES NULL
waiting_lock_type varchar(32) NO NULL
waiting_lock_duration varchar(32) NO NULL
waiting_query longtext YES NULL
waiting_query_secs bigint(20) YES NULL
waiting_query_rows_affected bigint(20) unsigned YES NULL
waiting_query_rows_examined bigint(20) unsigned YES NULL
blocking_thread_id bigint(20) unsigned NO NULL
blocking_pid bigint(20) unsigned YES NULL
blocking_account text YES NULL
blocking_lock_type varchar(32) NO NULL
blocking_lock_duration varchar(32) NO NULL
sql_kill_blocking_query varchar(31) YES NULL
sql_kill_blocking_connection varchar(25) YES NULL
SELECT * FROM sys.x$schema_table_lock_waits;
CREATE TABLE test.lock_waits (i INT PRIMARY KEY, j INT) ENGINE = InnoDB;
LOCK TABLE lock_waits WRITE;

View File

@@ -1,44 +1,44 @@
DESC sys.schema_table_statistics;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
total_latency text YES NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency text YES NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency text YES NULL
rows_updated bigint(20) unsigned NO NULL
update_latency text YES NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency text YES NULL
io_read_requests decimal(42,0) YES NULL
io_read text YES NULL
io_read_latency text YES NULL
io_write_requests decimal(42,0) YES NULL
io_write text YES NULL
io_write_latency text YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency text YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
total_latency text YES NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency text YES NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency text YES NULL
rows_updated bigint(20) unsigned NO NULL
update_latency text YES NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency text YES NULL
io_read_requests decimal(42,0) YES NULL
io_read text YES NULL
io_read_latency text YES NULL
io_write_requests decimal(42,0) YES NULL
io_write text YES NULL
io_write_latency text YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency text YES NULL
SELECT * FROM sys.schema_table_statistics;
DESC sys.x$schema_table_statistics;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
total_latency bigint(20) unsigned NO NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency bigint(20) unsigned NO NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency bigint(20) unsigned NO NULL
rows_updated bigint(20) unsigned NO NULL
update_latency bigint(20) unsigned NO NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency bigint(20) unsigned NO NULL
io_read_requests decimal(42,0) YES NULL
io_read decimal(41,0) YES NULL
io_read_latency decimal(42,0) YES NULL
io_write_requests decimal(42,0) YES NULL
io_write decimal(41,0) YES NULL
io_write_latency decimal(42,0) YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency decimal(42,0) YES NULL
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
total_latency bigint(20) unsigned NO NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency bigint(20) unsigned NO NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency bigint(20) unsigned NO NULL
rows_updated bigint(20) unsigned NO NULL
update_latency bigint(20) unsigned NO NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency bigint(20) unsigned NO NULL
io_read_requests decimal(42,0) YES NULL
io_read decimal(41,0) YES NULL
io_read_latency decimal(42,0) YES NULL
io_write_requests decimal(42,0) YES NULL
io_write decimal(41,0) YES NULL
io_write_latency decimal(42,0) YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency decimal(42,0) YES NULL
SELECT * FROM sys.x$schema_table_statistics;

View File

@@ -1,56 +1,56 @@
DESC sys.schema_table_statistics_with_buffer;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency text YES NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency text YES NULL
rows_updated bigint(20) unsigned NO NULL
update_latency text YES NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency text YES NULL
io_read_requests decimal(42,0) YES NULL
io_read text YES NULL
io_read_latency text YES NULL
io_write_requests decimal(42,0) YES NULL
io_write text YES NULL
io_write_latency text YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency text YES NULL
innodb_buffer_allocated text YES NULL
innodb_buffer_data text YES NULL
innodb_buffer_free text YES NULL
innodb_buffer_pages bigint(21) YES 0
innodb_buffer_pages_hashed bigint(21) YES 0
innodb_buffer_pages_old bigint(21) YES 0
innodb_buffer_rows_cached decimal(44,0) YES 0
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency text YES NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency text YES NULL
rows_updated bigint(20) unsigned NO NULL
update_latency text YES NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency text YES NULL
io_read_requests decimal(42,0) YES NULL
io_read text YES NULL
io_read_latency text YES NULL
io_write_requests decimal(42,0) YES NULL
io_write text YES NULL
io_write_latency text YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency text YES NULL
innodb_buffer_allocated text YES NULL
innodb_buffer_data text YES NULL
innodb_buffer_free text YES NULL
innodb_buffer_pages bigint(21) YES 0
innodb_buffer_pages_hashed bigint(21) YES 0
innodb_buffer_pages_old bigint(21) YES 0
innodb_buffer_rows_cached decimal(44,0) YES 0
SELECT * FROM sys.schema_table_statistics_with_buffer;
DESC sys.x$schema_table_statistics_with_buffer;
Field Type Null Key Default Extra
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency bigint(20) unsigned NO NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency bigint(20) unsigned NO NULL
rows_updated bigint(20) unsigned NO NULL
update_latency bigint(20) unsigned NO NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency bigint(20) unsigned NO NULL
io_read_requests decimal(42,0) YES NULL
io_read decimal(41,0) YES NULL
io_read_latency decimal(42,0) YES NULL
io_write_requests decimal(42,0) YES NULL
io_write decimal(41,0) YES NULL
io_write_latency decimal(42,0) YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency decimal(42,0) YES NULL
innodb_buffer_allocated decimal(43,0) YES NULL
innodb_buffer_data decimal(43,0) YES NULL
innodb_buffer_free decimal(44,0) YES NULL
innodb_buffer_pages bigint(21) YES 0
innodb_buffer_pages_hashed bigint(21) YES 0
innodb_buffer_pages_old bigint(21) YES 0
innodb_buffer_rows_cached decimal(44,0) YES 0
table_schema varchar(64) YES NULL
table_name varchar(64) YES NULL
rows_fetched bigint(20) unsigned NO NULL
fetch_latency bigint(20) unsigned NO NULL
rows_inserted bigint(20) unsigned NO NULL
insert_latency bigint(20) unsigned NO NULL
rows_updated bigint(20) unsigned NO NULL
update_latency bigint(20) unsigned NO NULL
rows_deleted bigint(20) unsigned NO NULL
delete_latency bigint(20) unsigned NO NULL
io_read_requests decimal(42,0) YES NULL
io_read decimal(41,0) YES NULL
io_read_latency decimal(42,0) YES NULL
io_write_requests decimal(42,0) YES NULL
io_write decimal(41,0) YES NULL
io_write_latency decimal(42,0) YES NULL
io_misc_requests decimal(42,0) YES NULL
io_misc_latency decimal(42,0) YES NULL
innodb_buffer_allocated decimal(43,0) YES NULL
innodb_buffer_data decimal(43,0) YES NULL
innodb_buffer_free decimal(44,0) YES NULL
innodb_buffer_pages bigint(21) YES 0
innodb_buffer_pages_hashed bigint(21) YES 0
innodb_buffer_pages_old bigint(21) YES 0
innodb_buffer_rows_cached decimal(44,0) YES 0
SELECT * FROM sys.x$schema_table_statistics_with_buffer;

View File

@@ -1,16 +1,16 @@
DESC sys.schema_tables_with_full_table_scans;
Field Type Null Key Default Extra
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
rows_full_scanned bigint(20) unsigned NO NULL
latency text YES NULL
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
rows_full_scanned bigint(20) unsigned NO NULL
latency text YES NULL
SELECT * FROM sys.schema_tables_with_full_table_scans;
DESC sys.x$schema_tables_with_full_table_scans;
Field Type Null Key Default Extra
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
rows_full_scanned bigint(20) unsigned NO NULL
latency bigint(20) unsigned NO NULL
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
rows_full_scanned bigint(20) unsigned NO NULL
latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$schema_tables_with_full_table_scans;
CREATE DATABASE v_schema_tables_with_full_table_scans;
CREATE TABLE v_schema_tables_with_full_table_scans.t (i BIGINT AUTO_INCREMENT PRIMARY KEY, j BIGINT) ENGINE = innodb;
@@ -52,8 +52,8 @@ v_schema_tables_with_full_table_scans t 1536
DROP DATABASE v_schema_tables_with_full_table_scans;
DESC sys.x$schema_tables_with_full_table_scans;
Field Type Null Key Default Extra
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
rows_full_scanned bigint(20) unsigned NO NULL
latency bigint(20) unsigned NO NULL
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
rows_full_scanned bigint(20) unsigned NO NULL
latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$schema_tables_with_full_table_scans;

View File

@@ -1,6 +1,6 @@
DESC sys.schema_unused_indexes;
Field Type Null Key Default Extra
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
index_name varchar(64) YES NULL
object_schema varchar(64) YES NULL
object_name varchar(64) YES NULL
index_name varchar(64) YES NULL
SELECT * FROM sys.schema_unused_indexes;

View File

@@ -1,62 +1,62 @@
DESC sys.session;
Field Type Null Key Default Extra
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency text YES NULL
progress decimal(26,2) YES NULL
lock_latency text YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency text YES NULL
current_memory text YES NULL
last_wait varchar(128) YES NULL
last_wait_latency text YES NULL
source varchar(64) YES NULL
trx_latency text YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency text YES NULL
progress decimal(26,2) YES NULL
lock_latency text YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency text YES NULL
current_memory text YES NULL
last_wait varchar(128) YES NULL
last_wait_latency text YES NULL
source varchar(64) YES NULL
trx_latency text YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
SELECT * FROM sys.session;
DESC sys.x$session;
Field Type Null Key Default Extra
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency bigint(20) unsigned YES NULL
progress decimal(26,2) YES NULL
lock_latency bigint(20) unsigned YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency bigint(20) unsigned YES NULL
current_memory decimal(41,0) YES NULL
last_wait varchar(128) YES NULL
last_wait_latency varchar(20) YES NULL
source varchar(64) YES NULL
trx_latency bigint(20) unsigned YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
thd_id bigint(20) unsigned NO NULL
conn_id bigint(20) unsigned YES NULL
user varchar(128) YES NULL
db varchar(64) YES NULL
command varchar(16) YES NULL
state varchar(64) YES NULL
time bigint(20) YES NULL
current_statement longtext YES NULL
statement_latency bigint(20) unsigned YES NULL
progress decimal(26,2) YES NULL
lock_latency bigint(20) unsigned YES NULL
rows_examined bigint(20) unsigned YES NULL
rows_sent bigint(20) unsigned YES NULL
rows_affected bigint(20) unsigned YES NULL
tmp_tables bigint(20) unsigned YES NULL
tmp_disk_tables bigint(20) unsigned YES NULL
full_scan varchar(3) NO
last_statement longtext YES NULL
last_statement_latency bigint(20) unsigned YES NULL
current_memory decimal(41,0) YES NULL
last_wait varchar(128) YES NULL
last_wait_latency varchar(20) YES NULL
source varchar(64) YES NULL
trx_latency bigint(20) unsigned YES NULL
trx_state enum('ACTIVE','COMMITTED','ROLLED BACK') YES NULL
trx_autocommit enum('YES','NO') YES NULL
pid varchar(1024) YES NULL
program_name varchar(1024) YES NULL
SELECT * FROM sys.x$session;

View File

@@ -1,7 +1,7 @@
DESC sys.session_ssl_status;
Field Type Null Key Default Extra
thread_id bigint(20) unsigned NO NULL
ssl_version varchar(1024) YES NULL
ssl_cipher varchar(1024) YES NULL
ssl_sessions_reused varchar(1024) YES NULL
thread_id bigint(20) unsigned NO NULL
ssl_version varchar(1024) YES NULL
ssl_cipher varchar(1024) YES NULL
ssl_sessions_reused varchar(1024) YES NULL
SELECT * FROM sys.session_ssl_status;

View File

@@ -1,52 +1,52 @@
DESC sys.statement_analysis;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
avg_latency text YES NULL
lock_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
rows_affected bigint(20) unsigned NO NULL
rows_affected_avg decimal(21,0) NO 0
tmp_tables bigint(20) unsigned NO NULL
tmp_disk_tables bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
sort_merge_passes bigint(20) unsigned NO NULL
digest varchar(32) YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
avg_latency text YES NULL
lock_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
rows_affected bigint(20) unsigned NO NULL
rows_affected_avg decimal(21,0) NO 0
tmp_tables bigint(20) unsigned NO NULL
tmp_disk_tables bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
sort_merge_passes bigint(20) unsigned NO NULL
digest varchar(32) YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
SELECT * FROM sys.statement_analysis;
DESC sys.x$statement_analysis;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
lock_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
rows_affected bigint(20) unsigned NO NULL
rows_affected_avg decimal(21,0) NO 0
tmp_tables bigint(20) unsigned NO NULL
tmp_disk_tables bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
sort_merge_passes bigint(20) unsigned NO NULL
digest varchar(32) YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
lock_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
rows_affected bigint(20) unsigned NO NULL
rows_affected_avg decimal(21,0) NO 0
tmp_tables bigint(20) unsigned NO NULL
tmp_disk_tables bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
sort_merge_passes bigint(20) unsigned NO NULL
digest varchar(32) YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
SELECT * FROM sys.x$statement_analysis;

View File

@@ -1,26 +1,26 @@
DESC sys.statements_with_errors_or_warnings;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
errors bigint(20) unsigned NO NULL
error_pct decimal(27,4) NO 0.0000
warnings bigint(20) unsigned NO NULL
warning_pct decimal(27,4) NO 0.0000
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
errors bigint(20) unsigned NO NULL
error_pct decimal(27,4) NO 0.0000
warnings bigint(20) unsigned NO NULL
warning_pct decimal(27,4) NO 0.0000
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.statements_with_errors_or_warnings;
DESC sys.x$statements_with_errors_or_warnings;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
errors bigint(20) unsigned NO NULL
error_pct decimal(27,4) NO 0.0000
warnings bigint(20) unsigned NO NULL
warning_pct decimal(27,4) NO 0.0000
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
errors bigint(20) unsigned NO NULL
error_pct decimal(27,4) NO 0.0000
warnings bigint(20) unsigned NO NULL
warning_pct decimal(27,4) NO 0.0000
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.x$statements_with_errors_or_warnings;

View File

@@ -1,36 +1,36 @@
DESC sys.statements_with_full_table_scans;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency text YES NULL
no_index_used_count bigint(20) unsigned NO NULL
no_good_index_used_count bigint(20) unsigned NO NULL
no_index_used_pct decimal(24,0) NO 0
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) unsigned YES NULL
rows_examined_avg decimal(21,0) unsigned YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency text YES NULL
no_index_used_count bigint(20) unsigned NO NULL
no_good_index_used_count bigint(20) unsigned NO NULL
no_index_used_pct decimal(24,0) NO 0
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) unsigned YES NULL
rows_examined_avg decimal(21,0) unsigned YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.statements_with_full_table_scans;
DESC sys.x$statements_with_full_table_scans;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
no_index_used_count bigint(20) unsigned NO NULL
no_good_index_used_count bigint(20) unsigned NO NULL
no_index_used_pct decimal(24,0) NO 0
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) unsigned YES NULL
rows_examined_avg decimal(21,0) unsigned YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
no_index_used_count bigint(20) unsigned NO NULL
no_good_index_used_count bigint(20) unsigned NO NULL
no_index_used_pct decimal(24,0) NO 0
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) unsigned YES NULL
rows_examined_avg decimal(21,0) unsigned YES NULL
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.x$statements_with_full_table_scans;
CREATE DATABASE v_statements_with_full_table_scans;
CREATE TABLE v_statements_with_full_table_scans.t (i BIGINT AUTO_INCREMENT PRIMARY KEY, j BIGINT) ENGINE = innodb;

View File

@@ -1,38 +1,38 @@
DESC sys.statements_with_runtimes_in_95th_percentile;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
avg_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
avg_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.statements_with_runtimes_in_95th_percentile;
DESC sys.x$statements_with_runtimes_in_95th_percentile;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
full_scan varchar(1) NO
exec_count bigint(20) unsigned NO NULL
err_count bigint(20) unsigned NO NULL
warn_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_sent_avg decimal(21,0) NO 0
rows_examined bigint(20) unsigned NO NULL
rows_examined_avg decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.x$statements_with_runtimes_in_95th_percentile;

View File

@@ -1,32 +1,32 @@
DESC sys.statements_with_sorting;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency text YES NULL
sort_merge_passes bigint(20) unsigned NO NULL
avg_sort_merges decimal(21,0) NO 0
sorts_using_scans bigint(20) unsigned NO NULL
sort_using_range bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
avg_rows_sorted decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency text YES NULL
sort_merge_passes bigint(20) unsigned NO NULL
avg_sort_merges decimal(21,0) NO 0
sorts_using_scans bigint(20) unsigned NO NULL
sort_using_range bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
avg_rows_sorted decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.statements_with_sorting;
DESC sys.x$statements_with_sorting;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
sort_merge_passes bigint(20) unsigned NO NULL
avg_sort_merges decimal(21,0) NO 0
sorts_using_scans bigint(20) unsigned NO NULL
sort_using_range bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
avg_rows_sorted decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
sort_merge_passes bigint(20) unsigned NO NULL
avg_sort_merges decimal(21,0) NO 0
sorts_using_scans bigint(20) unsigned NO NULL
sort_using_range bigint(20) unsigned NO NULL
rows_sorted bigint(20) unsigned NO NULL
avg_rows_sorted decimal(21,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.x$statements_with_sorting;

View File

@@ -1,28 +1,28 @@
DESC sys.statements_with_temp_tables;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency text YES NULL
memory_tmp_tables bigint(20) unsigned NO NULL
disk_tmp_tables bigint(20) unsigned NO NULL
avg_tmp_tables_per_query decimal(21,0) NO 0
tmp_tables_to_disk_pct decimal(24,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency text YES NULL
memory_tmp_tables bigint(20) unsigned NO NULL
disk_tmp_tables bigint(20) unsigned NO NULL
avg_tmp_tables_per_query decimal(21,0) NO 0
tmp_tables_to_disk_pct decimal(24,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.statements_with_temp_tables;
DESC sys.x$statements_with_temp_tables;
Field Type Null Key Default Extra
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
memory_tmp_tables bigint(20) unsigned NO NULL
disk_tmp_tables bigint(20) unsigned NO NULL
avg_tmp_tables_per_query decimal(21,0) NO 0
tmp_tables_to_disk_pct decimal(24,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
query longtext YES NULL
db varchar(64) YES NULL
exec_count bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
memory_tmp_tables bigint(20) unsigned NO NULL
disk_tmp_tables bigint(20) unsigned NO NULL
avg_tmp_tables_per_query decimal(21,0) NO 0
tmp_tables_to_disk_pct decimal(24,0) NO 0
first_seen timestamp NO 0000-00-00 00:00:00
last_seen timestamp NO 0000-00-00 00:00:00
digest varchar(32) YES NULL
SELECT * FROM sys.x$statements_with_temp_tables;

View File

@@ -1,30 +1,30 @@
DESC sys.user_summary;
Field Type Null Key Default Extra
user varchar(32) YES NULL
statements decimal(64,0) YES NULL
statement_latency text YES NULL
statement_avg_latency text YES NULL
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency text YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_hosts bigint(21) NO 0
current_memory text YES NULL
total_memory_allocated text YES NULL
user varchar(32) YES NULL
statements decimal(64,0) YES NULL
statement_latency text YES NULL
statement_avg_latency text YES NULL
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency text YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_hosts bigint(21) NO 0
current_memory text YES NULL
total_memory_allocated text YES NULL
SELECT * FROM sys.user_summary;
DESC sys.x$user_summary;
Field Type Null Key Default Extra
user varchar(32) YES NULL
statements decimal(64,0) YES NULL
statement_latency decimal(64,0) YES NULL
statement_avg_latency decimal(65,4) NO 0.0000
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency decimal(64,0) YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_hosts bigint(21) NO 0
current_memory decimal(63,0) YES NULL
total_memory_allocated decimal(64,0) YES NULL
user varchar(32) YES NULL
statements decimal(64,0) YES NULL
statement_latency decimal(64,0) YES NULL
statement_avg_latency decimal(65,4) NO 0.0000
table_scans decimal(65,0) YES NULL
file_ios decimal(64,0) YES NULL
file_io_latency decimal(64,0) YES NULL
current_connections decimal(41,0) YES NULL
total_connections decimal(41,0) YES NULL
unique_hosts bigint(21) NO 0
current_memory decimal(63,0) YES NULL
total_memory_allocated decimal(64,0) YES NULL
SELECT * FROM sys.x$user_summary;

View File

@@ -1,12 +1,12 @@
DESC sys.user_summary_by_file_io;
Field Type Null Key Default Extra
user varchar(32) YES NULL
ios decimal(42,0) YES NULL
io_latency text YES NULL
user varchar(32) YES NULL
ios decimal(42,0) YES NULL
io_latency text YES NULL
SELECT * FROM sys.user_summary_by_file_io;
DESC sys.x$user_summary_by_file_io;
Field Type Null Key Default Extra
user varchar(32) YES NULL
ios decimal(42,0) YES NULL
io_latency decimal(42,0) YES NULL
user varchar(32) YES NULL
ios decimal(42,0) YES NULL
io_latency decimal(42,0) YES NULL
SELECT * FROM sys.x$user_summary_by_file_io;

View File

@@ -1,16 +1,16 @@
DESC sys.user_summary_by_file_io_type;
Field Type Null Key Default Extra
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
latency text YES NULL
max_latency text YES NULL
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.user_summary_by_file_io_type;
DESC sys.x$user_summary_by_file_io_type;
Field Type Null Key Default Extra
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$user_summary_by_file_io_type;

View File

@@ -1,16 +1,16 @@
DESC sys.user_summary_by_stages;
Field Type Null Key Default Extra
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
SELECT * FROM sys.user_summary_by_stages;
DESC sys.x$user_summary_by_stages;
Field Type Null Key Default Extra
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
user varchar(32) YES NULL
event_name varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$user_summary_by_stages;

View File

@@ -1,24 +1,24 @@
DESC sys.user_summary_by_statement_latency;
Field Type Null Key Default Extra
user varchar(32) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
user varchar(32) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
SELECT * FROM sys.user_summary_by_statement_latency;
DESC sys.x$user_summary_by_statement_latency;
Field Type Null Key Default Extra
user varchar(32) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
max_latency decimal(42,0) YES NULL
lock_latency decimal(42,0) YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
user varchar(32) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
max_latency decimal(42,0) YES NULL
lock_latency decimal(42,0) YES NULL
rows_sent decimal(42,0) YES NULL
rows_examined decimal(42,0) YES NULL
rows_affected decimal(42,0) YES NULL
full_scans decimal(43,0) YES NULL
SELECT * FROM sys.x$user_summary_by_statement_latency;

View File

@@ -1,26 +1,26 @@
DESC sys.user_summary_by_statement_type;
Field Type Null Key Default Extra
user varchar(32) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
user varchar(32) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
max_latency text YES NULL
lock_latency text YES NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
SELECT * FROM sys.user_summary_by_statement_type;
DESC sys.x$user_summary_by_statement_type;
Field Type Null Key Default Extra
user varchar(32) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
lock_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
user varchar(32) YES NULL
statement varchar(128) YES NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
lock_latency bigint(20) unsigned NO NULL
rows_sent bigint(20) unsigned NO NULL
rows_examined bigint(20) unsigned NO NULL
rows_affected bigint(20) unsigned NO NULL
full_scans bigint(21) unsigned NO 0
SELECT * FROM sys.x$user_summary_by_statement_type;

View File

@@ -1,18 +1,18 @@
DESC sys.wait_classes_global_by_avg_latency;
Field Type Null Key Default Extra
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.wait_classes_global_by_avg_latency;
DESC sys.x$wait_classes_global_by_avg_latency;
Field Type Null Key Default Extra
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
min_latency bigint(20) unsigned YES NULL
avg_latency decimal(46,4) NO 0.0000
max_latency bigint(20) unsigned YES NULL
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
min_latency bigint(20) unsigned YES NULL
avg_latency decimal(46,4) NO 0.0000
max_latency bigint(20) unsigned YES NULL
SELECT * FROM sys.x$wait_classes_global_by_avg_latency;

View File

@@ -1,18 +1,18 @@
DESC sys.wait_classes_global_by_latency;
Field Type Null Key Default Extra
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency text YES NULL
min_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.wait_classes_global_by_latency;
DESC sys.x$wait_classes_global_by_latency;
Field Type Null Key Default Extra
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
min_latency bigint(20) unsigned YES NULL
avg_latency decimal(46,4) NO 0.0000
max_latency bigint(20) unsigned YES NULL
event_class varchar(128) YES NULL
total decimal(42,0) YES NULL
total_latency decimal(42,0) YES NULL
min_latency bigint(20) unsigned YES NULL
avg_latency decimal(46,4) NO 0.0000
max_latency bigint(20) unsigned YES NULL
SELECT * FROM sys.x$wait_classes_global_by_latency;

View File

@@ -1,18 +1,18 @@
DESC sys.waits_by_host_by_latency;
Field Type Null Key Default Extra
host varchar(60) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
host varchar(60) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.waits_by_host_by_latency;
DESC sys.x$waits_by_host_by_latency;
Field Type Null Key Default Extra
host varchar(60) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
host varchar(60) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$waits_by_host_by_latency;

View File

@@ -1,18 +1,18 @@
DESC sys.waits_by_user_by_latency;
Field Type Null Key Default Extra
user varchar(32) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
user varchar(32) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.waits_by_user_by_latency;
DESC sys.x$waits_by_user_by_latency;
Field Type Null Key Default Extra
user varchar(32) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
user varchar(32) YES NULL
event varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$waits_by_user_by_latency;

View File

@@ -1,16 +1,16 @@
DESC sys.waits_global_by_latency;
Field Type Null Key Default Extra
events varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
events varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency text YES NULL
avg_latency text YES NULL
max_latency text YES NULL
SELECT * FROM sys.waits_global_by_latency;
DESC sys.x$waits_global_by_latency;
Field Type Null Key Default Extra
events varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
events varchar(128) NO NULL
total bigint(20) unsigned NO NULL
total_latency bigint(20) unsigned NO NULL
avg_latency bigint(20) unsigned NO NULL
max_latency bigint(20) unsigned NO NULL
SELECT * FROM sys.x$waits_global_by_latency;

View File

@@ -1,6 +1,6 @@
-- source include/not_embedded.inc
-- source ../include/ps_truncate_all_tables.inc
# Performance schema tracks prepared statements separately, and does not
# Performance schema tracks prepared statements separately, and does not
# yet have a summary view that we can use for this view.
# Until then, we disable this test with --ps-protocol
-- source include/no_protocol.inc