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: (view raw or whole thread)
Lists: pgsql-bugs
summary: database has 291 empty pg_toast_temp schemas.
severity: head-scratcher
version: 9.0.7
platform: RHEL6


* 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

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

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

Josh Berkus
PostgreSQL Experts Inc.


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-2015 The PostgreSQL Global Development Group