Re: Plan caching and serialization for reuse across executions

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: Plan caching and serialization for reuse across executions
Дата
Msg-id 94219cd1-ba52-43e6-94d1-edb5bea864b8@gmail.com
обсуждение исходный текст
Ответ на Re: Plan caching and serialization for reuse across executions  (Kirill Reshke <reshkekirill@gmail.com>)
Ответы Re: Plan caching and serialization for reuse across executions
Список pgsql-hackers
On 18/8/2025 13:50, Kirill Reshke wrote:
> Hi!
> 
> On Sun, 17 Aug 2025 at 23:34, Xuan Chen <cx0222@vip.qq.com> wrote:
>>
>> - Any relevant references in the source code (planner, plancache.c, executor) that I should study would be very
helpful.
> 
> Here is extension implementing saving and restoring plans[0]
> 
> 
> [0]https://github.com/postgrespro/sr_plan
> 
I wouldn't recommend this obsolete version of the extension. Since the 
QueryId was introduced, we have redesigned it extensively, with the 
basic idea that QueryId serves as a 'query plan class' and that matching 
parse trees provide a proof of matching incoming queries with their 
corresponding [parameterised] plans.

-- 
regards, Andrei Lepikhov



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