2017-09-11 17:33:01 +00:00
|
|
|
*** Not partitioned ***
|
|
|
|
Parts before OPTIMIZE:
|
2019-12-17 13:03:23 +00:00
|
|
|
tuple() all_1_1_0
|
|
|
|
tuple() all_2_2_0
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-12-17 13:03:23 +00:00
|
|
|
tuple() all_1_2_1
|
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:
|
2022-09-29 16:22:01 +00:00
|
|
|
default not_partitioned all all_1_2_1 1 2 1
|
2017-09-11 17:33:01 +00:00
|
|
|
*** Partitioned by week ***
|
|
|
|
Parts before OPTIMIZE:
|
2019-12-17 13:03:23 +00:00
|
|
|
1999-12-27 19991227_1_1_0
|
|
|
|
2000-01-03 20000103_2_2_0
|
|
|
|
2000-01-03 20000103_3_3_0
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-12-17 13:03:23 +00:00
|
|
|
1999-12-27 19991227_1_1_0
|
|
|
|
2000-01-03 20000103_2_3_1
|
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-12-17 13:03:23 +00:00
|
|
|
(\'2000-01-01\',1) 20000101-1_1_1_0
|
|
|
|
(\'2000-01-01\',1) 20000101-1_5_5_0
|
|
|
|
(\'2000-01-01\',2) 20000101-2_2_2_0
|
|
|
|
(\'2000-01-02\',1) 20000102-1_3_3_0
|
|
|
|
(\'2000-01-02\',1) 20000102-1_4_4_0
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-12-17 13:03:23 +00:00
|
|
|
(\'2000-01-01\',1) 20000101-1_1_5_1
|
|
|
|
(\'2000-01-01\',2) 20000101-2_2_2_0
|
|
|
|
(\'2000-01-02\',1) 20000102-1_3_4_1
|
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-12-17 13:03:23 +00:00
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0
|
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0
|
|
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_1_0
|
|
|
|
aaa 9b50856126a8a6064f11f027d455bf58_4_4_0
|
2017-09-11 17:33:01 +00:00
|
|
|
Parts after OPTIMIZE:
|
2019-12-17 13:03:23 +00:00
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0
|
|
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0
|
|
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_4_1
|
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-12-17 13:03:23 +00:00
|
|
|
1 1_1_1_0 2
|
|
|
|
2 2_2_2_0 2
|
2017-10-24 14:11:53 +00:00
|
|
|
Before DROP PARTITION:
|
|
|
|
a
|
|
|
|
aa
|
|
|
|
b
|
|
|
|
cc
|
|
|
|
After DROP PARTITION:
|
|
|
|
aa
|
|
|
|
cc
|