Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id B226D632A67 for ; Sun, 11 Jul 2010 12:51:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 68171-09 for ; Sun, 11 Jul 2010 15:51:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 5630A632A7E for ; Sun, 11 Jul 2010 12:51:04 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o6BFp1Ja019575; Sun, 11 Jul 2010 11:51:01 -0400 (EDT) To: "Neuber, Dirk" cc: "Guillaume Lelarge" , "Henry, Frank" , pgsql-admin@postgresql.org, "Scott Marlowe" Subject: Re: Large files in main/base In-reply-to: References: <4C38605A.3010101@lelarge.info> <15568.1278773686@sss.pgh.pa.us> Comments: In-reply-to "Neuber, Dirk" message dated "Sun, 11 Jul 2010 14:58:14 +0200" Date: Sun, 11 Jul 2010 11:51:00 -0400 Message-ID: <19574.1278863460@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/44 X-Sequence-Number: 35063 "Neuber, Dirk" writes: > One last question. After using vacuumlo the file size of 16385/2613 is > still the same as before. > It seems the content has been removed but the file itself hasn't been > compacted. > Is there an option or tool which can do this as well ? Yeah, you still need to apply VACUUM FULL to bring the physical file size down. (Ordinary VACUUM mostly just recycles space within the file --- it can truncate the file if the end pages are empty, but it won't move data around to make that possible.) regards, tom lane