Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 6B1E72E0032 for ; Wed, 11 Jun 2008 04:55:26 -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 23523-01 for ; Wed, 11 Jun 2008 04:55:09 -0300 (ADT) X-Greylist: delayed 00:11:57.126202 by SQLgrey-1.7.6 Received: from mailsrv1.zmi.at (mailsrv1.zmi.at [212.69.162.198]) by developer.postgresql.org (Postfix) with ESMTP id C4BBD2E0040 for ; Wed, 11 Jun 2008 04:55:07 -0300 (ADT) Received: from mailsrv.i.zmi.at (h081217054243.dyn.cm.kabsi.at [81.217.54.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailsrv.i.zmi.at", Issuer "mailsrv.i.zmi.at" (not verified)) by mailsrv1.zmi.at (Postfix) with ESMTP id 4956AE20 for ; Wed, 11 Jun 2008 09:55:02 +0200 (CEST) Received: from saturn.i.zmi.at (saturn.i.zmi.at [10.0.0.2]) by mailsrv.i.zmi.at (Postfix) with ESMTP id 1E146124EB for ; Wed, 11 Jun 2008 09:55:00 +0200 (CEST) From: Michael Monnerie Organization: it-management http://it-management.at To: pgsql-admin@postgresql.org Subject: Re: Disk Space issue Date: Wed, 11 Jun 2008 09:54:58 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: <84D57263D486374587DA0820E60A2CC601E72AFF@srit_mail.renaissance-it.com> <4242E42288B6E842A52B88D4B3A3E620E069CA69@AUSMELMBX01.ad.infosys.com> In-Reply-To: <4242E42288B6E842A52B88D4B3A3E620E069CA69@AUSMELMBX01.ad.infosys.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2223884.jXlGJtiAGF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200806110954.59191@zmi.at> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200806/101 X-Sequence-Number: 29439 --nextPart2223884.jXlGJtiAGF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Mittwoch, 11. Juni 2008 Devendra Singh Rawat wrote: > And in less than 8 hours it has bloated to additional 3.7GB (the disk > size now is 7.2GB). > > There are quite a few DML operations which are happening on my DB. > > SELECT relname, relpages FROM pg_class ORDER BY relpages DESC; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0relname =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| relpages > -------------------------------------------------------------+------- >--- < =A0 table1 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= | =A0 180676 And after VACUUM FULL, is it small again? Maybe you need to run it 2-3=20 times a day, for your specific workload. mfg zmi =2D-=20 // Michael Monnerie, Ing.BSc ----- http://it-management.at // Tel: 0660 / 415 65 31 .network.your.ideas. // PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import" // Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4 // Keyserver: www.keyserver.net Key-ID: 1C1209B4 --nextPart2223884.jXlGJtiAGF Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQBIT4TTzhSR9xwSCbQRAqhPAJwJPzf7mfBHvVghUpwDSgW+9GEvFQCg1k3l oohQIVcLWn0wrf9ZuZTZads= =Hg7X -----END PGP SIGNATURE----- --nextPart2223884.jXlGJtiAGF--