Professional Documents
Culture Documents
Hasso Plattner
A Course in
In-Memory Data Management
The Inner Mechanics
of In-Memory Databases
September 4, 2015
33
34 5 A Blueprint of SanssouciDB
5.2 Column-Orientation
Another concept used in SanssouciDB was invented more than two decades
ago, that is, storing data column-wise [CK85] instead of row-wise. In column-
orientation, complete columns are stored in adjacent blocks. This can be con-
trasted with row-oriented storage where complete tuples (rows) are stored in
adjacent blocks. Column-oriented storage, in contrast to row-oriented stor-
age, is well suited for reading consecutive entries from a single column. This
can be useful for aggregation and column scans. More details on column-
orientation and its differences to row-orientation can be found in Chapter 8.
To minimize the amount of data that needs to be transferred between stor-
age and processor, SanssouciDB uses several different data compression
techniques, which will be discussed in Chapter 7.
14.8.2014 Canvas 9
Financials Logistics
Manu-
OLTP & OLAP
facturing Applications
SQL Interface
Stored Procedures Management
Layer
Query Execution Metadata Sessions Transactions
Read-onlyReplicas
Read-only Replicas Main Memory
Storage
Cold Store - 2 Cold Store - 1 Hot Store (Master)
Merge
Dictionaries Dictionaries
Dictionaries
Index
Index
Dictionaries
Aggregate Cache Aggregate Cache Index
Index
History
Aggregate
Cache
Durable
Log Checkpoint
Checkpoints Storage
file:///Users/sykarian/Dropbox/EPIC/Vorlesungen/TuKSS2014/Overview.svg 1/1
36 REFERENCES
5.5 References