pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: brad-pgperf@duttonbros.com
Cc: pgsql-performance@postgresql.org
Subject: Re: index usage
Date: Wed, 28 Apr 2004 12:41:40 -0400
Message-ID: <424.1083170500@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.33.0404280935510.6453-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0404280935510.6453-100000@css120.ihs.com>

"scott.marlowe" <scott.marlowe@ihs.com> writes:
> There are tons of hints that it works this way in how they're written, but 
> nothing that just comes out and says that with pgsql's mvcc 
> implementation, an index scan still has to hit the pages that contain the 
> tuples, so often in pgsql a seq scan is a win where in other databases and 
> index scan would have been a win?

> If not, where would I add it if I were going to write something up for the 
> docs?  Just wondering...

AFAIR the only place in the docs that mentions seqscan or indexscan at
all is the discussion of EXPLAIN in "Performance Tips".  Perhaps a
suitably-enlarged version of that section could cover this.

			regards, tom lane



view thread (34+ messages)  latest in thread

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

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scott.marlowe@ihs.com, sszabo@megazone.bigpanda.com, brad-pgperf@duttonbros.com
  Subject: Re: index usage
  In-Reply-To: <424.1083170500@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