-
- files
- DesignConsideration.md
Should be aware of the storage hierarchy
- Database is usually data-intensive
- cache miss is important
Pay attention to the hardware properties
- Sequential access and random access is usually different
- bandwith and IOPS
Design Issues
- choose a proper index
- support variable length data
- for most secondary storage, try avoid random writes
- reduce the write amplication
- group your writes
Optimization On LSM-tree
- optimize write amplication
- optimize read performance
- other optimizations: cache, special workload
2021-2023, dase314 Revision
2e4f5be