pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: CHRIS HOOVER <CHRIS.HOOVER@companiongroup.com>
To: wbohl@deepdata.com
To: pgsql-admin@postgresql.org
Subject: Re: Stopping vacuum
Date: Tue, 29 Jun 2004 13:30:00 -0400
Message-ID: <NX236d63-62f13f0a@companiongroup.com> (raw)

It is safe to kill the vacuum (but not a favored thing to do).  I have done it
many times when the vacuums have run to long and have started to affect my
online production performance.  Be sure to just do a kill, as a kill -9 will
cause the db to reset all connections to it.

Since you have not vacuumed this db in so long, I would probably suggest
vacuuming it table by table so you can have a finer level of control over the
vacuum.

HTH,

Chris
------------------( Forwarded letter 1 follows )---------------------
Date: Tue, 29 Jun 2004 11:09:29 -0600
To: .ADMIN.[pgsql-admin]@postgresql.org.comp
From: Werner.Bohl[wbohl]@deepdata.com.comp
Sender: pgsql-admin-owner+m14031@postgresql.org.comp
Reply-To: wbohl@deepdata.com.comp
Subject: [ADMIN] Stopping vacuum

Hi,

We have a very big db that was not vacuumed for a long time. We started
vacuum 3 days ago and it has not finished yet. There are some urgent
processes that have to be run against the db.

Is it safe to kill vacuum? It was started with 'vacuum full analyze'
Is there anyway to speed it up at next start?


TIA,

--
Werner Bohl <wbohl@deepdata.com>
Infutor de Costa Rica


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



view thread (5+ messages)  latest in thread

Message-ID: <NX236d63-62f13f0a@companiongroup.com>
Permalink:  ../NX236d63-62f13f0a@companiongroup.com/
Also on:    postgresql.org/message-id/NX236d63-62f13f0a@companiongroup.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: CHRIS.HOOVER@companiongroup.com, wbohl@deepdata.com
  Subject: Re: Stopping vacuum
  In-Reply-To: <NX236d63-62f13f0a@companiongroup.com>
  References: <NX236d63-62f13f0a@companiongroup.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