Re: CTEs and temp_buffers?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CTEs and temp_buffers?
Дата
Msg-id 254725.1650999836@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CTEs and temp_buffers?  (MichaelDBA <MichaelDBA@sqlexec.com>)
Список pgsql-admin
MichaelDBA <MichaelDBA@sqlexec.com> writes:
> Hi Tom,
> Of course, you're right! I got sidetracked thinking about temp_buffers 
> with respect to temporary tables and not CTEs where work_mem stuff would 
> apply.  But back to the temp_buffers thing.  Can you acknowledge that my 
> thinking is right about that?  That temporary table buffers if exceeding 
> temp_buffers gets logged to the *<datadir>/base/pgsql_tmp* area and is 
> not logged in the logs at all?   My testing seems to confirm that.

No.  Temp tables go into the same directories as regular tables.
The files have funny names though, following the format "tN_OID"
rather than just "OID".

            regards, tom lane



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

Предыдущее
От: MichaelDBA
Дата:
Сообщение: Re: CTEs and temp_buffers?
Следующее
От: Nikhil Shetty
Дата:
Сообщение: Postgres Stale Statistics