From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Creager <Robert_Creager@LogicalChaos.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: db growing out of proportion
Date: Sat, 31 May 2003 00:11:26 -0400
Message-ID: <17783.1054354286@sss.pgh.pa.us> (raw)
In-Reply-To: <20030530212101.37cef86f.Robert_Creager@LogicalChaos.org>
References: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs>
<8938.1054300299@sss.pgh.pa.us>
<20030530212101.37cef86f.Robert_Creager@LogicalChaos.org>
Robert Creager <Robert_Creager@LogicalChaos.org> writes:
> Thanks for the hint. I just upped my shared_buffers to 8192, fsm_relations to 10000, fsm_pages to 100000, sort_mem to 64000, and an UPDATE which was taking over 2 hours dropped down to 1 to 2 minutes!
Cool ... but it's not immediately obvious which of these changes did the
trick for you. What settings were you at before? And what's the
details of the problem query?
The first three settings you mention all seem like reasonable choices,
but I'd be hesitant to recommend 64M sort_mem for general use (it won't
take very many concurrent sorts to drive you into the ground...). So
I'm interested to narrow down exactly what was the issue here.
regards, tom lane
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: tgl@sss.pgh.pa.us, Robert_Creager@LogicalChaos.org, pgsql-bugs@postgresql.org
Subject: Re: db growing out of proportion
In-Reply-To: <17783.1054354286@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0305301012040.22127-100000@RedDragon.Childs> <8938.1054300299@sss.pgh.pa.us> <20030530212101.37cef86f.Robert_Creager@LogicalChaos.org> <17783.1054354286@sss.pgh.pa.us>
* 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