Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
In TsFile, Boolean type data typically takes up 1 byte (i.e. 8 bits) of storage space. This means that regardless of whether the Boolean value is true or false, they will occupy the same amount of space. However, since Boolean type only needs 1 bit to represent true or false, using bits to store Boolean type data can greatly reduce the required storage space.
Using bits instead of bytes to store Boolean type data can greatly reduce the required storage space while improving data storage and transmission efficiency.