Forum: VoltDB Architecture

Post: Compression

Compression
petrohi
Sep 28, 2010
Does VoltDB do any compression on supported data types? For example BIGINT or INTEGER encoding for smaller values.
re: Compression
tcallaghan
Sep 29, 2010
In VoltDB, integer types consume the amount of memory as declared:
bigint = 8 bytes
integer = 4 bytes
smallint = 2 bytes
tinyint = 1 byte


If you declare a column as bigint and store the value 1, VoltDB will still use 8 bytes of RAM.


-Tim