Re: Indices pinned in pageable RAM? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Indices pinned in pageable RAM?
Date
Msg-id 17182.1086239022@sss.pgh.pa.us
Whole thread Raw
In response to Indices pinned in pageable RAM?  (Marty Scholes <marty@outputservices.com>)
List pgsql-hackers
Marty Scholes <marty@outputservices.com> writes:
> Has anyone seriously looked at how it would impact things to give the 
> DBA the option of storing certain indices in RAM instead of on disk?

I'd classify it as an utter waste of time.  If the index is being hit
heavily, it will stay cached in RAM anyway.  If it isn't, locking it in
RAM would be a pessimization not an optimization, because the space
would be better used for something else.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [pgsql-hackers-win32] select like...not using index
Next
From: Fabien COELHO
Date:
Subject: Re: ACLs versus ALTER OWNER