Re: Tamanho das colunas de uma tabela em GB

Sebastian Webber <sebastian-XQ1/twgF21dBDLzU/[email protected]>
Newsgroups gmane.comp.db.postgresql.brasil
Message-ID <CACV2tSw4NVVtfq4dp8LJJ_w+0b-2WRDkrcOj6NGHyqERbY-OFw__12128.1375214041$1507301676$gmane$org@mail.gmail.com>
Em sex, 6 de out de 2017 às 11:17, Franklin Anderson de Oliveira Souza <
[email protected]> escreveu:

> Bom dia a todos !
>
> Eu consigo ver o tamanho de um database e de suas tabelas, mas gostaria de
> saber o tamanho da colunas também. Exemplo: Se tenho uma tabela de 4
> colunas com 10 Gb de tamanho, quantos GB tem cada uma das 4 colunas ?!
>

 Dá uma olhada  na função pg_column_size[1].

[1]
https://www.postgresql.org/docs/current/static/functions-admin.html#functions-admin-dbsize

--
Sebastian Webber

_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.