The table in question has 3 relevant columns: A, B, and C. The table is expected to have north of 1B records.
A unique index can be created with A, B, C where A and B are text fields and C is a numeric id (incrementing)
C on it's own is not unique.
BRIN indexes seem to fit nicely with this model. We have an incrementing integer with data that never has updates to the indexed field.
Can BRIN indexes be used efficiently with a multi column index in a non-partitioned table or should partitions be used instead with an index on a single column in each partition?
For context, the 99% use case is a query by a, b, c where c is either in a range (or orordered by with a limit if that's possible). We also want to query the MAX c by a, b.
Thanks for any advice.