Problemunvalidated
none of the three queries you showed ended up using it — Select * from users where Type = 'SomeType' and First = 'SomeName1' Order by CreatedAt DESC;. Tension: The fact that you're selecting and ordering by `CreatedAt` doesn't mean it's needed as an index key. Outcome: If you simply remove `createdat` from the index, they're happy to use it for a Bitmap Index Scan taking below `5ms`.
9018b111-e24a-407a-9c80-90f52f04e5fb
none of the three queries you showed ended up using it — Select * from users where Type = 'SomeType' and First = 'SomeName1' Order by CreatedAt DESC;. Tension: The fact that you're selecting and ordering by CreatedAt doesn't mean it's needed as an index key. Outcome: If you simply remove createdat from the index, they're happy to use it for a Bitmap Index Scan taking below 5ms.