Re: 9.2 and index only scans - Mailing list pgsql-general

From Tom Lane
Subject Re: 9.2 and index only scans
Date
Msg-id 15629.1346010754@sss.pgh.pa.us
Whole thread Raw
In response to Re: 9.2 and index only scans  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: 9.2 and index only scans  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
Pavel Stehule <pavel.stehule@gmail.com> writes:
> is possible use seqscan for index?

No, not for a normal indexscan --- concurrent page splits would break
it.

VACUUM can do that, mainly because it doesn't care if it visits some
entries twice (and even then, it has to add a lot of pushups to ensure
it doesn't miss any entries).

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Renaming tables and their indexes simultaneously
Next
From: Thomas Kellerer
Date:
Subject: Re: 9.2 and index only scans