Re: Major performance degradation with joins in 15.8 or 15.7?

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: Major performance degradation with joins in 15.8 or 15.7?
Дата
Msg-id d06b50a5-30fa-40d7-9cdf-aeddb3bf58e4@gmail.com
обсуждение исходный текст
Ответ на Re: Major performance degradation with joins in 15.8 or 15.7?  (Ed Sabol <edwardjsabol@gmail.com>)
Список pgsql-performance
On 9/11/2024 03:32, Ed Sabol wrote:
> CREATE STATISTICS tablename_stats_rt_nd  (ndistinct) ON relation, type FROM tablename;
The only one thing I want to note. It is enough to execute:

CREATE STATISTICS tablename_stats  (mcv,ndistinct,dependencies)
ON relation, type FROM tablename;

And all the statistics will be build over any possible combination of 
(relation, type). So, you don't need to call CREATE STATISTICS more than 
once.

-- 
regards, Andrei Lepikhov




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