pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Steven M. Wheeler <swheeler@sabre.com>
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] Questions about vacuum analyze
Date: Mon, 11 Oct 1999 14:55:32 -0400 (EDT)
Message-ID: <199910111855.OAA27707@candle.pha.pa.us> (raw)
In-Reply-To: <8559.939667518@sss.pgh.pa.us>

> Bruce Momjian <maillist@candle.pha.pa.us> writes:
> > Wonder how our create index does it.  Seems it is must be similar.
> 
> CREATE INDEX (for btrees) is very similar, and really ought to share
> code.  Someone apparently didn't want to figure out how to generalize
> psort.c to handle index tuples, though.  The CREATE INDEX code is a
> little better for large amounts of data but a lot worse for small
> amounts --- AFAICT it doesn't take any shortcuts, even when everything
> fits in memory.  (I'm sure you've noticed that CREATE INDEX hits the
> disk pretty hard even when the source table is empty :-(.)
> 
> I'm planning to merge the two sets of code and keep the best features of
> both.  I already have some first-draft code that allows them to work
> with >2gig data sets.

Great.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (23+ messages)  latest in thread

Message-ID: <199910111855.OAA27707@candle.pha.pa.us>
Permalink:  ../199910111855.OAA27707@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199910111855.OAA27707@candle.pha.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: maillist@candle.pha.pa.us, tgl@sss.pgh.pa.us, swheeler@sabre.com, pgsql-sql@hub.org
  Subject: Re: [SQL] Questions about vacuum analyze
  In-Reply-To: <199910111855.OAA27707@candle.pha.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