ClickHouse/dbms/tests/queries/0_stateless/01073_blockSerializedSize.reference
Azat Khuzhin e89ceae61a Add blockSerializedSize() function (size on disk without compression)
Sometimes it is useful to know how much does this data will take on
disk, with blockSerializedSize() you can know this (although without
compression).

This can be a major knowledge for various aggregation functions that
tracking some state (i.e. uniqCombined).
2020-02-03 11:26:40 +03:00

25 lines
356 B
Plaintext

UInt8 1
Nullable(UInt8) 2
UInt32 4
UInt64 8
Nullable(UInt64) 9
String 4
FixedString(32) 32
Enum8 1
Array 12
uniqCombinedState(100) 402
uniqCombinedState(10000) 81993
uniqCombinedState(100000) 81993
uniqCombinedState(1000000) 81993
uniqCombinedState(10000000) 81993
uniqCombined64State(10000000) 98505
String,UInt8 5
Block(UInt32) 16
Block(UInt32) 16