Twitter
youtube
Discord
Contact us
Menu
Forums
New posts
Trending
Rules
Explore
Bioenergetic Wiki
Bioenergetic Life Search
Bioprovement Peat Search
Ray Peat Interviews by Danny Roddy
Master List: Ray Peat, PhD Interviews & Quotes by FPS
Traveling Resources
Google Flights
Wiki Voyage
DeepL Translator
Niche
Numbeo
Merch
Log in
Register
What's new
Search
Search
Search engine:
Threadloom Search
XenForo Search
Search titles only
By:
New posts
Trending
Menu
Log in
Register
Navigation
More options
Light/Dark Mode
Contact us
Close Menu
Forums
Information
World News
Ask HN: Books on designing disk-optimized data structures?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Hacker News" data-source="post: 69956" data-attributes="member: 365"><p>Are there canonical books, resources, or readings for how to design data structures that will be primarily read and written to a <em>disk</em> rather than memory? Most of what I learned in school about big-O assumes that, for example, random access is O(1). However, random disk reads are really slow due to spacial locality.</p><p>People who write databases obviously have solutions to this problem - for example, DuckDB is based on a number of papers that have come out over the years on this topic.</p><p>If I wanted to design, ie, a tree structure which was intended to be read/written from a disk, are there general principles or patterns the have been developed to take advantage of locality of reference, minimize random reads, or decrease the overhead of writes, that I could familiarize myself with?</p><p>What is the CLRS for disk?</p><p></p><hr /><p></p><p>Comments URL: <a href="https://news.ycombinator.com/item?id=32965075" target="_blank">https://news.ycombinator.com/item?id=32965075</a></p><p></p><p>Points: 8</p><p></p><p># Comments: 5</p><p></p><p><a href="https://news.ycombinator.com/item?id=32965075" target="_blank">Continue reading...</a></p></blockquote><p></p>
[QUOTE="Hacker News, post: 69956, member: 365"] Are there canonical books, resources, or readings for how to design data structures that will be primarily read and written to a [I]disk[/I] rather than memory? Most of what I learned in school about big-O assumes that, for example, random access is O(1). However, random disk reads are really slow due to spacial locality. People who write databases obviously have solutions to this problem - for example, DuckDB is based on a number of papers that have come out over the years on this topic. If I wanted to design, ie, a tree structure which was intended to be read/written from a disk, are there general principles or patterns the have been developed to take advantage of locality of reference, minimize random reads, or decrease the overhead of writes, that I could familiarize myself with? What is the CLRS for disk? [HR][/HR] Comments URL: [URL]https://news.ycombinator.com/item?id=32965075[/URL] Points: 8 # Comments: 5 [url="https://news.ycombinator.com/item?id=32965075"]Continue reading...[/url] [/QUOTE]
Loading…
Insert quotes…
Verification
Post reply
Forums
Information
World News
Ask HN: Books on designing disk-optimized data structures?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top