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 C5FEB9FB26F for ; Sun, 6 Aug 2006 22:29:42 -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 57497-06 for ; Sun, 6 Aug 2006 22:29:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 70DE09FB1F1 for ; Sun, 6 Aug 2006 22:29:37 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.7/8.13.7) with ESMTP id k771TWpm007280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 6 Aug 2006 19:29:34 -0600 (MDT) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.6/8.13.6) with ESMTP id k771TVGr031504; Sun, 6 Aug 2006 19:29:31 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.6/8.13.6/Submit) id k771TVHE031503; Sun, 6 Aug 2006 19:29:31 -0600 (MDT) (envelope-from mfuhr) Date: Sun, 6 Aug 2006 19:29:31 -0600 From: Michael Fuhr To: Geoff Parker Cc: pgsql-admin@postgresql.org Subject: Re: Disk usage in postgresql 8.1.4 Message-ID: <20060807012931.GA31473@winnie.fuhr.org> References: <20060806234247.10519.qmail@web57210.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060806234247.10519.qmail@web57210.mail.re3.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.276 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/61 X-Sequence-Number: 22605 On Sun, Aug 06, 2006 at 04:42:47PM -0700, Geoff Parker wrote: > 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? Large objects are stored in pg_largeobject as chunks of bytea data, which can be compressed. -- Michael Fuhr