This video explains how to choose a shard key for your sharded cluster, with an explanation of when the default shard key is sufficient and when unique constraints and cosharded joins may affect what shard key should be used.
Learn more about sharding in InterSystems IRIS (course, 20m): https://learning.intersystems.com/cou...