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