Update scehma sql of invy
This commit is contained in:
parent
87b8031125
commit
ff7ab8b7d0
@ -44,6 +44,46 @@ spec:
|
|||||||
key: postgres-database
|
key: postgres-database
|
||||||
- name: PGDATA
|
- name: PGDATA
|
||||||
value: /var/lib/postgresql/data/pgdata
|
value: /var/lib/postgresql/data/pgdata
|
||||||
|
- name: POSTGRES_INITDB_ARGS
|
||||||
|
value: "--encoding=UTF8 --lc-collate=en_US.UTF-8 --lc-ctype=en_US.UTF-8"
|
||||||
|
command:
|
||||||
|
- postgres
|
||||||
|
- -c
|
||||||
|
- max_connections=200
|
||||||
|
- -c
|
||||||
|
- shared_buffers=256MB
|
||||||
|
- -c
|
||||||
|
- effective_cache_size=1GB
|
||||||
|
- -c
|
||||||
|
- maintenance_work_mem=64MB
|
||||||
|
- -c
|
||||||
|
- checkpoint_completion_target=0.9
|
||||||
|
- -c
|
||||||
|
- wal_buffers=16MB
|
||||||
|
- -c
|
||||||
|
- default_statistics_target=100
|
||||||
|
- -c
|
||||||
|
- random_page_cost=1.1
|
||||||
|
- -c
|
||||||
|
- effective_io_concurrency=200
|
||||||
|
- -c
|
||||||
|
- work_mem=2621kB
|
||||||
|
- -c
|
||||||
|
- huge_pages=off
|
||||||
|
- -c
|
||||||
|
- min_wal_size=1GB
|
||||||
|
- -c
|
||||||
|
- max_wal_size=4GB
|
||||||
|
- -c
|
||||||
|
- statement_timeout=30000
|
||||||
|
- -c
|
||||||
|
- idle_in_transaction_session_timeout=60000
|
||||||
|
- -c
|
||||||
|
- tcp_keepalives_idle=60
|
||||||
|
- -c
|
||||||
|
- tcp_keepalives_interval=10
|
||||||
|
- -c
|
||||||
|
- tcp_keepalives_count=10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: postgres-data
|
- name: postgres-data
|
||||||
mountPath: /var/lib/postgresql/data
|
mountPath: /var/lib/postgresql/data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user