Re: Huge number of pg_temp and pg_toast_temp schemas

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Huge number of pg_temp and pg_toast_temp schemas
Date: 2020-04-10 18:06:43
Message-ID: 276C10EF1CEA4FF48A08418C222F7C61@dell2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Attachment Content-Type Size
image/png 35.8 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-04-10 18:30:53 Re: Huge number of pg_temp and pg_toast_temp schemas
Previous Message Tom Lane 2020-04-10 17:27:45 Re: Huge number of pg_temp and pg_toast_temp schemas