From: David Modica <davidmo@imaginesoftware.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: inserts take longer and longer
Date: Tue, 20 Nov 2018 15:55:34 +0000
Message-ID: <9a645d6c8749483c90f5f109889ea8ce@imaginesoftware.com> (raw)
hi all.
I hope this is the correct way to get help from the list.
we are postgres 10.4 :
# DB Version: 10
# OS Type: linux
# DB Type: mixed
# Total Memory (RAM): 60 GB
# CPUs num: 22
# Connections num: 100
# Data Storage: san
we have a developer who is doing
batch inserts 20 at a time and each subsequent batch is taking
longer to the point where it is a critical problem. I recently changed
the out of the box config to see if that would help but it hasn’t:
max_connections = 100
shared_buffers = 15GB
effective_cache_size = 45GB
maintenance_work_mem = 2GB
checkpoint_completion_target = 0.9
wal_buffers = 16MB
default_statistics_target = 100
random_page_cost = 1.1
effective_io_concurrency = 300
work_mem = 7149kB
min_wal_size = 1GB
max_wal_size = 2GB
max_worker_processes = 22
max_parallel_workers_per_gather = 11
max_parallel_workers = 22
any direction as to what to look at would be appreciated.
david
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: davidmo@imaginesoftware.com
Subject: Re: inserts take longer and longer
In-Reply-To: <9a645d6c8749483c90f5f109889ea8ce@imaginesoftware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox