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
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
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;
INSERT INTO v_schema_tables_with_full_table_scans.t (j) VALUES (1), (2), (3);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
INSERT INTO v_schema_tables_with_full_table_scans.t (j) (SELECT j*2 FROM v_schema_tables_with_full_table_scans.t);
CALL sys.ps_truncate_all_tables(false);
summary
Truncated 44 tables
SELECT i, j, RAND() FROM v_schema_tables_with_full_table_scans.t WHERE j = 12;
SELECT object_schema, object_name, rows_full_scanned FROM sys.schema_tables_with_full_table_scans;
object_schema	object_name	rows_full_scanned
v_schema_tables_with_full_table_scans	t	768
SELECT object_schema, object_name, rows_full_scanned FROM sys.x$schema_tables_with_full_table_scans;
object_schema	object_name	rows_full_scanned
v_schema_tables_with_full_table_scans	t	768
SELECT i, j, RAND() FROM v_schema_tables_with_full_table_scans.t WHERE j = 12;
SELECT object_schema, object_name, rows_full_scanned FROM sys.schema_tables_with_full_table_scans;
object_schema	object_name	rows_full_scanned
v_schema_tables_with_full_table_scans	t	1536
SELECT object_schema, object_name, rows_full_scanned FROM sys.x$schema_tables_with_full_table_scans;
object_schema	object_name	rows_full_scanned
v_schema_tables_with_full_table_scans	t	1536
SELECT * FROM v_schema_tables_with_full_table_scans.t WHERE i = 10;
i	j
10	4
SELECT object_schema, object_name, rows_full_scanned FROM sys.schema_tables_with_full_table_scans;
object_schema	object_name	rows_full_scanned
v_schema_tables_with_full_table_scans	t	1536
SELECT object_schema, object_name, rows_full_scanned FROM sys.x$schema_tables_with_full_table_scans;
object_schema	object_name	rows_full_scanned
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
SELECT * FROM sys.x$schema_tables_with_full_table_scans;
