postgresql tuned for performance against all safety rules, to make fast CI test, NOT FOR PRODUCTION
120
This a docker image based in the official Postgres 9.4 docker image tweaked for database testing.
It basically configure things like turning off write ahead log (fsync=off) to make it faster. Notice that this can make the database more likely to be in an inconsistent state, if the case of a server crash. This is not a problem for database testing as we are more concerned with fast feedback and not about loosing data.
This is an alternative to H2, in memory SQLite and HyperSQL. You should consider this as it runs a real PostgreSQL server, that would be very close on what you have in production.
Check the file config.sh for all the configurations.
References:
shared_bufferswork_memContent type
Image
Digest
Size
99.4 MB
Last updated
over 8 years ago
docker pull allansimon/docker-postgres-for-testing:patch-1