pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Huge number of pg_temp and pg_toast_temp schemas
Date: Fri, 10 Apr 2020 21:06:43 +0300
Message-ID: <276C10EF1CEA4FF48A08418C222F7C61@dell2> (raw)
In-Reply-To: <8353.1586539665@sss.pgh.pa.us>
References: <6F99845517EB402E9269BD6767CCE53C@dell2>
	<8353.1586539665@sss.pgh.pa.us>

Hi!

Thank you.

>This is an unsurprising state, if you routinely have a hundred-plus
>connections that sometimes create temp tables.  Each such session
>needs schemas to keep its temp tables in.  The temp tables are
>deleted at session exit, but we don't bother to remove the schema
>entries, figuring that they'll probably be needed again later, and
>a couple of rows in pg_namespace is negligible overhead anyway.

How to hide temp schemas from pgAdmin 4 tree?
For such large number of temporary schemas  pgAdmin schema tree view becomes polluted and makes database management difficult.
I turned most of Nodes options in PgAdmin options off but pgadmin still shows them. It shows also pg_toast schema.

Andrus.

Attachments:

skeem.PNG (image/png, 35.8K) download view image

view thread (4+ messages)  latest in thread

Message-ID: <276C10EF1CEA4FF48A08418C222F7C61@dell2>
Permalink:  ../276C10EF1CEA4FF48A08418C222F7C61@dell2/
Also on:    postgresql.org/message-id/276C10EF1CEA4FF48A08418C222F7C61@dell2

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: kobruleht2@hot.ee, tgl@sss.pgh.pa.us
  Subject: Re: Huge number of pg_temp and pg_toast_temp schemas
  In-Reply-To: <276C10EF1CEA4FF48A08418C222F7C61@dell2>

* 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