Re: Load experimentation - Mailing list pgsql-performance

From Thom Brown
Subject Re: Load experimentation
Date
Msg-id bddc86150912071039o12ce133fwf12e2c2d71a61785@mail.gmail.com
Whole thread Raw
In response to Re: Load experimentation  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Load experimentation  (Ben Brehmer <benbrehmer@gmail.com>)
List pgsql-performance
2009/12/7 Kevin Grittner <Kevin.Grittner@wicourts.gov>
Ben Brehmer <benbrehmer@gmail.com> wrote:

> -7.5 GB memory
> -4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units
>    each)
> -64-bit platform

What OS?

> (PostgreSQL 8.1.3)

Why use such an antiquated, buggy version?  Newer versions are
faster.

-Kevin


I'd agree with trying to use the latest version you can.

How are you loading this data?  I'd make sure you haven't got any indices, primary keys, triggers or constraints on your tables before you begin the initial load, just add them after.  Also use either the COPY command for loading, or prepared transactions.  Individual insert commands will just take way too long.

Regards

Thom

pgsql-performance by date:

Previous
From: Scott Mead
Date:
Subject: Re: Load experimentation
Next
From: Ben Brehmer
Date:
Subject: Re: Load experimentation