pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Postgres <postgres@weblynk.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgreSQL.org>
Subject: Vacuum takes more than 1 hr
Date: Mon, 25 Oct 1999 03:52:18 -0700
Message-ID: <001001bf1ed7$01dc9b20$9befaace@usedcars.com> (raw)
References: <Pine.GSO.3.96.SK.991025130114.21751K-100000@ra>

I have a table with about 30 columns and 200K rows. When I perform a vacuum
on it (no analyze) it takes usually a little more than 1 hour. Since I do it
everyday, for me, this basically means my database, which is now getting
about a million queries a month, is down for an hour every day, since all
selects to that table wait until the vacuum is done. I have smaller tables,
10 columns, 5K rows, which see, to be very quick with vacuum. Any ideas on
how to speed vacuum up?
Thanks,
Rich




Message-ID: <001001bf1ed7$01dc9b20$9befaace@usedcars.com>
Permalink:  ../001001bf1ed7$01dc9b20$9befaace@usedcars.com/
Also on:    postgresql.org/message-id/001001bf1ed7$01dc9b20$9befaace@usedcars.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-interfaces@postgresql.org
  Cc: postgres@weblynk.com, pgsql-sql@postgreSQL.org
  Subject: Re: Vacuum takes more than 1 hr
  In-Reply-To: <001001bf1ed7$01dc9b20$9befaace@usedcars.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