|
|
|
|
|
by gvinciguerra
1977 days ago
|
|
Hi @thesz! The experiment you are referring to is done in main memory with an optimised in-memory B+tree implementation. We didn't plot the performance for larger page sizes because in our machine they performed poorly, as you can already see from the configuration with 1024-byte pages. So we're not favouring our approach at all. Note also that next-gen memories have smaller and smaller access granularities. For example, the Intel's Optane DC Persistent Memory accesses blocks of 256 bytes, while the Intel's Optane DC SSD accesses blocks of 4 KB. I guess that data structures with blocks of 16K-256K are disproportionate in these cases. About LSM-trees, nothing prevents you to use a PGM-index (which you can construct during the compaction of levels, thus without scanning data twice) to speed up the search on a long immutable level. Or also, to use a PGM-index on data which is organised into RLE-compressed disk pages ;) |
|
If you think you only need 256 byte pages, average price for 10G hard disk drive is ~$300 [1] and average price for 2G SSD drive is also ~$300 [2].
[1] https://pcpartpicker.com/trends/internal-hard-drive/?__cf_ch...
[2] https://pcpartpicker.com/trends/internal-hard-drive/?__cf_ch...
Five times price/Gb difference. If you need large storage, you need hard disks.
B-trees are good with hard disks, is PGM index good with them too?