I have a database where all tables include column Site( char(4)) and column PrimaryId( int).
Currently, a clustered index for all tables is a combination of these two columns. Many customers have only one site, so in those cases, I think it definitely makes sense to change the clustered index to include only PrimaryId.
In cases where there are several sites, I wonder if it will be useful to use it PrimaryIdonly as a clustered index? Could having a smaller clustered index get better performance than with a unique one?
In case it matters, there will usually not be more than a few sites. 10 sites will be many.
source
share