Re: Savepoints in transactions for speed? - Mailing list pgsql-performance

From Richard Huxton
Subject Re: Savepoints in transactions for speed?
Date
Msg-id 50B54424.5010400@archonet.com
Whole thread Raw
In response to Savepoints in transactions for speed?  (Mike Blackwell <mike.blackwell@rrd.com>)
List pgsql-performance
On 27/11/12 22:04, Mike Blackwell wrote:
> I need to delete about 1.5 million records from a table and reload it
> in one transaction.

> The data to reload the table is coming from a Perl DBI connection to a
> different database (not PostgreSQL) so I'm not sure the COPY
> alternative applies here.
No reason why it shouldn't.

https://metacpan.org/module/DBD::Pg#COPY-support

--
   Richard Huxton
   Archonet Ltd


pgsql-performance by date:

Previous
From: Mike Blackwell
Date:
Subject: Savepoints in transactions for speed?
Next
From: Scott Marlowe
Date:
Subject: Re: How to keep queries low latency as concurrency increases