Escolar Documentos
Profissional Documentos
Cultura Documentos
L1 cache - Primary & within core. SRAM - Fastest. L1 cache | ~ 1ns | 64k
L2 cache Intermediate & within core. DRAM - Slower. L2 cache | ~ 5ns | 256k
L3 Cache Shared across all cores. DRAM - Slowest. L3 cache | ~ 20ns | 8M
Main Memory | ~ 100ns | TBs
Hard Disk | > 1.000.000ns | TBs
Use of column store will help to prevent table scan of unnecessary columns while
performing searching and aggregation operations on single column values stored in
contiguous memory locations. Such an oper-ation has high spatial locality and can
efficiently be executed in the CPU cache. With row-oriented storage, the same
operation would be much slower because data of the same column is distributed
across memory and the CPU is slowed down by cache misses. Column store is
optimized for high performance of read operation and efficient data compression.
This combination of both classical and innovative technologies of data storage and
access allows the developer to choose the best technology for their application and,
where necessary, use both in parallel.
OLTP and OLAP Database:
HANA is a hybrid database, having both read optimized column store ideally suited
for OLAP and write optimized row store best for OLTP systems relational engines.
Both the stores are In-Memory. Using column stores in OLTP applications requires
a balanced approach to insertion and indexing of column data to minimize cache
misses. The SAP HANA database allows the developer to specify whether a table