Re: Having query cache in core

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Having query cache in core
Дата
Msg-id 20180511.212642.348816986505361564.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Having query cache in core  (CK Tan <cktan@vitessedata.com>)
Ответы Re: Having query cache in core  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Re: Having query cache in core  (Hartmut Holzgraefe <hartmut.holzgraefe@gmail.com>)
Re: Having query cache in core  (CK Tan <cktan@vitessedata.com>)
Список pgsql-hackers
>> Thanks for the advice. But I rather thought about bypassing the raw
>> parser and the planner. i.e. use the query string (or its hash) as the
>> index of the query cache.
>>
> 
> I think you need to know which tables are involved and if they were
> modified.

Of course. While creating a cache entry for a SELECT, we need to
analyze it and extract tables involved in the SELECT. The information
should be stored along with the cache entry. If any of the tables were
modified, cache entries using the table must be removed.
(these are already implemented in Pgpool-II's in memory query cache)

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: [HACKERS] Surjective functional indexes
Следующее
От: Vladimir Sitnikov
Дата:
Сообщение: Re: Having query cache in core