Hacker News new | ask | show | jobs
by allan_s 195 days ago
for CI you can already use postgresql with "eat-my-data" library ? I don't know if there's more official image , but in my company we're using https://github.com/allan-simon/postgres-eatmydata
1 comments

You can just set fsync=off if you don't want to flush to disk and are ok with corruption in case of a OS/hw level crash.
Huh, i always just mounted the data directory as tmpfs/ramdisk. Worked nicely too