Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first |
| Дата | |
| Msg-id | 4899.1178300956@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first (Jim Nasby <decibel@decibel.org>) |
| Ответы |
Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first
Re: [COMMITTERS] pgsql: Teach tuplesort.c about "top N" sorting, in which only the first |
| Список | pgsql-hackers |
Jim Nasby <decibel@decibel.org> writes:
> On a related note, it would also be *really* nice if we kept stats on
> how many sorts or hashes had spilled to disk, perhaps along with how
> much had spilled. Right now the only way to monitor that in a
> production system is to setup a cron job to watch pgsql_tmp, which is
> far from elegant.
No, you can turn on trace_sort and track it from watching the log.
If pgfouine hasn't got something for that already, I'd be surprised.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера