You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Merge pull request #2406 from tntnatbry/MCOL-5021-dev
MCOL-5021 AUX column implementation to improve DELETE performance.
This commit is contained in:
@ -92,7 +92,7 @@ mcs_ctype_extent_koi8u t1 c1 80FF 80FF
|
||||
c1
|
||||
Ъ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -105,7 +105,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -118,7 +118,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ЪЪЪЪЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -132,7 +132,7 @@ mcs_ctype_extent_koi8u t1 c1 80FF 80FF
|
||||
c1
|
||||
Ъ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -145,7 +145,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -158,7 +158,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ЪЪЪЪЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -172,7 +172,7 @@ mcs_ctype_extent_koi8u t1 c1 80FF 80FF
|
||||
c1
|
||||
Ъ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -185,7 +185,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -198,7 +198,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ЪЪЪЪЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -212,7 +212,7 @@ mcs_ctype_extent_koi8u t1 c1 80FF 80FF
|
||||
c1
|
||||
Ъ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -225,7 +225,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -238,7 +238,7 @@ mcs_ctype_extent_koi8u t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ЪЪЪЪЪЪЪ─
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
|
@ -104,7 +104,7 @@ mcs_ctype_extent_latin1 t1 c1 E9 E9
|
||||
c1
|
||||
é
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -117,7 +117,7 @@ mcs_ctype_extent_latin1 t1 c1 80FF 80FF
|
||||
c1
|
||||
ÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -130,7 +130,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -143,7 +143,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ÿÿÿÿÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -157,7 +157,7 @@ mcs_ctype_extent_latin1 t1 c1 E9 E9
|
||||
c1
|
||||
é
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -170,7 +170,7 @@ mcs_ctype_extent_latin1 t1 c1 80FF 80FF
|
||||
c1
|
||||
ÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -183,7 +183,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -196,7 +196,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ÿÿÿÿÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -210,7 +210,7 @@ mcs_ctype_extent_latin1 t1 c1 E9 E9
|
||||
c1
|
||||
é
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -223,7 +223,7 @@ mcs_ctype_extent_latin1 t1 c1 80FF 80FF
|
||||
c1
|
||||
ÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -236,7 +236,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -249,7 +249,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ÿÿÿÿÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -263,7 +263,7 @@ mcs_ctype_extent_latin1 t1 c1 E9 E9
|
||||
c1
|
||||
é
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -276,7 +276,7 @@ mcs_ctype_extent_latin1 t1 c1 80FF 80FF
|
||||
c1
|
||||
ÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -289,7 +289,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFF 80FFFFFF
|
||||
c1
|
||||
ÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -302,7 +302,7 @@ mcs_ctype_extent_latin1 t1 c1 80FFFFFFFFFFFFFF 80FFFFFFFFFFFFFF
|
||||
c1
|
||||
ÿÿÿÿÿÿÿ€
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
|
@ -80,7 +80,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 61 61
|
||||
c1
|
||||
a
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -93,7 +93,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 6161 6161
|
||||
c1
|
||||
aa
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -107,7 +107,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 61 61
|
||||
c1
|
||||
a
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -120,7 +120,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 6161 6161
|
||||
c1
|
||||
aa
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -134,7 +134,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 61 61
|
||||
c1
|
||||
a
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -147,7 +147,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 6161 6161
|
||||
c1
|
||||
aa
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -161,7 +161,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 61 61
|
||||
c1
|
||||
a
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -174,7 +174,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 6161 6161
|
||||
c1
|
||||
aa
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -188,7 +188,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 61 61
|
||||
c1
|
||||
a
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -201,7 +201,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 6161 6161
|
||||
c1
|
||||
aa
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -215,7 +215,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 61 61
|
||||
c1
|
||||
a
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
@ -228,7 +228,7 @@ mcs_ctype_extent_utf8mb3 t1 c1 6161 6161
|
||||
c1
|
||||
aa
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-1; PartitionBlocksEliminated-0;
|
||||
Note 9999 BlocksTouched-2; PartitionBlocksEliminated-0;
|
||||
c1
|
||||
Level Code Message
|
||||
Note 9999 BlocksTouched-0; PartitionBlocksEliminated-1;
|
||||
|
@ -30,5 +30,5 @@ Part# Min Max Status
|
||||
0.1.1 0 32767 Enabled
|
||||
SELECT COUNT(*) FROM t1;
|
||||
COUNT(*)
|
||||
4419648
|
||||
4450368
|
||||
DROP DATABASE mcs204_db;
|
||||
|
@ -8,11 +8,11 @@ COUNT(*)
|
||||
100001
|
||||
SELECT idbExtentRelativeRid(col1) FROM t1 WHERE col1=2 LIMIT 1;
|
||||
idbExtentRelativeRid(col1)
|
||||
47898
|
||||
54042
|
||||
SELECT idbExtentRelativeRid(col2) FROM t1 WHERE col1=2 LIMIT 1;
|
||||
idbExtentRelativeRid(col2)
|
||||
47898
|
||||
54042
|
||||
SELECT idbExtentRelativeRid(col3) FROM t1 WHERE col1=2 LIMIT 1;
|
||||
idbExtentRelativeRid(col3)
|
||||
47898
|
||||
54042
|
||||
DROP DATABASE mcs214_db;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@ CREATE TABLE t1(col1 INT, col2 INT, col3 CHAR(8)) ENGINE=Columnstore;
|
||||
|
||||
#Valid data and table
|
||||
--exec cat $MTR_SUITE_DIR/../std_data/100Krows.dat | $MCS_CPIMPORT mcs50_db t1 >/dev/null
|
||||
SELECT * FROM t1 ORDER BY col1;
|
||||
SELECT * FROM t1 ORDER BY col1, col2, col3;
|
||||
SELECT COUNT(*) FROM t1;
|
||||
|
||||
TRUNCATE t1;
|
||||
|
Reference in New Issue
Block a user