Search Postgresql Archives

Re: PostgreSQL Write Performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux