pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Rafael Domiciano <rafael.domiciano@gmail.com>
Cc: Rafael Martinez <r.m.guerrero@usit.uio.no>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Vacuum Problems
Date: Wed, 26 Nov 2008 08:40:41 -0700
Message-ID: <dcc563d10811260740m69f8969bt36be6ae675620dcb@mail.gmail.com> (raw)
In-Reply-To: <3a0028490811260700w6e8d9d86o24effbe0bea2bddb@mail.gmail.com>
References: <3a0028490811260543x74d02719w775a457999cfc74@mail.gmail.com>
	<492D5C87.5090505@usit.uio.no>
	<3a0028490811260700w6e8d9d86o24effbe0bea2bddb@mail.gmail.com>

2008/11/26 Rafael Domiciano <rafael.domiciano@gmail.com>:
> The database has around 40 Gb.
> If I not use vacuum full everyday the database get very slow.
>
> There is no deadlock on the database.

You didn't mention  if you were using autovacuum or not.  You also
didn't mention whether or not you'd tried regular vacuums if for some
reason you can't use autovacuum.  Vacuum full is very intrusive and
can cause index bloat.  It's more of a repair operation than a routine
maintenance one.

What do the last 10 or so lines of vacuum verbose run as a super user say?



view thread (23+ messages)  latest in thread

Message-ID: <dcc563d10811260740m69f8969bt36be6ae675620dcb@mail.gmail.com>
Permalink:  ../dcc563d10811260740m69f8969bt36be6ae675620dcb@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d10811260740m69f8969bt36be6ae675620dcb@mail.gmail.com

 · 

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: scott.marlowe@gmail.com, rafael.domiciano@gmail.com, r.m.guerrero@usit.uio.no
  Subject: Re: Vacuum Problems
  In-Reply-To: <dcc563d10811260740m69f8969bt36be6ae675620dcb@mail.gmail.com>

* 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