Re: New feature: cached foreign keys

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: New feature: cached foreign keys
Date: 2011-07-09 12:54:36
Message-ID: 4E184F8C.309@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/07/2011 8:26 PM, pasman pasmański wrote:
> Reality is crude, seems than this idea is not as good as i think :(
>
> Thanks for answer.

No worries.

For what it's worth, PostgreSQL caches recently used tuples in shared
memory anyway. The OS caches disk data in RAM too. So if the foreign key
is often checked and frequently used, it will often stay in cache.

--
Craig Ringer

POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088 Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris Travers 2011-07-09 12:59:49 Unintuitive behavior regarding inheritance
Previous Message pasman pasmański 2011-07-09 12:26:40 Re: New feature: cached foreign keys