I have the a table with colA and colB and composite Primary Key. Based on the data below, which pattern would be efficient in terms of performance. Should the PK be
(colA, colB) OR (colB, colA) ???
But with the "index compression", depends on the cardinality of the column, it may take less or more space, if the order is changed (not sure how much impact, it has on the performance)
Bookmarks