mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
*** Not partitioned ***
|
|
Parts before OPTIMIZE:
|
|
tuple() all_1_1_0
|
|
tuple() all_2_2_0
|
|
Parts after OPTIMIZE:
|
|
tuple() all_1_2_1
|
|
Sum before DETACH PARTITION:
|
|
15
|
|
Sum after DETACH PARTITION:
|
|
0
|
|
system.detached_parts after DETACH PARTITION:
|
|
default not_partitioned all all_1_2_1 default 1 2 1
|
|
*** Partitioned by week ***
|
|
Parts before OPTIMIZE:
|
|
1999-12-27 19991227_1_1_0
|
|
2000-01-03 20000103_2_2_0
|
|
2000-01-03 20000103_3_3_0
|
|
Parts after OPTIMIZE:
|
|
1999-12-27 19991227_1_1_0
|
|
2000-01-03 20000103_2_3_1
|
|
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
|
|
(\'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
|
|
Parts after OPTIMIZE:
|
|
(\'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
|
|
Sum before DETACH PARTITION:
|
|
15
|
|
Sum after DETACH PARTITION:
|
|
9
|
|
*** Partitioned by String ***
|
|
Parts before OPTIMIZE:
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_1_0
|
|
aaa 9b50856126a8a6064f11f027d455bf58_4_4_0
|
|
Parts after OPTIMIZE:
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_2_2_0
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_3_3_0
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_4_1
|
|
Sum before DROP PARTITION:
|
|
15
|
|
Sum after DROP PARTITION:
|
|
8
|
|
*** Table without columns with fixed size ***
|
|
Parts:
|
|
1 1_1_1_0 2
|
|
2 2_2_2_0 2
|
|
Before DROP PARTITION:
|
|
a
|
|
aa
|
|
b
|
|
cc
|
|
After DROP PARTITION:
|
|
aa
|
|
cc
|