Skip to content

Comment on Slow database test fallacy

Comments

For local testing on Postgres where you don't care about database reliability, you can also speed things up a lot by setting `fsync = off` and `synchronous_commit = off`.

(Never do that on a production database, of course!)

You can also have postgres running off /dev/shm.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.