1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-11 12:42:43 +03:00
Files
mariadb-columnstore-engine/mysql/scripts/extentmapAsTable.sql
2016-01-06 14:08:59 -06:00

25 lines
598 B
SQL

/*
This table can be used to grab a snapshot of the extent map.
Steps:
1) create the table.
2) Dump the extent map into the table. The table is in the em schema in this example.
/usr/local/Calpont/bin/editem -i | /usr/local/Calpont/bin/cpimport em extentmap
*/
create table extentmap (
em_range_start bigint,
em_range_size int,
em_file_id int,
em_block_offset int,
em_hwm int,
em_partition_num int,
em_segment_num smallint,
em_dbroot smallint,
em_col_width smallint,
em_status smallint,
em_cp_max bigint,
em_cp_min bigint,
em_cp_seq int,
em_cp_status tinyint
) engine=infinidb;