1
show create table data_dictionary.TABLE_CACHE;
3
TABLE_CACHE CREATE TABLE `table_cache` (
4
`SESSION_ID` bigint NOT NULL DEFAULT '0',
5
`TABLE_SCHEMA` varchar(64) NOT NULL DEFAULT '',
6
`TABLE_NAME` varchar(64) NOT NULL DEFAULT '',
7
`VERSION` bigint NOT NULL DEFAULT '0',
8
`IS_NAME_LOCKED` varchar(5) NOT NULL DEFAULT '',
9
`ROWS` bigint NOT NULL DEFAULT '0',
10
`AVG_ROW_LENGTH` bigint NOT NULL DEFAULT '0',
11
`TABLE_SIZE` bigint NOT NULL DEFAULT '0',
12
`AUTO_INCREMENT` bigint NOT NULL DEFAULT '0'
13
) ENGINE=FunctionEngine
14
select count(*) FROM data_dictionary.TABLE_CACHE;
18
select * FROM data_dictionary.TABLE_CACHE ORDER BY TABLE_SCHEMA, TABLE_NAME;
19
SESSION_ID TABLE_SCHEMA TABLE_NAME VERSION IS_NAME_LOCKED ROWS AVG_ROW_LENGTH TABLE_SIZE AUTO_INCREMENT
20
# data_dictionary table_cache # # # 595 # #
21
create table a ( a int);
22
create table b ( b int);
25
select * FROM data_dictionary.TABLE_CACHE ORDER BY TABLE_SCHEMA, TABLE_NAME;
26
SESSION_ID TABLE_SCHEMA TABLE_NAME VERSION IS_NAME_LOCKED ROWS AVG_ROW_LENGTH TABLE_SIZE AUTO_INCREMENT
27
# data_dictionary table_cache # # # 595 # #