BUG #13672: What is the purpose of the temp_buffers setting?

Поиск
Список
Период
Сортировка
От jkoceniak@mediamath.com
Тема BUG #13672: What is the purpose of the temp_buffers setting?
Дата
Msg-id 20151009234654.328.91105@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13672: What is the purpose of the temp_buffers setting?  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13672
Logged by:          Jamie K
Email address:      jkoceniak@mediamath.com
PostgreSQL version: 9.1.14
Operating system:   Debian GNU/Linux 7 (wheezy)
Description:

I set temp_buffers to a high value (8GB). My understanding was that
temporary tables stay in memory if they do not go over temp_buffers limit.

However, I noticed that any temporary tables that I create are written to
disk. (i.e. I see t181_869525834 filenames in the data directory)

Also, I don't see any query performance improvements when querying temporary
tables using a higher temp_buffers value.

What is the purpose of this setting and what performance improvements would
you expect to see by adjusting the temp_buffers value?

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: BUG #13667: SSI violation...
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: PQexec() hangs on OOM