2
create schema schema_a;
4
create table a (a int);
5
insert into a values (1), (2), (3);
6
create temporary table a (a int) engine=memory;
8
Session Schema Name Type Engine Version Rows Avg_row_length Table_size Auto_increment
9
# schema_a a STANDARD InnoDB # # # # #
10
# schema_a a TEMPORARY MEMORY # # # # #
11
create schema schema_b;
13
create table a (a int);
14
create table b (a int);
15
insert into a select * from schema_a.a;
16
insert into b select * from schema_a.a;
22
Session Schema Name Type Engine Version Rows Avg_row_length Table_size Auto_increment
23
# schema_b a STANDARD InnoDB # # # # #
24
# schema_b b STANDARD InnoDB # # # # #
25
create temporary table a (a int);
26
insert into b select * from schema_a.a;
28
Session Schema Name Type Engine Version Rows Avg_row_length Table_size Auto_increment
29
# schema_b a STANDARD InnoDB # # # # #
30
# schema_b a TEMPORARY InnoDB # # # # #
31
# schema_b b STANDARD InnoDB # # # # #
34
Session Schema Name Type Engine Version Rows Avg_row_length Table_size Auto_increment
35
# schema_b a STANDARD InnoDB # # # # #
36
# schema_b a TEMPORARY InnoDB # # # # #
37
# schema_b b STANDARD InnoDB # # # # #
40
Session Schema Name Type Engine Version Rows Avg_row_length Table_size Auto_increment
41
# data_dictionary show_table_status FUNCTION FunctionEngine # # # # #