X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 3E8989FB2DA for ; Tue, 8 Aug 2006 23:54:25 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 82206-02 for ; Tue, 8 Aug 2006 23:54:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 55FB09FB2D8 for ; Tue, 8 Aug 2006 23:54:24 -0300 (ADT) Received: from [192.168.42.113] (natpool.bovine.net [67.100.216.14]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by noel.decibel.org (Postfix) with ESMTP id 8B4845643D; Tue, 8 Aug 2006 21:54:22 -0500 (CDT) In-Reply-To: <20060806234247.10519.qmail@web57210.mail.re3.yahoo.com> References: <20060806234247.10519.qmail@web57210.mail.re3.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-admin@postgresql.org Content-Transfer-Encoding: 7bit From: Jim Nasby Subject: Re: Disk usage in postgresql 8.1.4 Date: Tue, 8 Aug 2006 11:47:51 -0500 To: Geoff Parker X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/99 X-Sequence-Number: 22643 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@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461