Re: Efficient Way to Merge Two Large Tables - Mailing list pgsql-general

From Daniel Verite
Subject Re: Efficient Way to Merge Two Large Tables
Date
Msg-id 8084cdb2-6e87-408c-b48e-3ffb0ca82022@mm
Whole thread Raw
In response to Re: Efficient Way to Merge Two Large Tables  (Joshua Rubin <jrubin@esoft.com>)
List pgsql-general
    Joshua Rubin wrote:

> I need to figure out why this is slow, and if there is any faster way.

Have you considered INSERTing into a third table that would replace both
source tables when it's over? The target table would initially have no index.

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

pgsql-general by date:

Previous
From: "Sean E. Connolly"
Date:
Subject: NASA needs Postgres - Nagios help
Next
From: Thomas Kellerer
Date:
Subject: Re: pg_dump and --inserts / --column-inserts