[KongchangAI]
ConceptColumnar Storage / 列式格式

Columnar Storage

A storage method that organizes data by column rather than by row, with data in the same column stored contiguously. It supports block-level metadata locating, column pruning and predicate pushdown, making it suitable for efficient queries and column-level updates.

Timeline (last 90 days)

Dec 3

The effect of speeding up column updates is strongly related to the underlying storage format: columnar storage is naturally suited to block-level changes, whereas row-oriented storage requires additional index support.

Unverified50%
Dec 3

Each data block in columnar storage usually carries statistics (such as minimum value, maximum value and null count), and block-level metadata can quickly locate the data blocks containing the data to be changed, thereby skipping irrelevant blocks.

Unverified50%
Nov 24

Columnar storage stores values of the same column contiguously, so queries only need to read the relevant columns; since values in the same column share a data type, compression ratios are higher and vectorized execution is more efficient, making it suitable for aggregation and scan-type analytical queries.

Unverified50%
Nov 24

For analytical queries with many columns and narrow scan ranges, the difference between columnar and row-based storage is typically orders of magnitude.

Unverified50%
Oct 18

Columnar storage stores data by column, reads only the bytes needed, compresses similar values together, and supports vectorized operations.

Unverified50%
Oct 14

Traditional transactional systems (OLTP) use row-based storage, fine-grained locking, and ACID transaction guarantees; analytical systems (OLAP) use columnar storage, vectorized execution, and batch scans, and the two are almost diametrically opposed in storage layout, execution engine, and optimizer strategy.

Unverified50%
Oct 14

When writing, columnar storage must place values of different columns into different locations, so the cost of a single-row insert is far higher than in row-based storage, and therefore OLAP systems typically use batch import and background merging (such as LSM-Tree compaction) to amortize write costs.

Unverified50%
Oct 14

Columnar storage stores all values of the same column contiguously, so when a query involves only a few columns the I/O volume may be only a few tenths of that of row-based storage.

Unverified50%
Oct 14

OLAP systems usually adopt columnar storage, accelerating large-scale aggregation queries through vectorized execution and compressed encoding, optimizing read throughput.

Unverified70%
Oct 12

OLAP targets aggregation and scanning of large-scale data, and columnar storage allows OLAP queries to read only the relevant columns, greatly reducing I/O.

Unverified50%

All Facts (10)

Unverified

OLAP systems usually adopt columnar storage, accelerating large-scale aggregation queries through vectorized execution and compressed encoding, optimizing read throughput.

70%
Unverified

The effect of speeding up column updates is strongly related to the underlying storage format: columnar storage is naturally suited to block-level changes, whereas row-oriented storage requires additional index support.

50%
Unverified

Each data block in columnar storage usually carries statistics (such as minimum value, maximum value and null count), and block-level metadata can quickly locate the data blocks containing the data to be changed, thereby skipping irrelevant blocks.

50%
Unverified

Columnar storage stores values of the same column contiguously, so queries only need to read the relevant columns; since values in the same column share a data type, compression ratios are higher and vectorized execution is more efficient, making it suitable for aggregation and scan-type analytical queries.

50%
Unverified

For analytical queries with many columns and narrow scan ranges, the difference between columnar and row-based storage is typically orders of magnitude.

50%
Unverified

Columnar storage stores data by column, reads only the bytes needed, compresses similar values together, and supports vectorized operations.

50%
Unverified

Traditional transactional systems (OLTP) use row-based storage, fine-grained locking, and ACID transaction guarantees; analytical systems (OLAP) use columnar storage, vectorized execution, and batch scans, and the two are almost diametrically opposed in storage layout, execution engine, and optimizer strategy.

50%
Unverified

When writing, columnar storage must place values of different columns into different locations, so the cost of a single-row insert is far higher than in row-based storage, and therefore OLAP systems typically use batch import and background merging (such as LSM-Tree compaction) to amortize write costs.

50%
Unverified

Columnar storage stores all values of the same column contiguously, so when a query involves only a few columns the I/O volume may be only a few tenths of that of row-based storage.

50%
Unverified

OLAP targets aggregation and scanning of large-scale data, and columnar storage allows OLAP queries to read only the relevant columns, greatly reducing I/O.

50%

Source Articles