TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

RadixSpline: A Single-Pass Learned Index (2020) [video]

26 pointsby lichtenbergerabout 3 years ago

2 comments

theszabout 3 years ago
Merge operation over different levels of log structured merge trees allows one to build hierarchical index. My work used uniform splitting of indices, e.g., each 1024 samples at some level we add one sample at level above, but it is quite possible to have different splitting criteria. One such example criteria would be &quot;how good is linear approximation of data&quot; and another can be &quot;how long is common prefix of the keys stored&quot;.<p>This &quot;single pass learned index&quot; is essential feature of log structured merge trees, basically, you can (ab)use it for your fun and profit.<p>What is more, this approach is not confined to &quot;short integers&quot; - one can use it for keys of any size.<p>And, finally, LSM trees provide you with the solution of insertion problem authors of video mentioned - just write your new data next to old data and merge them when time has come. Even when you do not write anything new, you can merge two data levels into one when you found you perform merging on reading too much.
servytorabout 3 years ago
Here is the pdf[0].<p>[0]: <a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;pdf&#x2F;10.1145&#x2F;3401071.3401659" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;pdf&#x2F;10.1145&#x2F;3401071.3401659</a>