Re: How to deal with analyze gathering irrelevant stats

Поиск
Список
Период
Сортировка
От Michael Lewis
Тема Re: How to deal with analyze gathering irrelevant stats
Дата
Msg-id CAHOFxGqFjQqahK8NKOyjyjPivHkra5fFzMMCn64kYYL859VFwA@mail.gmail.com
обсуждение исходный текст
Ответ на How to deal with analyze gathering irrelevant stats  (Rémi Chatenay <remi.chatenay@doctolib.com>)
Ответы Re: How to deal with analyze gathering irrelevant stats  (Rémi Chatenay <remi.chatenay@doctolib.com>)
Список pgsql-performance
What is the usage pattern of the conversations table? Is getting many inserts during the day, or updates of status mostly?

Why have an index on the status column at all? My guess would be that there are 2-10 statuses, but many many rows in the table for most of those statuses. Having a low cardinality index that changes frequently seems prone to mis-use by the system. 

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: How to deal with analyze gathering irrelevant stats
Следующее
От: Rémi Chatenay
Дата:
Сообщение: Re: How to deal with analyze gathering irrelevant stats