Hacker News new | ask | show | jobs
by mhaymo 4047 days ago
Does your RDBMS's built-in caching not handle this pretty well? Just up the cache size, e.g. in PostgreSQL changing effective_cache_size https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Serv...
2 comments

For reads, yes. It's fine on reading data. The problems are writes which always wait for disk consistency to return.
shared_buffers is the setting you're thinking of here.

effective_cache_size should be set to a reasonable value of course, but it does not affect the allocated cache size, it's just used by the query optimizer.