Re: Improve Seq scan performance

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Lutischán Ferenc <lutischanf(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Improve Seq scan performance
Date: 2008-11-10 06:55:55
Message-ID: 4917DAFB.8000003@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Lutischán Ferenc wrote:

> It is possible to make an index on the table, and make a seq index scan
> on this values?

My understanding is that this isn't possible in PostgreSQL, because
indexes do not contain information about tuple visibility. Data read
from the index might refer to tuples that've been deleted as far as your
transaction is concerned, or to tuples that were created after your
snapshot was taken.

--
Craig Ringer

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Vladimir Sitnikov 2008-11-10 07:37:00 Re: Improve Seq scan performance
Previous Message Lutischán Ferenc 2008-11-10 06:50:43 Improve Seq scan performance