Re: Most effective settings for deleting lots of data?

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Most effective settings for deleting lots of data?
Date: 2015-08-26 20:34:04
Message-ID: 1488873.eIP0AJ7vHH@skynet.simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday, August 26, 2015 08:25:02 PM Cory Tucker wrote:
> What settings would you recommend? Also, it just occurred to me that I
> should try to disable/drop all indexes (especially since they will be
> recreated) later so that those are not updated in the process.

Don't drop the indexes your foreign keys use to find cascading deletes.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2015-08-26 21:06:18 Re: Most effective settings for deleting lots of data?
Previous Message Cory Tucker 2015-08-26 20:25:02 Most effective settings for deleting lots of data?