| От | Tom Lane |
|---|---|
| Тема | Re: CTEs and temp_buffers? |
| Дата | |
| Msg-id | 248032.1650996195@sss.pgh.pa.us обсуждение |
| Ответ на | CTEs and temp_buffers? (Wells Oliver <wells.oliver@gmail.com>) |
| Ответы |
Re: CTEs and temp_buffers?
|
| Список | pgsql-admin |
Wells Oliver <wells.oliver@gmail.com> writes:
> Out of curiosity, does the value of temp_buffers apply to how CTEs are
> generated under the hood?
No. Intermediate results within a query (whether CTE or not) might
get spilled to disk in a "temporary file", but that's a distinct
mechanism from temp tables, which is what temp_buffers applies to.
Bruce's nearby answer explains how you can control/monitor temp
files, but he didn't actually answer your question ;-)
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера