Optimize the Data Layout
cedardb.com
Optimize the Data Layout
1–8 of 8 posts
Re: Optimize the Data Layout
#2Re: Optimize the Data Layout
#3A similar explanation could be applied to columnar vs row databases.
Re: Optimize the Data Layout
#4A similar explanation could be applied to columnar vs row databases.
Re: Optimize the Data Layout
#5Re: Optimize the Data Layout
#6A similar explanation could be applied to columnar vs row databases.
The idea of comparing column and row storage actually inspired this whole post.
Re: Optimize the Data Layout
#7A similar explanation could be applied to columnar vs row databases.
> The elevator pitch behind this performance difference is > straightforward: column-stores are more I/O efficient for read-only > queries since they only have to read from disk (or from memory) > those attributes accessed by a query.
> This simplistic view leads to the assumption that one can ob- > tain the performance benefits of a column-store using a row-store: > either by vertically partitioning the schema, or by indexing every column so that columns can be accessed independently. In this pa- > per, we demonstrate that this assumption is false.
https://faculty.cc.gatech.edu/~jarulraj/courses/4420-s19/pap...
Re: Optimize the Data Layout
#8Earlier quoted context omitted.
The idea of comparing column and row storage actually inspired this whole post.
Your read performance test is biased towards a struct of arrays, array of structs should outperform when needing random non-contigious look-ups. In the context of fixed-page databases, this is an important distinction since row-based and hybrid storage (PAX) will need to read fewer pages than a pure columnar store.