Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 197679FC0AB for ; Fri, 15 Jun 2007 01:58:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 40499-06 for ; Fri, 15 Jun 2007 01:57:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by postgresql.org (Postfix) with ESMTP id B63F39FC0AA for ; Fri, 15 Jun 2007 01:58:08 -0300 (ADT) Received: from [194.25.154.138] (helo=webserv.wug.de) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1Hz3st2JnB-0006IN; Fri, 15 Jun 2007 06:58:07 +0200 Received: from kretschmer by webserv.wug.de with local (Exim 3.36 #1) id 1Hz3ss-0003mn-00 for pgsql-performance@postgresql.org; Fri, 15 Jun 2007 06:58:06 +0200 Date: Fri, 15 Jun 2007 06:58:06 +0200 From: "A. Kretschmer" To: pgsql-performance@postgresql.org Subject: Re: Database size Message-ID: <20070615045806.GA14492@a-kretschmer.de> References: <1181290934.160823.161630@w5g2000hsg.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1181290934.160823.161630@w5g2000hsg.googlegroups.com> X-OS: Debian/GNU Linux - weil ich es mir Wert bin! X-Message-Flag: "Windows" is not the answer. "Windows" is the question and the answer is "no"! User-Agent: Mutt/1.5.9i X-Provags-ID: V01U2FsdGVkX1+6usirIxMbTQ4r8nDfC0OT0Q13z3Diqqgz6BU 4rikPwLcB3zJWZDQJBDvlaIU0G9ielsIgfPuFjxCH5uwd7vjkg vqGEG0aLgy2PceDJVaYUOS6S6DZh80z X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/274 X-Sequence-Number: 25307 am Fri, dem 08.06.2007, um 1:22:14 -0700 mailte choksi folgendes: > Hi all, > > I had a database which uses to hold some 50 Mill records and disk > space used was 103 GB. I deleted around 34 Mill records but still the > disk size is same. Can some on please shed some light on this. DELETE only mark rows as deleted, if you need the space you need a VACUUM FULL. Read more: http://www.postgresql.org/docs/current/static/sql-vacuum.html Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net