Re: Multi-column index vs index on individual columns

2020-12-26 Thread Guyren Howe
In a typical web storefront or catalog app, there are a fairly small number of queries that are run often that are more complex and slower. It is perfectly appropriate to consider creating compound/partial indexes to speed up those queries. Just be aware that indexes trade off slower insert/upda

Multi-column index vs index on individual columns

2020-12-26 Thread Shantanu Shekhar
Hi, I was going through Postgres documentation on multi-column indexes and came across the recommendation at the bottom states: "Multicolumn indexes should be used sparingly. In most situations, an index on a single column is sufficient and saves space and time".  In my experience typical webapp