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.

Prewarming PostgreSQL I/O caches

60 pointsby suresh70over 5 years ago

2 comments

legulereover 5 years ago
If you think about it, it’s a bit tragic that the APIs operating systems offer for memory mapped files are not enough for databases. The operating system already has all the caching logic in place and can do so more efficiently with hardware support.<p>If you have data that rarely changes you can actually create an ad-hoc database system based on that and have performance like an in memory database without having to worry much about the memory of the system.
评论 #21297492 未加载
mobilemidgetover 5 years ago
Sounds interesting, I miss a benchmark to go with the article in my opinion.<p>&quot;pg_prewarm makes most sense if your database and your RAM are really really large (XXX GB or more)&quot;<p>A benchmark preferably with databases of sizes that make sense.
评论 #21298623 未加载