291 pg_toast_temp schemas? - Mailing list pgsql-bugs

From Josh Berkus
Subject 291 pg_toast_temp schemas?
Date
Msg-id 4F998738.9030303@agliodbs.com
Whole thread Raw
Responses Re: 291 pg_toast_temp schemas?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
summary: database has 291 empty pg_toast_temp schemas.
severity: head-scratcher
version: 9.0.7
platform: RHEL6

description:

* medium-large production database (300GB)
* does data collection and analytics
* lately has been having chronic lock-blocking issues
* does many, daily batch jobs which involve the creation of many temp
tables.

Today, while investigating the lock-blocking issues, I noticed that the
db has pg_toast_temp_1 through 291.   All of these schema are completely
empty:

breakpad=# select schemaname, relname from pg_stat_all_tables where
schemaname LIKE 'pg_toast_temp_%';
 schemaname | relname
------------+---------

... so, apparently we still have an issue with cleaning up pg_toast_temp
schema?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

pgsql-bugs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: BUG #6617: FETCH FIRST syntax accepts only constants and not parameters
Next
From: Tom Lane
Date:
Subject: Re: 291 pg_toast_temp schemas?