Make recently inserted/updated records available in the buffer/cache

From: Sachin Divekar <ssd532(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Make recently inserted/updated records available in the buffer/cache
Date: 2019-12-02 17:03:03
Message-ID: CA+A8H7mJiWaohQv0k6Fv2i-nuRKyzDKu-J8vwp_DS72=zL-eCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,

I am looking for tuning my PG setup such that recently inserted or updated
record will be available in the buffer/cache (I believe they are same in
this context). Does PostgreSQL do it by default? If yes, just increasing
buffer size sufficient? What will be its effect on LRU performance -- I
guess there won't be any adverse effect?

My use case is that I am going to use it as a queue and performance will be
dependent upon whether the recently updated record is available in the
cache.

Thank you.

regards
Sachin

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Hüseyin Demir 2019-12-02 17:13:09 Re: Make recently inserted/updated records available in the buffer/cache
Previous Message Aufar Gilbran 2019-12-02 12:43:05 [External] Join queries slow with predicate, limit, and ordering