pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-bugs@postgresql.org
Subject: 291 pg_toast_temp schemas?
Date: Thu, 26 Apr 2012 10:34:48 -0700
Message-ID: <4F998738.9030303@agliodbs.com> (raw)

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



view thread (7+ messages)  latest in thread

Message-ID: <4F998738.9030303@agliodbs.com>
Permalink:  ../4F998738.9030303@agliodbs.com/
Also on:    postgresql.org/message-id/4F998738.9030303@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: 291 pg_toast_temp schemas?
  In-Reply-To: <4F998738.9030303@agliodbs.com>
  References: <4F998738.9030303@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox