Re: Delete query takes exorbitant amount of time - Mailing list pgsql-performance

From Simon Riggs
Subject Re: Delete query takes exorbitant amount of time
Date
Msg-id 1112050751.11750.924.camel@localhost.localdomain
Whole thread Raw
In response to Re: Delete query takes exorbitant amount of time  (Josh Berkus <josh@agliodbs.com>)
List pgsql-performance
On Fri, 2005-03-25 at 09:38 -0800, Josh Berkus wrote:
> > I guess I was wondering if there is other general tuning advice for such
> > large table indexes such as increasing statistics, etc.
>

> If you're going with the drop/load/recreate option, then I'd suggest
> increasing work_mem for the duration.  Hmmm ... or maintenance_work_mem?
> What gets used for FK checks?  Simon?
>

In 8.0, maintenance_work_mem is used for index creation, vacuum and
initial check of FK checks at time of creation. Everything else uses
work_mem as the limit.

Best Regards, Simon Riggs




pgsql-performance by date:

Previous
From: "Dave Held"
Date:
Subject: JDBC best practice
Next
From: Bruce Momjian
Date:
Subject: Re: which dual-CPU hardware/OS is fastest for PostgreSQL?