注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
Reading Designing-Data-Intensive-Applications-Reliable-Maintainable recently, and would like to share my notes of Chapter 2 here. Book: https://www.amazon.com/Designing ... nable/dp/1449373321
Previous reviews:
- https://www.1point3acres.com/bbs/thread-628377-1-1.html
- https://www.1point3acres.com/bbs/thread-628851-1-1.html
I like how it explains use case of data warehouse in this chapter
LSM-trees are typically able to sustain higher write throughput than Btrees, partly because they sometimes have lower write amplification
LSM-trees can be compressed better, and thus often produce smaller file s on disk than B-trees. B-tree storage engines leave some disk space unused due to fragmenta‐ tion: when a page is split or when a row cannot fit into an existing page, some space in a page remains unused. Since LSM-trees are not page-oriented and periodically rewrite SSTables to remove fragmentation, they have lower storage overheads, especially when using leveled compaction
A big advantage of using a separate data warehouse, rather than querying OLTP sys‐tems directly for analytics, is that the data warehouse can be optimized for analytic access patterns.
|