From the Database Performance Tuning section:
Index Usage
This database uses indexes to improve the performance of SELECT, UPDATE, DELETE. If a column is used in the WHERE clause of a query, and if an index exists on this column, then the index can be used. Multi-column indexes are used if all or the first columns of the index are used.
This is fairly typical for most RDBMS. You get only one index for your compound primary key, but this index can be used for lookups on your PKSubset
column or on both PKSubset
and PKSubset2
columns; not for lookups on PKSubset2
alone, though.