Re: Major performance degradation with joins in 15.8 or 15.7? - Mailing list pgsql-performance

From Andrei Lepikhov
Subject Re: Major performance degradation with joins in 15.8 or 15.7?
Date
Msg-id d06b50a5-30fa-40d7-9cdf-aeddb3bf58e4@gmail.com
Whole thread Raw
In response to Re: Major performance degradation with joins in 15.8 or 15.7?  (Ed Sabol <edwardjsabol@gmail.com>)
List 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 by date:

Previous
From: Ed Sabol
Date:
Subject: Re: Major performance degradation with joins in 15.8 or 15.7?
Next
From: Tomas Vondra
Date:
Subject: Re: tds_fdw : Severe performance degradation from postgresql 10.23 to 16.4