Re: Synchronized scans

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Synchronized scans
Дата
Msg-id 1181065712.7660.117.camel@dogma.v10.wvs
обсуждение исходный текст
Ответ на Synchronized scans  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-patches
On Mon, 2007-06-04 at 10:53 +0100, Heikki Linnakangas wrote:
> I'm now done with this patch and testing it.
>
>

One difference between our patches is that, in my patch, the ending
condition of the scan is after the hint is set back to the starting
position.

That means, in my patch, if you do:
SELECT * FROM bigtable;
SELECT * FROM bigtable;

with no concurrency at all, the returned order will be the same.

In your patch, each full table scan leaves the hint at 16 pages before
the position it started in, leading to different orders on the full
table scans.

Regards,
    Jeff Davis


В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Synchronized scans
Следующее
От: Hannes Eder
Дата:
Сообщение: Re: [HACKERS] msvc, build and install with cygwin in the PATH