Re: find objects stored on a specific tablespace

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "Ghiurea, Isabella" <Isabella(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: find objects stored on a specific tablespace
Date: 2018-07-18 17:10:21
Message-ID: CAKFQuwZ0BRuUOULZNt692pp6QpAyEm_Bjdm5g3TZVktzAOJAnA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Jul 18, 2018 at 10:06 AM, Ghiurea, Isabella <
Isabella(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)ca> wrote:

> Hi Gurus
>
> I am looking to drop a user tablespace I need to find and confirm if
> there are any and which tables+indexers still using this
> tablespace, what pg view and statement will give me this information?
>
"pg_class.​​reltablespace" linking to "pg_tablespace"

David J.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alvaro Herrera 2018-07-18 19:58:50 Re: ERROR: unexpected chunk number 452 (expected 0) for toast value 94674063 in pg_toast_56980977
Previous Message Jorge Torralba 2018-07-18 17:09:30 Re: ERROR: unexpected chunk number 452 (expected 0) for toast value 94674063 in pg_toast_56980977