Re: Confusion and Questions about blocks read

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Confusion and Questions about blocks read
Дата
Msg-id 780.1158942275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Confusion and Questions about blocks read  ("Alex Turner" <armtuk@gmail.com>)
Ответы Re: Confusion and Questions about blocks read
Re: Confusion and Questions about blocks read
Список pgsql-performance
"Alex Turner" <armtuk@gmail.com> writes:
> Home come the query statistics showed that 229066 blocks where read given
> that all the blocks in all the tables put together only total 122968?

You forgot to count the indexes.  Also, the use of indexscans in the
mergejoins probably causes multiple re-reads of some table blocks,
depending on just what the physical ordering of the rows is.

            regards, tom lane

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

Предыдущее
От: "Alex Turner"
Дата:
Сообщение: Confusion and Questions about blocks read
Следующее
От: "Alex Turner"
Дата:
Сообщение: Re: Confusion and Questions about blocks read