Re: Massive performance issues - Mailing list pgsql-performance

From Chris Travers
Subject Re: Massive performance issues
Date
Msg-id 4318934E.7070404@travelamericas.com
Whole thread Raw
In response to Re: Massive performance issues  ("Akshay Mathur" <akshay.mathur@airtightnetworks.net>)
List pgsql-performance
Akshay Mathur wrote:

>Ron,
>
>Can you give me some pointers to make the tables RAM resident. If one
>does so, is the program accessing the data need to change. Does pgsql
>take care to write the data to disk?
>
>
>
PostgreSQL tried to intelligently cache information and then will also
use the OS disk cache as a secondary cache.  So a sufficiently small and
frequently accessed table will be resident in RAM.

The simplest way to affect this calculus is to put more RAM in the
machine.  There are hacks I can think of to create RAM caches of
specific tables, but I don't want to take responsibility for anyone
trying these and running into trouble.

Best Wishes,
Chris Travers
Metatron Technology Consulting

pgsql-performance by date:

Previous
From: Simon Riggs
Date:
Subject: Re: ORDER BY and LIMIT not propagated on inherited
Next
From: Matteo Beccati
Date:
Subject: Re: ORDER BY and LIMIT not propagated on inherited