Skip to content
About
Main content
Model

What columnar storage buys a scan

These effects multiply with the projection benefit. They do not add to it.

Columns
columns in the table
Columns read
columns the query touches
Compression ratio
the compression ratio
Access unit
the storage access unit in bytes
Value width
mean value width in bytes

Trade-off: Read-optimized vs. write-optimized

How it behaves

One input on the horizontal axis, the others held fixed.

projection only (c = 1)with compression c = 4
Data table
Bytes a scan avoids, by columns read (n = 25 columns)
Columns read kseriesReduction against a row store
1projection only (c = 1)25×
1.3projection only (c = 1)19.2×
1.6projection only (c = 1)15.6×
1.9projection only (c = 1)13.2×
2.2projection only (c = 1)11.4×
2.5projection only (c = 1)10×
2.8projection only (c = 1)8.93×
3.1projection only (c = 1)8.06×
3.4projection only (c = 1)7.35×
3.7projection only (c = 1)6.76×
4projection only (c = 1)6.25×
4.3projection only (c = 1)5.81×
4.6projection only (c = 1)5.43×
4.9projection only (c = 1)5.1×
5.2projection only (c = 1)4.81×
5.5projection only (c = 1)4.55×
5.8projection only (c = 1)4.31×
6.1projection only (c = 1)4.1×
6.4projection only (c = 1)3.91×
6.7projection only (c = 1)3.73×
7projection only (c = 1)3.57×
7.3projection only (c = 1)3.42×
7.6projection only (c = 1)3.29×
7.9projection only (c = 1)3.16×
8.2projection only (c = 1)3.05×
8.5projection only (c = 1)2.94×
8.8projection only (c = 1)2.84×
9.1projection only (c = 1)2.75×
9.4projection only (c = 1)2.66×
9.7projection only (c = 1)2.58×
10projection only (c = 1)2.5×
10.3projection only (c = 1)2.43×
10.6projection only (c = 1)2.36×
10.9projection only (c = 1)2.29×
11.2projection only (c = 1)2.23×
11.5projection only (c = 1)2.17×
11.8projection only (c = 1)2.12×
12.1projection only (c = 1)2.07×
12.4projection only (c = 1)2.02×
12.7projection only (c = 1)1.97×
13projection only (c = 1)1.92×
13.3projection only (c = 1)1.88×
13.6projection only (c = 1)1.84×
13.9projection only (c = 1)1.8×
14.2projection only (c = 1)1.76×
14.5projection only (c = 1)1.72×
14.8projection only (c = 1)1.69×
15.1projection only (c = 1)1.66×
15.4projection only (c = 1)1.62×
15.7projection only (c = 1)1.59×
16projection only (c = 1)1.56×
16.3projection only (c = 1)1.53×
16.6projection only (c = 1)1.51×
16.9projection only (c = 1)1.48×
17.2projection only (c = 1)1.45×
17.5projection only (c = 1)1.43×
17.8projection only (c = 1)1.4×
18.1projection only (c = 1)1.38×
18.4projection only (c = 1)1.36×
18.7projection only (c = 1)1.34×
19projection only (c = 1)1.32×
19.3projection only (c = 1)1.3×
19.6projection only (c = 1)1.28×
19.9projection only (c = 1)1.26×
20.2projection only (c = 1)1.24×
20.5projection only (c = 1)1.22×
20.8projection only (c = 1)1.2×
21.1projection only (c = 1)1.18×
21.4projection only (c = 1)1.17×
21.7projection only (c = 1)1.15×
22projection only (c = 1)1.14×
22.3projection only (c = 1)1.12×
22.6projection only (c = 1)1.11×
22.9projection only (c = 1)1.09×
23.2projection only (c = 1)1.08×
23.5projection only (c = 1)1.06×
23.8projection only (c = 1)1.05×
24.1projection only (c = 1)1.04×
24.4projection only (c = 1)1.02×
24.7projection only (c = 1)1.01×
25projection only (c = 1)1×
1with compression c = 4100×
1.3with compression c = 476.9×
1.6with compression c = 462.5×
1.9with compression c = 452.6×
2.2with compression c = 445.5×
2.5with compression c = 440×
2.8with compression c = 435.7×
3.1with compression c = 432.3×
3.4with compression c = 429.4×
3.7with compression c = 427×
4with compression c = 425×
4.3with compression c = 423.3×
4.6with compression c = 421.7×
4.9with compression c = 420.4×
5.2with compression c = 419.2×
5.5with compression c = 418.2×
5.8with compression c = 417.2×
6.1with compression c = 416.4×
6.4with compression c = 415.6×
6.7with compression c = 414.9×
7with compression c = 414.3×
7.3with compression c = 413.7×
7.6with compression c = 413.2×
7.9with compression c = 412.7×
8.2with compression c = 412.2×
8.5with compression c = 411.8×
8.8with compression c = 411.4×
9.1with compression c = 411×
9.4with compression c = 410.6×
9.7with compression c = 410.3×
10with compression c = 410×
10.3with compression c = 49.71×
10.6with compression c = 49.43×
10.9with compression c = 49.17×
11.2with compression c = 48.93×
11.5with compression c = 48.7×
11.8with compression c = 48.47×
12.1with compression c = 48.26×
12.4with compression c = 48.06×
12.7with compression c = 47.87×
13with compression c = 47.69×
13.3with compression c = 47.52×
13.6with compression c = 47.35×
13.9with compression c = 47.19×
14.2with compression c = 47.04×
14.5with compression c = 46.9×
14.8with compression c = 46.76×
15.1with compression c = 46.62×
15.4with compression c = 46.49×
15.7with compression c = 46.37×
16with compression c = 46.25×
16.3with compression c = 46.13×
16.6with compression c = 46.02×
16.9with compression c = 45.92×
17.2with compression c = 45.81×
17.5with compression c = 45.71×
17.8with compression c = 45.62×
18.1with compression c = 45.52×
18.4with compression c = 45.43×
18.7with compression c = 45.35×
19with compression c = 45.26×
19.3with compression c = 45.18×
19.6with compression c = 45.1×
19.9with compression c = 45.03×
20.2with compression c = 44.95×
20.5with compression c = 44.88×
20.8with compression c = 44.81×
21.1with compression c = 44.74×
21.4with compression c = 44.67×
21.7with compression c = 44.61×
22with compression c = 44.55×
22.3with compression c = 44.48×
22.6with compression c = 44.42×
22.9with compression c = 44.37×
23.2with compression c = 44.31×
23.5with compression c = 44.26×
23.8with compression c = 44.2×
24.1with compression c = 44.15×
24.4with compression c = 44.1×
24.7with compression c = 44.05×
25with compression c = 44×

Worked examples, recomputed

Every number the mechanisms quote for this relationship is recomputed from it, so none of them disagrees with it.

Where it appears

Each mechanism states it in its own names. The general symbol each name stands for is shown with it.