Skip site navigation (1) Skip section navigation (2)

291 pg_toast_temp schemas?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 291 pg_toast_temp schemas?
Date: 2012-04-26 17:34:48
Message-ID: 4F998738.9030303@agliodbs.com (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2012-04-26 18:22:01
Subject: Re: 291 pg_toast_temp schemas?
Previous:From: Kevin GrittnerDate: 2012-04-26 16:52:06
Subject: Re: BUG #6617: FETCH FIRST syntax accepts only constants and not parameters

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group