Picking a Dimension for an MDC Table
MDC tables can deliver incredible performance advantages over regular tables. However, when defining MDC tables, you must give careful consideration to dimension selection. Having too granular of a dimension (e.g., customer number) could cause too few individual records to have their own blocks of like information—the worst case would be if that information is unique. Clearly this would not benefit from any performance benefits of an MDC table, and would have excessive space requirements.
When choosing dimensions for a table, consider the fact that you are enabling fast query access, so the best place to start is by looking at your expected queries. Columns in equality or range queries, as well as those with ...
Get DB2® Version 8: The Official Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.