Re: COPY Performance

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Hans Zaunere" <lists(at)zaunere(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COPY Performance
Date: 2008-05-05 15:03:15
Message-ID: dcc563d10805050803u357083aagac8eef0d70f6dfc8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, May 4, 2008 at 5:11 PM, Hans Zaunere <lists(at)zaunere(dot)com> wrote:
> Hello,
>
> We're using a statement like this to dump between 500K and >5 million rows.
>
> COPY(SELECT SomeID FROM SomeTable WHERE SomeColumn > '0')
> TO '/dev/shm/SomeFile.csv'

Wait, are you really creating a .csv file in shared memory? Can such
a thing even work?

If you're not creating a file in /dev/shm, where is it being built?
On the main OS drive? the battery backed cached RAID array?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lee Feigenbaum 2008-05-05 15:07:12 bytea and character encoding when inserting escaped literals
Previous Message Scott Marlowe 2008-05-05 15:01:21 Re: COPY Performance