Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 883FE2E0048 for ; Tue, 15 Apr 2008 04:33:23 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 71323-04 for ; Tue, 15 Apr 2008 04:33:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from cptwks26.careerjunction.local (unknown [196.212.105.173]) by developer.postgresql.org (Postfix) with ESMTP id 47EF72E002E for ; Tue, 15 Apr 2008 04:33:15 -0300 (ADT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by cptwks26.careerjunction.local (Postfix) with ESMTP id 69161B7B9F for ; Tue, 15 Apr 2008 09:33:07 +0200 (SAST) Message-ID: <48045A32.3010607@careerjunction.co.za> Date: Tue, 15 Apr 2008 09:33:06 +0200 From: Adrian Moisey User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: db size References: <4802F9E4.3000704@careerjunction.co.za> <48032237.4040604@careerjunction.co.za> <4803276C.2090901@careerjunction.co.za> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/188 X-Sequence-Number: 29681 Hi >>> Now, is the bloat in the tables (which tables ?) or in the >>> indexes (which indexes ?), or in the toast tables perhaps, or in the >>> system catalogs or all of the above ? Or perhaps there is a >>> long-forgotten process that got zombified while holding a huge temp >>> table ? (not very likely, but who knows). >>> Use pg_relation_size() and its friends to get an idea of the size >>> of stuff. Can anybody give me some advice on the above? I'm not sure where to start looking or how to start looking -- Adrian Moisey Systems Administrator | CareerJunction | Your Future Starts Here. Web: www.careerjunction.co.za | Email: adrian@careerjunction.co.za Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842