Re: Indexes on expressions with multiple columns and operators

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Re: Indexes on expressions with multiple columns and operators
Дата
Msg-id b1c2112a-5f1a-4b73-9b21-69d342fad5b0@gmail.com
обсуждение исходный текст
Ответ на Re: Indexes on expressions with multiple columns and operators  (Frédéric Yhuel <frederic.yhuel@dalibo.com>)
Ответы Re: Indexes on expressions with multiple columns and operators
Список pgsql-performance
On 22/9/2025 15:37, Frédéric Yhuel wrote:
> I wonder if this is an argument in favour of decoupling the sample size 
> and the precision of the statistics. Here, we basically want the sample 
> size to be as big as the table in order to include the few (NULL, 
> WARNING) values.
I also have seen how repeating ANALYZE on the same database drastically 
changes query plans ;(.
It seems to me that with massive samples, many of the ANALYZE algorithms 
should be rewritten. In principle, statistical hooks exist. So, it is 
possible to invent an independent table analyser which will scan the 
whole table to get precise statistics.

-- 
regards, Andrei Lepikhov



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