Re: why postgresql over other RDBMS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why postgresql over other RDBMS
Дата
Msg-id 1419.1180926030@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: why postgresql over other RDBMS  (Scott Ribe <scott_ribe@killerbytes.com>)
Ответы Re: why postgresql over other RDBMS
Список pgsql-general
Scott Ribe <scott_ribe@killerbytes.com> writes:
>> So it works right now, except it doesn't have (yet) the infrastructure to
>> keep the scans synchronized

> Perhaps you only got one read of the table because the process is
> essentially self-synchronizing.

Right.  Multiple seqscans that are anywhere near reading the same block
of a table will tend to self-synchronize.  There is a patch under
consideration for 8.3 that helps this along by making seqscans run
"circularly" --- that is, not always from block 0 to block N, but from
block M to N and then 0 to M-1, where the start point M can be chosen
by looking to see where any other concurrent seqscan is presently
reading.  Once you've got a reasonable start point, you don't have to do
anything else.

            regards, tom lane

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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: multimaster
Следующее
От: "Islam Hegazy"
Дата:
Сообщение: Re: debugging C functions