Re: COPY Performance - Mailing list pgsql-general

From Scott Marlowe
Subject Re: COPY Performance
Date
Msg-id dcc563d10805050803u357083aagac8eef0d70f6dfc8@mail.gmail.com
Whole thread Raw
In response to COPY Performance  ("Hans Zaunere" <lists@zaunere.com>)
Responses Re: COPY Performance  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
On Sun, May 4, 2008 at 5:11 PM, Hans Zaunere <lists@zaunere.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?

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: COPY Performance
Next
From: Lee Feigenbaum
Date:
Subject: bytea and character encoding when inserting escaped literals