Avoid double lookup in pgstat_fetch_stat_tabentry()

Поиск
Список
Период
Сортировка
От Drouvot, Bertrand
Тема Avoid double lookup in pgstat_fetch_stat_tabentry()
Дата
Msg-id 8c1851a2-a98e-e1bc-7729-37b0b95f66ec@gmail.com
обсуждение исходный текст
Ответы Re: Avoid double lookup in pgstat_fetch_stat_tabentry()  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Список pgsql-hackers
Hi hackers,

Please find attached a patch proposal to avoid 2 calls to 
pgstat_fetch_stat_tabentry_ext() in pgstat_fetch_stat_tabentry() in case 
the relation is not a shared one and no statistics are found.

Thanks Andres for the suggestion done in [1].

[1]: 
https://www.postgresql.org/message-id/20221116201202.3k74ajawyom2c3eq%40awork3.anarazel.de

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Perform streaming logical transactions by background workers and parallel apply