Re: Best COPY Performance

From: "Luke Lonergan" <llonergan(at)greenplum(dot)com>
To: "Worky Workerson" <worky(dot)workerson(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Best COPY Performance
Date: 2006-10-31 20:16:24
Message-ID: C16CEF18.58CF%llonergan@greenplum.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Worky (!),

On 10/31/06 12:11 PM, "Worky Workerson" <worky(dot)workerson(at)gmail(dot)com> wrote:

> Any recommendations on what to
> look at to find a fix? One thing which I never mentioned was that I
> am using ext3 mounted with noatime,data=writeback.

You can try setting the max readahead like this:
/sbin/blockdev --setra 16384 /dev/sd[a-z]

It will set the max readahead to 16MB for whatever devices are in
/dev/sd[a-z] for the booted machine. You'd need to put the line(s) in
/etc/rc.d/rc.local to have the setting persist on reboot.

- Luke

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Worky Workerson 2006-10-31 20:22:11 Re: Best COPY Performance
Previous Message Worky Workerson 2006-10-31 20:11:00 Re: Best COPY Performance