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

From: jkoceniak(at)mediamath(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #13672: What is the purpose of the temp_buffers setting?
Date: 2015-10-09 23:46:54
Message-ID: 20151009234654.328.91105@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 13672
Logged by: Jamie K
Email address: jkoceniak(at)mediamath(dot)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?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2015-10-10 02:16:51 Re: Re: [BUGS] BUG #13611: test_postmaster_connection failed (Windows, listen_addresses = '0.0.0.0' or '::')
Previous Message Kevin Grittner 2015-10-09 21:48:56 Re: BUG #13667: SSI violation...