[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 117/189: some db config
From: |
gnunet |
Subject: |
[taler-grid5k] 117/189: some db config |
Date: |
Thu, 28 Apr 2022 10:48:07 +0200 |
This is an automated email from the git hooks/post-receive script.
marco-boss pushed a commit to branch master
in repository grid5k.
commit b1d534265a3f84c39e359d5ff810b07c4c10d710
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Thu Mar 31 09:00:33 2022 +0200
some db config
---
experiment/scripts/database.sh | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/experiment/scripts/database.sh b/experiment/scripts/database.sh
index 114f0f3..70a61b3 100755
--- a/experiment/scripts/database.sh
+++ b/experiment/scripts/database.sh
@@ -78,7 +78,11 @@ function setup_config() {
log_destination=syslog
syslog_ident='taler-database'
+
log_error_verbosity=terse
+ # log_min_messages=PANIC
+ # log_min_error_statement=PANIC
+ # client_min_messages=ERROR
# For pgbadger
# log_checkpoints=on
@@ -120,7 +124,7 @@ function setup_config() {
autovacuum_vacuum_cost_limit=400
autovacuum_vacuum_scale_factor=0.1
autovacuum_vacuum_threshold=1000
-
+
# Default 50, 0.1
autovacuum_analyze_threshold=50
autovacuum_analyze_scale_factor=0.1
@@ -139,6 +143,7 @@ function setup_config() {
checkpoint_completion_target=0.9
checkpoint_timeout = 15min
+ checkpoint_flush_after = 2MB
random_page_cost=1.1
# Default 2kB
@@ -146,7 +151,7 @@ function setup_config() {
# Default 0
#
https://www.cybertec-postgresql.com/en/the-mysterious-backend_flush_after-configuration-setting/
- # backend_flush_after = 0
+ backend_flush_after = 2MB
# Too much results in CPU load
#
https://www.postgresql.org/docs/13/runtime-config-resource.html#GUC-EFFECTIVE-IO-CONCURRENCY
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 62/189: fix lookahead sign, (continued)
- [taler-grid5k] 62/189: fix lookahead sign, gnunet, 2022/04/28
- [taler-grid5k] 84/189: cleaner exchange setup, gnunet, 2022/04/28
- [taler-grid5k] 118/189: add sharding logic, gnunet, 2022/04/28
- [taler-grid5k] 105/189: work towards parsing logs, gnunet, 2022/04/28
- [taler-grid5k] 79/189: add histograms, gnunet, 2022/04/28
- [taler-grid5k] 108/189: update explain.py - multiline params not working yet - needs some style improvements, gnunet, 2022/04/28
- [taler-grid5k] 99/189: add explain analyzer, gnunet, 2022/04/28
- [taler-grid5k] 88/189: fix build, gnunet, 2022/04/28
- [taler-grid5k] 95/189: fix, gnunet, 2022/04/28
- [taler-grid5k] 109/189: update promtail message size, gnunet, 2022/04/28
- [taler-grid5k] 117/189: some db config,
gnunet <=
- [taler-grid5k] 64/189: fix, gnunet, 2022/04/28
- [taler-grid5k] 96/189: fixes, add lookahead sign as param, gnunet, 2022/04/28
- [taler-grid5k] 70/189: fix, gnunet, 2022/04/28
- [taler-grid5k] 120/189: update postgres exporter to work when there is no merchant, update grafana dashboards, gnunet, 2022/04/28
- [taler-grid5k] 74/189: reduce amount of logging wallets, gnunet, 2022/04/28
- [taler-grid5k] 93/189: possibility to create multiple instances, gnunet, 2022/04/28
- [taler-grid5k] 92/189: configure merchant instance, gnunet, 2022/04/28
- [taler-grid5k] 97/189: fix, gnunet, 2022/04/28
- [taler-grid5k] 114/189: test with sharding, gnunet, 2022/04/28
- [taler-grid5k] 111/189: explain analyze now working with correct postgres config, gnunet, 2022/04/28