AW: [HACKERS] Optimizer fails?

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SARZ
Тема AW: [HACKERS] Optimizer fails?
Дата
Msg-id 219F68D65015D011A8E000006F8590C6010A523E@sdexcsrv1.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
    There is one comment I would like to state, on the issue of
    a sequential scan beeing faster than an index scan. It is actually
often
    true in a singel user system that an index scan is more expensive
    than a sequential scan.
    As long as we have table level locks this is also true for heavyly
    concurrent access.
    Here comes the disadvantage:
    Once row or page locks will be implemented, the sequential scan
    cost should be reconsidered, since then readers will often be
waiting
    for updaters, that are actually updating data, that is irrelevant
for the
    reader. The average wait time will have to be added to the sequ.
scan
    cost.

    Andreas

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

Предыдущее
От: "Jose' Soares Da Silva"
Дата:
Сообщение: Reference Manual
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [PORTS] Port Bug Report: pg_dump -d database >unload.file; cat unload.file|psql database ARE NOT EQUAL