From: | luis(dot)roberto(at)siscobra(dot)com(dot)br |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: DB size |
Date: | 2021-04-27 11:16:08 |
Message-ID: | 2003742718.121826.1619522168979.JavaMail.zimbra@siscobra.com.br |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
----- Mensagem original -----
> De: "Magnus Hagander" <magnus(at)hagander(dot)net>
> Para: "Laurenz Albe" <laurenz(dot)albe(at)cybertec(dot)at>
> Cc: "Alvaro Herrera" <alvherre(at)alvh(dot)no-ip(dot)org>, "luis.roberto" <luis(dot)roberto(at)siscobra(dot)com(dot)br>, "pgsql-general"
> <pgsql-general(at)lists(dot)postgresql(dot)org>
> Enviadas: Terça-feira, 27 de abril de 2021 4:05:42
> Assunto: Re: DB size
> Yeah, you want to use pg_relation_filenode(oid) rather than looking
> directly at relfilenode.
>
> When compared to the filesystem, it's probably even easier to use
> pg_relation_filepath(oid).
>
> --
> Magnus Hagander
> Me: https://www.hagander.net/
> Work: https://www.redpill-linpro.com/
Thanks all!
Looks like pg_orphaned is what I need! I'll use pg_relation_filepath too to double check.
Luis R. Weck
From | Date | Subject | |
---|---|---|---|
Next Message | Turritopsis Dohrnii Teo En Ming | 2021-04-27 13:43:37 | [UPDATE 1] How to Easily Set Up a Full-Featured Linux Mail Server on Ubuntu 18.04.5 LTS with iRedMail 1.4.0 |
Previous Message | Sanjay Minni | 2021-04-27 10:32:49 | Approach to creating users in Database |