Re: yet another stupid question (index coverage)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alex Pilosov <alex(at)pilosoft(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: yet another stupid question (index coverage)
Date: 2001-05-17 21:45:51
Message-ID: Pine.LNX.4.30.0105172343100.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex Pilosov writes:

> Explain shows it is using index scan, however, it looks like database is
> fetching blocks from all over the disk, when all information necessary is
> already in index.

All except the all-important piece of information whether the tuple is
visible to the current transaction. That you need to fetch from the main
table.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message speeves 2001-05-17 21:55:49 does cfinsert work with postgresql
Previous Message Scott Holmes 2001-05-17 21:45:39 Inserting Integers will using plpgsql...