Re: Impact of checkpoint_segments under continual load conditions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Petrilli <petrilli(at)gmail(dot)com>
Cc: PFC <lists(at)boutiquenumerique(dot)com>, Vivek Khera <vivek(at)khera(dot)org>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Impact of checkpoint_segments under continual load conditions
Date: 2005-07-19 18:09:56
Message-ID: 7843.1121796596@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Christopher Petrilli <petrilli(at)gmail(dot)com> writes:
>> Are you sure the backend is reading directly from the file, and not
>> through psql? (\copy, or COPY FROM STDIN, would go through psql.)

> The exact command is:
> COPY test (columnlist...) FROM '/tmp/loadfile';

I tried to replicate this by putting a ton of COPY commands like that
into a file and doing "psql -f file ...". I don't see more than about
0.3% CPU going to psql. So there's something funny about your test
conditions. How *exactly* are you invoking psql?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Huxton 2005-07-19 18:10:20 Re: Looking for tips
Previous Message Robert Creager 2005-07-19 18:09:51 Re: Huge performance problem between 7.4.1 and 8.0.3 - CS issue?