[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-grid5k] 43/189: again without analyze
From: |
gnunet |
Subject: |
[taler-grid5k] 43/189: again without analyze |
Date: |
Thu, 28 Apr 2022 10:46:53 +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 8505973091c35edde85a32a1003e83d55105d7da
Author: Boss Marco <bossm8@bfh.ch>
AuthorDate: Thu Mar 3 17:33:43 2022 +0100
again without analyze
---
configs/etc/monitor/postgres-exporter.yaml | 5 +----
experiment/scripts/database.sh | 8 ++++----
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/configs/etc/monitor/postgres-exporter.yaml
b/configs/etc/monitor/postgres-exporter.yaml
index fc98cf8..dc992d1 100644
--- a/configs/etc/monitor/postgres-exporter.yaml
+++ b/configs/etc/monitor/postgres-exporter.yaml
@@ -159,7 +159,7 @@ pg_database:
description: "Disk space used by the database"
pg_stat_statements:
- query: "SELECT t2.rolname, t3.datname, substring(query from 1 for 265) as
query, queryid, calls, total_exec_time / 1000 as total_time_seconds,
min_exec_time / 1000 as min_time_seconds, max_exec_time / 1000 as
max_time_seconds, mean_exec_time / 1000 as mean_time_seconds, stddev_exec_time
/ 1000 as stddev_time_seconds, rows, shared_blks_hit, shared_blks_read,
shared_blks_dirtied, shared_blks_written, local_blks_hit, local_blks_read,
local_blks_dirtied, local_blks_written, temp_blks_read, [...]
+ query: "SELECT t2.rolname, t3.datname, substring(query from 1 for 265) as
query, calls, total_exec_time / 1000 as total_time_seconds, min_exec_time /
1000 as min_time_seconds, max_exec_time / 1000 as max_time_seconds,
mean_exec_time / 1000 as mean_time_seconds, stddev_exec_time / 1000 as
stddev_time_seconds, rows, shared_blks_hit, shared_blks_read,
shared_blks_dirtied, shared_blks_written, local_blks_hit, local_blks_read,
local_blks_dirtied, local_blks_written, temp_blks_read, temp_blk [...]
master: true
metrics:
- rolname:
@@ -171,9 +171,6 @@ pg_stat_statements:
- query:
usage: "LABEL"
description: "Query"
- - queryid:
- usage: "LABEL"
- description: "Query ID"
- calls:
usage: "COUNTER"
description: "Number of times executed"
diff --git a/experiment/scripts/database.sh b/experiment/scripts/database.sh
index 0fb70f5..81b47f9 100755
--- a/experiment/scripts/database.sh
+++ b/experiment/scripts/database.sh
@@ -14,7 +14,7 @@ source ~/scripts/helpers.sh
cd /tmp
function setup_disks() {
- if [ -c /dev/disk1 ]; then
+ if [ -b /dev/disk1 ]; then
echo 'start=2048, type=83' | sfdisk /dev/disk1 || true
yes | mkfs.ext4 -m 0 /dev/disk1 || true
mkdir /mnt/disk || true
@@ -82,9 +82,9 @@ function setup_config() {
# (NOTE: on partitions!)
# ALTER TABLE known_coins_default
# SET (autovacuum_vacuum_scale_factor = 0.0, autovacuum_vacuum_threshold =
1000);
- log_autovacuum_min_duration=0
- autovacuum_vacuum_scale_factor=0
- autovacuum_vacuum_threshold=1000
+ #log_autovacuum_min_duration=0
+ #autovacuum_vacuum_scale_factor=0
+ #autovacuum_vacuum_threshold=1000
# use 25% of the available memory
# (https://www.postgresql.org/docs/13/runtime-config-resource.html)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-grid5k] 181/189: centos database working, (continued)
- [taler-grid5k] 181/189: centos database working, gnunet, 2022/04/28
- [taler-grid5k] 140/189: move loki data to nfs directly as lost in copy, gnunet, 2022/04/28
- [taler-grid5k] 126/189: try further with promtail metrics, gnunet, 2022/04/28
- [taler-grid5k] 27/189: include shards in monitoring, gnunet, 2022/04/28
- [taler-grid5k] 24/189: fix missing with tar, gnunet, 2022/04/28
- [taler-grid5k] 42/189: hopefully better logging of slow queries with pg_stat_statements, gnunet, 2022/04/28
- [taler-grid5k] 39/189: test do not partition wire_targets, gnunet, 2022/04/28
- [taler-grid5k] 14/189: aggregation tracking cant be sharded, gnunet, 2022/04/28
- [taler-grid5k] 30/189: log nested statements to hopefully get function debug output, gnunet, 2022/04/28
- [taler-grid5k] 16/189: re-enable sharding of aggregation tracking tables, gnunet, 2022/04/28
- [taler-grid5k] 43/189: again without analyze,
gnunet <=
- [taler-grid5k] 47/189: add monitor to dahu because of link speed, gnunet, 2022/04/28
- [taler-grid5k] 20/189: fix typos, gnunet, 2022/04/28
- [taler-grid5k] 38/189: test, gnunet, 2022/04/28
- [taler-grid5k] 106/189: viualizer can parse log lines / formatted output, gnunet, 2022/04/28
- [taler-grid5k] 21/189: generic wire-fee year, fix empty shards when partitioned only, gnunet, 2022/04/28
- [taler-grid5k] 90/189: add doc, gnunet, 2022/04/28
- [taler-grid5k] 77/189: test custom metrics, gnunet, 2022/04/28
- [taler-grid5k] 116/189: fix verbose output, gnunet, 2022/04/28
- [taler-grid5k] 124/189: enable admin api for prometheus in order to test snapshots, gnunet, 2022/04/28
- [taler-grid5k] 75/189: also separate wallet from the main syslog receiver, gnunet, 2022/04/28