Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (27 sloc) 661 Bytes

Column Store

Row

row store

1 2 3 4
       

Column

1         2       3        4
+----+  +----+  +----+   +-----+
|    |  |    |  |    |   |     |
+----+  +----+  +----|   +-----+
|    |  |    |  |    |   |     |
|    |  |    |  |    |   |     |
|    |  |    |  |    |   |     |
|    |  |    |  |    |   |     |
|    |  |    |  |    |   |     |
|    |  |    |  |    |   |     |
|    |  |    |  |    |   |     |
+----+  +----+  +----+   +-----+

利用 CPU 缓存

vid value index