Search Postgresql Archives

Re: Index Only Scan vs Cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx> wrote:
On 7/9/2015 12:41 PM, Tom Lane wrote:
Andy Colson <andy@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux