Re: DB size - Mailing list pgsql-general

From luis.roberto@siscobra.com.br
Subject Re: DB size
Date
Msg-id 2003742718.121826.1619522168979.JavaMail.zimbra@siscobra.com.br
Whole thread Raw
In response to Re: DB size  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general
----- Mensagem original -----
> De: "Magnus Hagander" <magnus@hagander.net>
> Para: "Laurenz Albe" <laurenz.albe@cybertec.at>
> Cc: "Alvaro Herrera" <alvherre@alvh.no-ip.org>, "luis.roberto" <luis.roberto@siscobra.com.br>, "pgsql-general"
> <pgsql-general@lists.postgresql.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



pgsql-general by date:

Previous
From: Sanjay Minni
Date:
Subject: Approach to creating users in Database
Next
From: Turritopsis Dohrnii Teo En Ming
Date:
Subject: [UPDATE 1] How to Easily Set Up a Full-Featured Linux Mail Server on Ubuntu 18.04.5 LTS with iRedMail 1.4.0