Sync scan & regression tests

Поиск
Список
Период
Сортировка
От Konstantin Knizhnik
Тема Sync scan & regression tests
Дата
Msg-id 6e6b91a6-afc5-d446-7e4a-2716860dd10e@garret.ru
обсуждение исходный текст
Ответы Re: Sync scan & regression tests  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Sync scan & regression tests  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Hi hackers,

Is it is ok, that regression tests do not pass with small value of 
shared buffers (for example 1Mb)?

Two tests are failed because of sync scan - this tests cluster.sql and 
portals.sql perform seqscan without explicit order by and expect that 
data will be returned in particular order. But because of sync scan it 
doesn't happen. Small shared buffers are needed to satisfy seqscan 
criteria in heapam.c: `scan->rs_nblocks > NBuffers / 4` for tenk1 table.

More general question - is it really good that in situation when there 
is actually no concurrent queries, seqscan is started not from the first 
page?





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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Use of additional index columns in rows filtering
Следующее
От: Ahmed Ibrahim
Дата:
Сообщение: Re: There should be a way to use the force flag when restoring databases