Re: Having query cache in core - Mailing list pgsql-hackers

From CK Tan
Subject Re: Having query cache in core
Date
Msg-id CAJNt7=b+GsmV7Q30t4UAG6jd7igk3uKK=16CY39nFmPhfSTEkQ@mail.gmail.com
Whole thread Raw
In response to Re: Having query cache in core  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: Having query cache in core
List pgsql-hackers

On Sat, May 12, 2018 at 8:18 AM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
>
> How do you handle tables hiding behind views? Also how does cached entries
> in pgpools know if some tables are modified without going thru pgpool, eg
> pgplsql or trigger or via psql directly?

Pgpool-II do not invalidate cache entries for views, triggers and
others. That's an limitation of the implementation in Pgpool-II.

I think in-core query cache would not have the limitation because it
would have a full access to system catalogs and wal.

 
Yes. That's my point. You can't do it outside the core.

-cktan

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Having query cache in core
Next
From: Andres Freund
Date:
Subject: Re: Having query cache in core