Re: How to deal with analyze gathering irrelevant stats - Mailing list pgsql-performance

From Michael Lewis
Subject Re: How to deal with analyze gathering irrelevant stats
Date
Msg-id CAHOFxGqFjQqahK8NKOyjyjPivHkra5fFzMMCn64kYYL859VFwA@mail.gmail.com
Whole thread Raw
In response to How to deal with analyze gathering irrelevant stats  (Rémi Chatenay <remi.chatenay@doctolib.com>)
Responses Re: How to deal with analyze gathering irrelevant stats
List 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 by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: How to deal with analyze gathering irrelevant stats
Next
From: Rémi Chatenay
Date:
Subject: Re: How to deal with analyze gathering irrelevant stats