Re: db growing out of proportion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Creager <Robert_Creager(at)LogicalChaos(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: db growing out of proportion
Date: 2003-05-31 04:11:26
Message-ID: 17783.1054354286@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-performance

Robert Creager <Robert_Creager(at)LogicalChaos(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Creager 2003-05-31 04:50:02 Re: db growing out of proportion
Previous Message Robert Creager 2003-05-31 03:21:01 Re: db growing out of proportion

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Creager 2003-05-31 04:50:02 Re: db growing out of proportion
Previous Message Robert Creager 2003-05-31 03:28:46 Re: Enabling and Disabling Sequencial Scan