Re: Bulk loading/merging - Mailing list pgsql-performance

From Worky Workerson
Subject Re: Bulk loading/merging
Date
Msg-id ce4072df0605261204o7f027120m70b16c2f796cce5b@mail.gmail.com
Whole thread Raw
In response to Bulk loading/merging  ("Worky Workerson" <worky.workerson@gmail.com>)
List pgsql-performance
Another little question ... would using any sort of TEMP table help out, i.e. loading the unaggregated data into a TEMP table, aggregating the data via a SELECT INTO another TEMP table, and then finally INSERT ... SELECT into the master, aggregated, triggered table?  It seems like this might be a win if A) the TEMP tables fit into memory, and B) the load data aggregates well.  Worst case ( i.e. all unique data in the load) seems like it might take much longer, however, since I'm creating 2 new TEMP tables ....

pgsql-performance by date:

Previous
From: "Worky Workerson"
Date:
Subject: Bulk loading/merging
Next
From: Erwin Brandstetter
Date:
Subject: Re: Query performance