Re: [GENERAL] Performance issue with cross table updates

2012-09-11 Thread Jeff Janes
On Mon, Sep 10, 2012 at 9:34 AM, Craig Gibson wrote: > Hi all > > I am no database wizard so I am hoping someone may be able to assist me :) > > I get a daily CSV file of 6.5 million records. I create a temporary > table and COPY them in. On completion I create an index on the mdnid > column. This

Re: [GENERAL] Performance issue with cross table updates

2012-09-10 Thread Tom Lane
Craig Gibson writes: > I get a daily CSV file of 6.5 million records. I create a temporary > table and COPY them in. On completion I create an index on the mdnid > column. This column is also indexed in table 2. This part is very > fast. I had some 'checkpoint too often' issues, but that I have >

Re: [GENERAL] Performance issue with cross table updates

2012-09-10 Thread David Johnston
> -Original Message- > From: pgsql-general-ow...@postgresql.org [mailto:pgsql-general- > ow...@postgresql.org] On Behalf Of Craig Gibson > Sent: Monday, September 10, 2012 12:34 PM > To: pgsql-general@postgresql.org > Subject: [GENERAL] Performance issue with cross tab

[GENERAL] Performance issue with cross table updates

2012-09-10 Thread Craig Gibson
Hi all I am no database wizard so I am hoping someone may be able to assist me :) I get a daily CSV file of 6.5 million records. I create a temporary table and COPY them in. On completion I create an index on the mdnid column. This column is also indexed in table 2. This part is very fast. I had