Skip site navigation (1) Skip section navigation (2)

Re: How does PG know if data is in memory?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: Fabrício dos Anjos Silva <fabricio(dot)silva(at)linkcom(dot)com(dot)br>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: How does PG know if data is in memory?
Date: 2010-09-29 16:36:45
Message-ID: 4CA324CD0200002500036117@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-performance
Fabrício dos Anjos Silva<fabricio(dot)silva(at)linkcom(dot)com(dot)br> wrote:
 
> After reading lots of documentation, I still don't understand
> fully how PG knows if some needed data is in memory or in second
> storage.
 
> Does PG consider this?
 
No.
 
> When setting seq_page_cost and random_page_cost, do I have to
> consider the probability that data will be in memory?
 
Yes.
 
-Kevin

In response to

pgsql-performance by date

Next:From: Fabrício dos Anjos SilvaDate: 2010-09-29 16:55:26
Subject: Wrong index choice
Previous:From: Fabrício dos Anjos SilvaDate: 2010-09-29 16:31:20
Subject: How does PG know if data is in memory?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group