pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ow <oneway_111@yahoo.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: pg 7.4.rc1, Range query performance
Date: Tue, 11 Nov 2003 03:46:39 -0800 (PST)
Message-ID: <20031111114639.15081.qmail@web21402.mail.yahoo.com> (raw)
In-Reply-To: <200311110513.hAB5D3325077@candle.pha.pa.us>


--- Bruce Momjian <pgman@candle.pha.pa.us> wrote:
> Tom Lane wrote:
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > Sorry there isn't a simple solution.
> > 
> > But there is: make an index with the column order (b,c,a).
> 
> Oh, yea, right.  If he puts the columns he is doing a straight equals
> comparison first, the 'a' comparison will work fine.  Great.
> 

Yes, I think Stephan Szabo was trying to convince me of something like that for
quite sometime; it was not clear to me then. I'll give it a try.

I still think "CREATE [CLUSTERED] INDEX" (or whatever) is an important feature
and  should be implemented in pgSql. Locking large (or huge) tables for
prolonged periods of time may not be acceptable in many setups.

Thanks






__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



view thread (12+ messages)

Message-ID: <20031111114639.15081.qmail@web21402.mail.yahoo.com>
Permalink:  ../20031111114639.15081.qmail@web21402.mail.yahoo.com/
Also on:    postgresql.org/message-id/20031111114639.15081.qmail@web21402.mail.yahoo.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-sql@postgresql.org
  Cc: oneway_111@yahoo.com, pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, sszabo@megazone.bigpanda.com
  Subject: Re: pg 7.4.rc1, Range query performance
  In-Reply-To: <20031111114639.15081.qmail@web21402.mail.yahoo.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