Re: More buffers used than a relation's relpages

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: More buffers used than a relation's relpages
Дата
Msg-id CAMkU=1z6tqC+sfNwXmxR3vXZV4TaXXhnJN1aasoHgpMrUXj7gQ@mail.gmail.com
обсуждение исходный текст
Ответ на More buffers used than a relation's relpages  (Amit Langote <amitlangote09@gmail.com>)
Ответы Re: More buffers used than a relation's relpages  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-general
On Monday, June 3, 2013, Amit Langote wrote:
Hello,

In what cases can a relation use more buffers (in shared memory) than
its pg_class.relpages?

I think relpages only counts pages in the main fork, while the buffer cache will also have buffers for the other forks (visibility map, free space map).  Also, relpages can be out of date if the table has grown since the last vac/analyze.

Cheers,

Jeff

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: More buffers used than a relation's relpages
Следующее
От: Amit Langote
Дата:
Сообщение: Re: More buffers used than a relation's relpages