pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
To: Karl Denninger <karl@Denninger.Net>
Cc: zoltan.sebestyen@netvisor.hu
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] index file's growing big
Date: Mon, 6 Mar 2000 12:02:22 -0600
Message-ID: <20000306120222.A28212@rice.edu> (raw)
In-Reply-To: <20000306104619.B45015@Denninger.Net>
References: <617185BB0AA2D111872400105AD899AD1490D6@netvisorpdc.intranet.netvisor.hu>
	<20000306102433.B27448@rice.edu>
	<20000306104619.B45015@Denninger.Net>

On Mon, Mar 06, 2000 at 10:46:19AM -0600, Karl Denninger wrote:
> Uh, why not just "vacuum" the table?
> 
> You want to do this periodically anyway, as Postgres does not re-use TABLE
> entries either, and the table file itself will grow without bound if you
> don't do this once in a while.
> 
> Further, if the tables are large you want to use "vacuum analyze" to reorder
> the indices in a fashion that makes queries more efficient.
> 

Well, with a recent version, that will help keep the index from growing as
fast, but it will still grow. That's the point of my garbled description.

However, if Zoltan is _not_ vacuuming regularly, that's a problem as well.
If he wasn't, though, I'd have expected him to complain about the size
of the table file, not the index file.

Ross

-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005



view thread (8+ messages)  latest in thread

Message-ID: <20000306120222.A28212@rice.edu>
Permalink:  ../20000306120222.A28212@rice.edu/
Also on:    postgresql.org/message-id/20000306120222.A28212@rice.edu

 · 

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-sql@postgresql.org
  Cc: reedstrm@wallace.ece.rice.edu, karl@Denninger.Net, zoltan.sebestyen@netvisor.hu
  Subject: Re: [SQL] index file's growing big
  In-Reply-To: <20000306120222.A28212@rice.edu>
  References: <617185BB0AA2D111872400105AD899AD1490D6@netvisorpdc.intranet.netvisor.hu> <20000306102433.B27448@rice.edu> <20000306104619.B45015@Denninger.Net> <20000306120222.A28212@rice.edu>

* 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