User Guide > User Guide > Vector Concepts > Storage Structures
Was this helpful?
Storage Structures
A Vector table can be created with one of two storage types:
X100
(Default) Stores data in columns. Puts as few columns as possible in one disk block (in most cases only one).
X100_ROW
Stores data in rows. Puts as many columns as possible in one disk block.
In one block, values are still kept in compressed vectors. Potentially, all columns in a row can be stored in a disk block. This type is useful for small tables, especially those with a large number of columns; it saves disk space and disk cache memory.
The result_structure parameter in config.dat sets the default storage structure for the Vector instance. When a table is created, the default storage structure is assumed.
To override the default, specify SET RESULT_STRUCTURE for the session or use WITH STRUCTURE=vw_structure in the CREATE TABLE statement.
Last modified date: 12/19/2024