pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: When does VACUUM FULL not clean out all deleted data?
Date: Sat, 05 Jan 2008 17:28:27 +0000
Message-ID: <m38x34chc4.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <dcc563d10801040902t15784c38vff8c91e3b9207a9c@mail.gmail.com>
References: <m3lk76du4c.fsf@lugabout.jhcloos.org>
<10656.1199426607@sss.pgh.pa.us>
<m34pdteh7k.fsf@lugabout.jhcloos.org>
<dcc563d10801040902t15784c38vff8c91e3b9207a9c@mail.gmail.com>
>>>>> "Scott" == Scott Marlowe <scott.marlowe@gmail.com> writes:
Scott> Note that routine vacuum FULL is not a good idea actually.
Scott> vacuum full is something you run when things have gone wrong
Scott> (i.e. not enough regular vacuuming) and it is usually best
Scott> followed by reindexing all your indexes.
I see.
Scott> It's far better to keep track of bloat and run vacuum full, if at
Scott> all, by hand, and only when needed. Running it regularly with no
Scott> reindexing often results in index bloat which makes the database
Scott> slower not faster.
That, then, probably explains the extra five gigs. There are quite a
few indices in the app's schema.
Thanks.
-JimC
--
James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
view thread (10+ messages) latest in thread
Message-ID: <m38x34chc4.fsf@lugabout.jhcloos.org> Permalink: ../m38x34chc4.fsf@lugabout.jhcloos.org/ Also on: postgresql.org/message-id/m38x34chc4.fsf@lugabout.jhcloos.org ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-admin@postgresql.org Cc: cloos@jhcloos.com, scott.marlowe@gmail.com, tgl@sss.pgh.pa.us Subject: Re: When does VACUUM FULL not clean out all deleted data? In-Reply-To: <m38x34chc4.fsf@lugabout.jhcloos.org> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox