Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id A570E2E0074 for ; Wed, 11 Jun 2008 11:04:16 -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 16563-07 for ; Wed, 11 Jun 2008 11:04:07 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by developer.postgresql.org (Postfix) with ESMTP id E5B8B2E005A for ; Wed, 11 Jun 2008 11:04:12 -0300 (ADT) Received: by wa-out-1112.google.com with SMTP id n4so2531316wag.5 for ; Wed, 11 Jun 2008 07:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=x2qnDb8weY6JumOmDNX50oqvq1FDN5CU6sqf0rDmBWE=; b=C6082UgQWqsRrU3gEMQWB49iiOAWWnCZp4A2YzExiF/43SYRToUDbrhQz3HyMlcudI KX0qhCCiLQ8gLwFX04gwiWp+9Xdok1/LKds8nEF4Z5t54y4/zNorsRhHZos7icPjf5mJ 9bb7AFE98kTVbWG0HcCxQQ/fBArQQMLKhcB+s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=CMw8GdWR2sJCgag3BpQeyRUV6eAlzx4K6HOMGXzaYbN0pw9BUNVMOV+yFnTXozYthn BBZ7ptyi46NqXTpba14hXXyEjpHfNzw1bNVz5YVAAZktSj/tmNtfqARb3YFaCJ4NJh6Y gSxHCsopU2DuINqUWAy+ZcRvyH/Xf2+oL0xxI= Received: by 10.114.12.9 with SMTP id 9mr6583099wal.121.1213193051330; Wed, 11 Jun 2008 07:04:11 -0700 (PDT) Received: by 10.114.130.17 with HTTP; Wed, 11 Jun 2008 07:04:11 -0700 (PDT) Message-ID: Date: Wed, 11 Jun 2008 08:04:11 -0600 From: "Scott Marlowe" To: "Devendra Singh Rawat" Subject: Re: Disk Space issue Cc: "Praveen Kumar (TUV)" , "tgl@sss.pgh.pa.us" , "Joshua D. Drake" , "pgsql-admin@postgresql.org" In-Reply-To: <4242E42288B6E842A52B88D4B3A3E620E069CA69@AUSMELMBX01.ad.infosys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <84D57263D486374587DA0820E60A2CC601E72AFF@srit_mail.renaissance-it.com> <4242E42288B6E842A52B88D4B3A3E620E069CA69@AUSMELMBX01.ad.infosys.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/98 X-Sequence-Number: 29436 On Wed, Jun 11, 2008 at 1:42 AM, Devendra Singh Rawat wrote: > Hi All, > > I recreated my database this morning with a dump size of 3GB, which after database creation occupied 3.5GB on disk. > 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. Note that 7.4 was pretty poor at recovering space from the catalogs and the associated indexes. It could be that you would need to shut down each night and vacuum full the catalogs in single user mode to recover the space. But it's been a while since I ran something older than 8.1 or so, so it might have been an even older version that had those issues.