| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера