Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Do you know how to clear the cache inside of a running Postgres instance? All of the articles online say to just restart the db, but that isn’t feasible in some cases I’ve come across, such as when trying to do testing against a remote db spun up to test against more prod like data. Like you said the query perf against a cold cache vs. something that has had a lot of rows loaded into the shared buffed can be quite different!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: