Re: PostgreSQL Write Performance - Mailing list pgsql-general

From Stephen Cook
Subject Re: PostgreSQL Write Performance
Date
Msg-id 4B443299.5010909@gmail.com
Whole thread Raw
In response to Re: PostgreSQL Write Performance  (Tim Uckun <timuckun@gmail.com>)
List pgsql-general
Tim Uckun wrote:
>
> Is there a command like COPY which will insert the data but skip all
> triggers and optionally integrity checks.
>

I'm curious if it would be worth COPYing the data into dummy tables with
no constraints, and then using INSERT INTO ... SELECT statements to feed
from those tables into the real ones, which would check constraints and
such but as a set.

I've done it that way in SQL Server before, but I'm much less
experienced with PostgreSQL.


-- Stephen Cook

pgsql-general by date:

Previous
From: Yan Cheng Cheok
Date:
Subject: Re: PostgreSQL Write Performance
Next
From: "Dann Corbit"
Date:
Subject: Re: PostgreSQL Write Performance