mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
64 lines
1.4 KiB
Plaintext
64 lines
1.4 KiB
Plaintext
*** Not partitioned ***
|
|
Parts before OPTIMIZE:
|
|
tuple() all_0_0_0
|
|
tuple() all_1_1_0
|
|
Parts after OPTIMIZE:
|
|
tuple() all_0_1_1
|
|
Sum before DETACH PARTITION:
|
|
15
|
|
Sum after DETACH PARTITION:
|
|
0
|
|
*** Partitioned by week ***
|
|
Parts before OPTIMIZE:
|
|
1999-12-27 19991227_0_0_0
|
|
2000-01-03 20000103_0_0_0
|
|
2000-01-03 20000103_1_1_0
|
|
Parts after OPTIMIZE:
|
|
1999-12-27 19991227_0_0_0
|
|
2000-01-03 20000103_0_1_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_0_0_0
|
|
(\'2000-01-01\',1) 20000101-1_1_1_0
|
|
(\'2000-01-01\',2) 20000101-2_0_0_0
|
|
(\'2000-01-02\',1) 20000102-1_0_0_0
|
|
(\'2000-01-02\',1) 20000102-1_1_1_0
|
|
Parts after OPTIMIZE:
|
|
(\'2000-01-01\',1) 20000101-1_0_1_1
|
|
(\'2000-01-01\',2) 20000101-2_0_0_0
|
|
(\'2000-01-02\',1) 20000102-1_0_1_1
|
|
Sum before DETACH PARTITION:
|
|
15
|
|
Sum after DETACH PARTITION:
|
|
9
|
|
*** Partitioned by String ***
|
|
Parts before OPTIMIZE:
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_0_0_0
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_1_1_0
|
|
aaa 9b50856126a8a6064f11f027d455bf58_0_0_0
|
|
aaa 9b50856126a8a6064f11f027d455bf58_1_1_0
|
|
Parts after OPTIMIZE:
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_0_0_0
|
|
bbb 7d878f3d88441d2b3dc371e2a3050f6d_1_1_0
|
|
aaa 9b50856126a8a6064f11f027d455bf58_0_1_1
|
|
Sum before DROP PARTITION:
|
|
15
|
|
Sum after DROP PARTITION:
|
|
8
|
|
*** Table without columns with fixed size ***
|
|
Parts:
|
|
1 1_0_0_1 2
|
|
2 2_0_0_0 2
|
|
Before DROP PARTITION:
|
|
a
|
|
aa
|
|
b
|
|
cc
|
|
After DROP PARTITION:
|
|
aa
|
|
cc
|