From: Richard Huxton <dev@archonet.com>
To: Tarhon-Onu Victor <mituc@iasi.rdsnet.ro>
To: pgsql-bugs@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] pgsql inserts problem
Date: Thu, 28 Aug 2003 13:56:49 +0100
Message-ID: <200308281356.49450.dev@archonet.com> (raw)
In-Reply-To: <Pine.LNX.4.55.0308271534120.21841@blackblue.iasi.rdsnet.ro>
References: <Pine.LNX.4.55.0308271534120.21841@blackblue.iasi.rdsnet.ro>
On Wednesday 27 August 2003 13:50, Tarhon-Onu Victor wrote:
>
> shared_buffers = 520
> max_locks_per_transaction = 128
> wal_buffers = 8
> max_fsm_relations = 30000
> max_fsm_pages = 482000
> sort_mem = 131072
> vacuum_mem = 131072
> effective_cache_size = 10000
> random_page_cost = 2
Slightly off-topic, but I think your tuning settings are a bit out. You've got
4MB allocated to shared_buffers but 128MB allocated to sort_mem? And only
80MB to effective_cache_size? Your settings might be right, but you'd need a
very strange set of circumstances.
As for PG silently discarding inserts, your best bet might be to write a short
Perl script to reproduce the problem. Without that, people are likely to be
sceptical - if PG tended to do this sort of thing, none of us would use it.
--
Richard Huxton
Archonet Ltd
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: dev@archonet.com, mituc@iasi.rdsnet.ro, pgsql-bugs@postgresql.org
Subject: Re: [PERFORM] pgsql inserts problem
In-Reply-To: <200308281356.49450.dev@archonet.com>
References: <Pine.LNX.4.55.0308271534120.21841@blackblue.iasi.rdsnet.ro> <200308281356.49450.dev@archonet.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