File: index_stat_tables.result

package info (click to toggle)
mysql-8.0 8.0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,924 kB
  • sloc: cpp: 4,684,605; ansic: 412,450; pascal: 108,398; java: 83,641; perl: 30,221; cs: 27,067; sql: 26,594; sh: 24,181; python: 21,816; yacc: 17,169; php: 11,522; xml: 7,388; javascript: 7,076; makefile: 2,194; lex: 1,075; awk: 670; asm: 520; objc: 183; ruby: 97; lisp: 86
file content (18 lines) | stat: -rw-r--r-- 1,206 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Verify that the index stat tables are not present in the Server
SHOW TABLES IN mysql LIKE 'ndb_index_stat%';
Tables_in_mysql (ndb_index_stat%)
Verify that the tables can't be discovered
SHOW CREATE TABLE mysql.ndb_index_stat_head;
ERROR 42S02: Table 'mysql.ndb_index_stat_head' doesn't exist
SHOW WARNINGS;
Level	Code	Message
Error	1146	Table 'mysql.ndb_index_stat_head' doesn't exist
Verify that the tables aren't readabale
SELECT * FROM mysql.ndb_index_stat_sample;
ERROR 42S02: Table 'mysql.ndb_index_stat_sample' doesn't exist
SHOW WARNINGS;
Level	Code	Message
Error	1146	Table 'mysql.ndb_index_stat_sample' doesn't exist
SHOW CREATE VIEW ndbinfo.index_stats;
View	Create View	character_set_client	collation_connection
index_stats	CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY INVOKER VIEW `ndbinfo`.`index_stats` AS select `ndbinfo`.`ndb$index_stats`.`index_id` AS `index_id`,`ndbinfo`.`ndb$index_stats`.`index_version` AS `index_version`,`ndbinfo`.`ndb$index_stats`.`sample_version` AS `sample_version`,`ndbinfo`.`ndb$index_stats`.`load_time` AS `load_time`,`ndbinfo`.`ndb$index_stats`.`sample_count` AS `sample_count` from `ndbinfo`.`ndb$index_stats`	utf8mb4	utf8mb4_0900_ai_ci