Improve PostgreSQL container performance
This commit is contained in:
parent
16a9967813
commit
dd8a201bdc
|
@ -190,7 +190,8 @@ postgresql_14() {
|
||||||
|
|
||||||
postgresql_15() {
|
postgresql_15() {
|
||||||
$CONTAINER_CLI rm -f postgres || true
|
$CONTAINER_CLI rm -f postgres || true
|
||||||
$CONTAINER_CLI run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d docker.io/postgis/postgis:15-3.3
|
$CONTAINER_CLI run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 --tmpfs /pgtmpfs:size=131072k -d docker.io/postgis/postgis:15-3.3 \
|
||||||
|
-c fsync=off -c synchronous_commit=off -c full_page_writes=off -c shared_buffers=256MB -c maintenance_work_mem=256MB -c max_wal_size=1GB -c checkpoint_timeout=1d
|
||||||
}
|
}
|
||||||
|
|
||||||
edb() {
|
edb() {
|
||||||
|
|
Loading…
Reference in New Issue