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

From Konstantin Knizhnik
Subject Re: Having query cache in core
Date
Msg-id 7e22b5ec-5ea2-679c-3bb3-c296f6436a0a@postgrespro.ru
Whole thread Raw
In response to RE: Having query cache in core  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
List pgsql-hackers

On 07.05.2018 11:24, Tsunakawa, Takayuki wrote:
> From: Konstantin Knizhnik [mailto:k.knizhnik@postgrespro.ru]
>> But I think it is better to start first with
>> 1. Global prepared statements cache
>> 2. Global catalog cache
>> 3. Global relation cache
> May I ask why prepared statements need to precede catalog and relation caches? We're suffering from the bloat of
catalogand relation caches, and are thinking of proposing placing those caches in shared memory.
 
>

Sorry, I didn't assume some particular order here. Yes, shared catalog 
and relation cache seems to be more important to implement first.

>
>> Switch to global caches seems to be a challenged task, requiring a lot
>> of changes in Postgres core.
>> But I think that sometime we will have to implement them in any case (as
>> it was done in most of other DBMSes).
> Agreed.  I respect your attitude toward revolutionizing PostgreSQL.
>
>
>> Concerning result cache, I think it will be better to ask opinion of
>> mysql users: how useful it is.
> And possibly Oracle Database users, as Oracle implemented it relatively recently, IIRC.
>
> Regards
> Takayuki Tsunakawa
>

-- 
Konstantin Knizhnik
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Hartmut Holzgraefe
Date:
Subject: Re: Having query cache in core
Next
From: Tatsuo Ishii
Date:
Subject: Re: Having query cache in core