Search Postgresql Archives

Re: reltoastidxid altenates in postgresql 9.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 5, 2015 at 2:02 AM, Yelai, Ramkumar IN BLR STS
<ramkumar.yelai@xxxxxxxxxxx> wrote:
> Hi All,
>
> I am using the following code to know how much disk space could be saved
> after deleting certain tables (as a parameter to this function )
>
> CREATE OR REPLACE FUNCTION Get_Tables_Recovery_Size(  IN tableNames text[] )

Why not just use the built-in pg_total_relation_size?

Josh


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux