Re: Impact of checkpoint_segments under continual load conditions
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Impact of checkpoint_segments under continual load conditions |
| Дата | |
| Msg-id | 7436.1121792725@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:
> As I'm doing this, I'm noticing something *VERY* disturbing to me:
> postmaster backend: 20.3% CPU
> psql frontend: 61.2% CPU
> WTF? The only thing going through the front end is the COPY command,
> and it's sent to the backend to read from a file?
Are you sure the backend is reading directly from the file, and not
through psql? (\copy, or COPY FROM STDIN, would go through psql.)
But even so that seems awfully high, considering how little work psql
has to do compared to the backend. Has anyone ever profiled psql doing
this sort of thing? I know I've spent all my time looking at the
backend ...
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера