Re: Creating table with data from a join

Поиск
Список
Период
Сортировка
От Marc Mamin
Тема Re: Creating table with data from a join
Дата
Msg-id B6F6FD62F2624C4C9916AC0175D56D8828C0423B@jenmbs01.ad.intershop.net
обсуждение исходный текст
Ответ на Re: Creating table with data from a join  (Igor Stassiy <istassiy@gmail.com>)
Список pgsql-general
> Marc, I am using postgres 9.4. I didn't benchmark, but intuitively the modulo operator will force traversing every
recordin table "a" 4 times, as it can't use an index.
 

Not necessarily. seq scans can be synchronized:

"This allows sequential scans of large tables to synchronize with each other, so that concurrent scans read the same
blockat about the same time and hence share the I/O workload. When this is enabled, a scan might start in the middle of
thetable and then "wrap around" the end to cover all rows, so as to synchronize with the activity of scans already in
progress.This can result in unpredictable changes in the row ordering returned by queries that have no ORDER BY
clause."

Marc

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: unexpected data beyond EOF in block 260 of relation pg_tblspc
Следующее
От: Ryan King - NOAA Affiliate
Дата:
Сообщение: Re: could not create shared memory segment: Invalid argument