Re: Statistics Import and Export

Поиск
Список
Период
Сортировка
От Corey Huinker
Тема Re: Statistics Import and Export
Дата
Msg-id CADkLM=cGZ2y7h_0d=vBLxSJ=quuD-XozYvEcb4xkYcRLvxbxNw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Statistics Import and Export  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
One fairly easy win would be to stop issuing getAttributeStats() for
non-expression indexes. In most cases that'll already drastically cut down on
the extra queries.

That does seem like an easy win, especially since we're already using indexprs for some filters. I am concerned that, down the road, if we ever start storing non-expression stats for, say, partial indexes, we would overlook that a corresponding change needed to happen in pg_dump. If you can think of any safeguards we can create for that, I'm listening.

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