X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 618559DC85B for ; Thu, 23 Mar 2006 23:24:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94899-05 for ; Thu, 23 Mar 2006 23:24:16 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 4C90F9DC803 for ; Thu, 23 Mar 2006 23:24:10 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k2O3OCMt021267; Thu, 23 Mar 2006 22:24:12 -0500 (EST) To: "Gregory Maxwell" cc: pgsql-admin@postgresql.org Subject: Re: Bloated pg_shdepend_depender_index In-reply-to: References: <20060324023105.GB11242@surnet.cl> Comments: In-reply-to "Gregory Maxwell" message dated "Thu, 23 Mar 2006 22:11:40 -0500" Date: Thu, 23 Mar 2006 22:24:12 -0500 Message-ID: <21266.1143170652@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.114 required=5 tests=[AWL=0.114] X-Spam-Score: 0.114 X-Spam-Level: X-Archive-Number: 200603/227 X-Sequence-Number: 20984 "Gregory Maxwell" writes: > When I vacuum fulled nothing else was connected.. I just restarted PG > and vacuumed again.. no obvious change of disk size (still.. 6.4 > gigs).. but this changed: > amarokcollection=# select relname, pg_relation_size(oid) FROM > pg_class ORDER BY 2 DESC LIMIT 20; > relname | pg_relation_size > ---------------------------------+------------------ > pg_attribute_relid_attnam_index | 2881069056 > pg_class_relname_nsp_index | 1185890304 That's in a different database --- evidently, the one where a *whole* lotta temp tables have been created and dropped. If you haven't been doing any vacuuming then system catalog bloat is to be expected. regards, tom lane