Re: Database / table sizeof

From: Rudi Starcevic <rudi(at)oasis(dot)net(dot)au>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Database / table sizeof
Date: 2002-03-28 06:27:32
Message-ID: 3CA2B7D4.7010803@oasis.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Thanks Christopher,

Been looking so far but no joy.
At worst a can write a script in Perl or PHP to go and select all
records for a particular database, measure them by assigning each row to
a variable in a loop and add them all up.

Once for late at night / early morning.
Cheers
Rudi.

Christopher Kings-Lynne wrote:

>You can probably find something useful here:
>
>http://techdocs.postgresql.org/
>
>Chris
>
>>-----Original Message-----
>>From: pgsql-sql-owner(at)postgresql(dot)org
>>[mailto:pgsql-sql-owner(at)postgresql(dot)org]On Behalf Of Rudi Starcevic
>>Sent: Thursday, 28 March 2002 1:55 PM
>>To: pgsql-sql(at)postgresql(dot)org
>>Subject: [SQL] Database / table sizeof
>>
>>
>> Hi,
>>
>>How can I measure how much hardrive space a user's database is using I
>>wonder ?
>>Someone could have '000's of small row's or perhaps 1 large BLOB.
>>Is there a way I can add up all the row's for a database and end up with
>>Kb's ?
>>
>>Thanks
>>Regards Rudi.
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 2: you can get off all lists at once with the unregister command
>> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mathieu Arnold 2002-03-28 06:58:34 create view problem
Previous Message Christopher Kings-Lynne 2002-03-28 06:06:29 Re: Database / table sizeof