From: | adey <adey11(at)gmail(dot)com> |
---|---|
To: | "Scott Marlowe" <smarlowe(at)g2switchworks(dot)com> |
Cc: | "Joel Stevenson" <joelstevenson(at)mac(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: vacuumdb exclude tables option? |
Date: | 2006-08-10 04:01:47 |
Message-ID: | 1c66bda80608092101m272dc6d3pd0145d4fd640cc3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Does autovacuum replace the need for a FULL vacuum please (to recover free
space, etc)?
On 8/10/06, Scott Marlowe <smarlowe(at)g2switchworks(dot)com> wrote:
>
> On Wed, 2006-08-09 at 13:24, Joel Stevenson wrote:
> > Hi,
> >
> > I have a database that includes both highly transactional tables and
> > archive tables - OLTP and OLAP mixed together. Some of the archival
> > tables, which only experience inserts and reads, not updates or
> > deletes, contain many millions of rows and so they take a *long* time
> > to vacuum. Is there currently any means to exclude only these tables
> > from vacuumdb operations other than explicitly vacuuming all the
> > other tables and explicity skipping the archival tables?
> >
> > If not, are there any plans to add a command line switch to vacuumdb
> > to exclude tables from it's operation, ala 'vacuumdb -d mytest -x
> > archive_tab1 -x archive_tab2 -x archive_tab3'? I searched the list
> > archives but didn't see anything about being able to do this.
> > Something like this would save many hours of useless vacuuming in
> > this particular setup.
>
> Does autovacuum fail you in this quest? I've found it's pretty good
> about leaving along tables that don't need vacuuming. It's usually the
> other way around that people have problems with, autovacuum NOT
> vacuuming tables that need vacuuming often enough.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
From | Date | Subject | |
---|---|---|---|
Next Message | David Leangen | 2006-08-10 04:12:41 | Programmatically changing passwords |
Previous Message | Bruce Momjian | 2006-08-10 02:53:58 | Re: How to specify alternative locations for |