2017-09-11 17:33:01 +00:00
|
|
|
*** Not partitioned ***
|
|
|
|
Parts before OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
tuple() all_1_1_0_1
|
|
|
|
tuple() all_2_2_0_2
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
tuple() all_1_2_1_2
|
2017-09-11 17:33:01 +00:00
|
|
|
Sum before DETACH PARTITION:
|
|
|
|
15
|
|
|
|
Sum after DETACH PARTITION:
|
2018-02-17 04:18:29 +00:00
|
|
|
0
|
2019-05-20 16:24:36 +00:00
|
|
|
system.detached_parts after DETACH PARTITION:
|
2019-11-18 01:11:10 +00:00
|
|
|
default not_partitioned all all_1_2_1_2 default 1 2 1
|
2017-09-11 17:33:01 +00:00
|
|
|
*** Partitioned by week ***
|
|
|
|
Parts before OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
1999-12-27 19991227_1_1_0_1
|
|
|
|
2000-01-03 20000103_2_2_0_2
|
|
|
|
2000-01-03 20000103_3_3_0_3
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
1999-12-27 19991227_1_1_0_1
|
|
|
|
2000-01-03 20000103_2_3_1_3
|
2017-09-11 17:33:01 +00:00
|
|
|
Sum before DROP PARTITION:
|
|
|
|
15
|
|
|
|
Sum after DROP PARTITION:
|
|
|
|
12
|
|
|
|
*** Partitioned by a (Date, UInt8) tuple ***
|
|
|
|
Parts before OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
(\'2000-01-01\',1) 20000101-1_1_1_0_1
|
|
|
|
(\'2000-01-01\',1) 20000101-1_5_5_0_5
|
|
|
|
(\'2000-01-01\',2) 20000101-2_2_2_0_2
|
|
|
|
(\'2000-01-02\',1) 20000102-1_3_3_0_3
|
|
|
|
(\'2000-01-02\',1) 20000102-1_4_4_0_4
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
(\'2000-01-01\',1) 20000101-1_1_5_1_5
|
|
|
|
(\'2000-01-01\',2) 20000101-2_2_2_0_2
|
|
|
|
(\'2000-01-02\',1) 20000102-1_3_4_1_4
|
2017-09-11 17:33:01 +00:00
|
|
|
Sum before DETACH PARTITION:
|
|
|
|
15
|
|
|
|
Sum after DETACH PARTITION:
|
|
|
|
9
|
|
|
|
*** Partitioned by String ***
|
|
|
|
Parts before OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0_2
|
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0_3
|
|
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_1_0_1
|
|
|
|
aaa 9b50856126a8a6064f11f027d455bf58_4_4_0_4
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-11-18 01:11:10 +00:00
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0_2
|
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0_3
|
|
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_4_1_4
|
2017-09-11 17:33:01 +00:00
|
|
|
Sum before DROP PARTITION:
|
|
|
|
15
|
|
|
|
Sum after DROP PARTITION:
|
|
|
|
8
|
2017-10-24 14:11:53 +00:00
|
|
|
*** Table without columns with fixed size ***
|
|
|
|
Parts:
|
2019-11-18 01:11:10 +00:00
|
|
|
1 1_1_1_0_1 2
|
|
|
|
2 2_2_2_0_2 2
|
2017-10-24 14:11:53 +00:00
|
|
|
Before DROP PARTITION:
|
|
|
|
a
|
|
|
|
aa
|
|
|
|
b
|
|
|
|
cc
|
|
|
|
After DROP PARTITION:
|
|
|
|
aa
|
|
|
|
cc
|