pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Karl Denninger <karl@Denninger.Net>
Cc: Ross J. Reedstrom <reedstrm@wallace.ece.rice.edu>
Cc: zoltan.sebestyen@netvisor.hu
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] index file's growing big
Date: Tue, 07 Mar 2000 02:13:56 -0500
Message-ID: <19232.952413236@sss.pgh.pa.us> (raw)
In-Reply-To: <20000306104619.B45015@Denninger.Net>
References: <617185BB0AA2D111872400105AD899AD1490D6@netvisorpdc.intranet.netvisor.hu>
	<20000306102433.B27448@rice.edu>
	<20000306104619.B45015@Denninger.Net>

Karl Denninger <karl@Denninger.Net> writes:
> Further, if the tables are large you want to use "vacuum analyze" to reorder
> the indices in a fashion that makes queries more efficient.

Just a side comment here: VACUUM ANALYZE has nothing whatever to do
with "reordering" indexes.  What it does that a plain VACUUM does
not do is gather statistics about the table contents (minimum, maximum,
and most common value of each column, at present).  These stats are then
used by the optimizer to make better planning choices.  At least we'd
like to think they're better, Lord willin' an' the creek don't rise...

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <19232.952413236@sss.pgh.pa.us>
Permalink:  ../19232.952413236@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19232.952413236@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, karl@Denninger.Net, reedstrm@wallace.ece.rice.edu, zoltan.sebestyen@netvisor.hu
  Subject: Re: [SQL] index file's growing big
  In-Reply-To: <19232.952413236@sss.pgh.pa.us>
  References: <617185BB0AA2D111872400105AD899AD1490D6@netvisorpdc.intranet.netvisor.hu> <20000306102433.B27448@rice.edu> <20000306104619.B45015@Denninger.Net> <19232.952413236@sss.pgh.pa.us>

* 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