Re: Disk usage in postgresql 8.1.4

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Geoff Parker <geoffparkernews(at)yahoo(dot)ca>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Disk usage in postgresql 8.1.4
Date: 2006-08-08 16:47:51
Message-ID: E212E391-99E0-40C2-BCD2-DD6AE8402047@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Aug 6, 2006, at 6:42 PM, Geoff Parker wrote:
> Hi,
> I've got a database with about 155GB of binary data, however when I
> run the unix utility df, it reports only 60GB of disk space is
> being used. I've extracted random samples of data from the
> database, and it all appears correct, so I presume it's not
> corrupt. Can anyone tell me whether there's some sort of disk
> compression happening with large objects?
>
> Has anyone else seen this behaviour?
>
> # df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/mapper/VolGroup01-ATV_PGSQL
> 480678616 59285468 396976076 13% /var/lib/pgsql
>
> This is Postresql version 8.1.4 on a slightly modified version of
> RHEL 4 (2.6.17 kernel).

You sure you're not using tablespaces?
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jim Nasby 2006-08-08 16:48:13 Re: Getting rid of postgres output
Previous Message Jim Nasby 2006-08-08 16:47:32 Re: pg_dump problem