Re: Impact of checkpoint_segments under continual load conditions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Impact of checkpoint_segments under continual load conditions
Дата
Msg-id 7843.1121796596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Impact of checkpoint_segments under continual load conditions  (Christopher Petrilli <petrilli@gmail.com>)
Ответы Re: Impact of checkpoint_segments under continual load conditions
Список pgsql-performance
Christopher Petrilli <petrilli@gmail.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

В списке pgsql-performance по дате отправления: