Re: Index Only Scan vs Cache

Поиск
Список
Период
Сортировка
От Shujie Shang
Тема Re: Index Only Scan vs Cache
Дата
Msg-id CAJrojKWfObgg515XsgstAjrjSz4HoxTLQyqcKJ-EWFNz1Y0Kbg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Index Only Scan vs Cache  (Andy Colson <andy@squeakycode.net>)
Ответы Re: Index Only Scan vs Cache  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
Does PG has its own data cache? I don't think so.
I think PG just using the filesystem cache.

On Fri, Jul 10, 2015 at 2:06 AM, Andy Colson <andy@squeakycode.net> wrote:
On 7/9/2015 12:41 PM, Tom Lane wrote:
Andy Colson <andy@squeakycode.net> writes:
My question is:  Will PG cache only the index (assuming it can always do
an Index Only Scan), or will it cache the table as well?

The table blocks would fall out of cache if they're never touched.

                        regards, tom lane



Sweet!  Thanks Tom.



--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Igor Stassiy
Дата:
Сообщение: Creating table with data from a join
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Index Only Scan vs Cache