mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
*** Not partitioned ***
|
|
Parts before OPTIMIZE:
|
|
tuple() all_1_1_0_1
|
|
tuple() all_2_2_0_2
|
|
Parts after OPTIMIZE:
|
|
tuple() all_1_2_1_2
|
|
Sum before DETACH PARTITION:
|
|
15
|
|
Sum after DETACH PARTITION:
|
|
0
|
|
system.detached_parts after DETACH PARTITION:
|
|
default not_partitioned all all_1_2_1_2 default 1 2 1
|
|
*** Partitioned by week ***
|
|
Parts before OPTIMIZE:
|
|
1999-12-27 19991227_1_1_0_1
|
|
2000-01-03 20000103_2_2_0_2
|
|
2000-01-03 20000103_3_3_0_3
|
|
Parts after OPTIMIZE:
|
|
1999-12-27 19991227_1_1_0_1
|
|
2000-01-03 20000103_2_3_1_3
|
|
Sum before DROP PARTITION:
|
|
15
|
|
Sum after DROP PARTITION:
|
|
12
|
|
*** Partitioned by a (Date, UInt8) tuple ***
|
|
Parts before OPTIMIZE:
|
|
(\'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
|
|
Parts after OPTIMIZE:
|
|
(\'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
|
|
Sum before DETACH PARTITION:
|
|
15
|
|
Sum after DETACH PARTITION:
|
|
9
|
|
*** Partitioned by String ***
|
|
Parts before OPTIMIZE:
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0_2
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0_3
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_1_0_1
|
|
aaa 9b50856126a8a6064f11f027d455bf58_4_4_0_4
|
|
Parts after OPTIMIZE:
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0_2
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0_3
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_4_1_4
|
|
Sum before DROP PARTITION:
|
|
15
|
|
Sum after DROP PARTITION:
|
|
8
|
|
*** Table without columns with fixed size ***
|
|
Parts:
|
|
1 1_1_1_0_1 2
|
|
2 2_2_2_0_2 2
|
|
Before DROP PARTITION:
|
|
a
|
|
aa
|
|
b
|
|
cc
|
|
After DROP PARTITION:
|
|
aa
|
|
cc
|