Data Quality Dimensions, Rules and Monitoring
A practical guide for enterprise data modeling and architecture.
Common dimensions include completeness, validity, uniqueness, consistency, timeliness and accuracy. Their relevance depends on how data is used. A missing optional address line may be harmless; a missing account identifier may prevent a critical reconciliation. Avoid treating a single score as a complete description of fitness.
Choose dimensions that matter
Common dimensions include completeness, validity, uniqueness, consistency, timeliness and accuracy. Their relevance depends on how data is used. A missing optional address line may be harmless; a missing account identifier may prevent a critical reconciliation. Avoid treating a single score as a complete description of fitness.
Turn expectations into rules
State the population, field or relationship, threshold, evaluation window and severity. For example, an order marked shipped may require a shipment event. A rule should explain the business impact when it fails and who decides whether an exception is acceptable.
Monitor at meaningful boundaries
Measure quality at ingestion, after important transformations and before publishing to consumers. Compare counts and distributions over time, validate referential relationships and track freshness. Segment results where meaningful so a healthy overall rate does not hide a broken high-risk subset.
Respond and improve
Route failures to a responsible owner with affected assets, evidence, severity and a due date. Decide whether to block publication, quarantine records, warn consumers or continue with an explicit exception. Track recurring causes and measure resolution, not just alert volume. Quality controls complement rather than replace source process improvement.
Apply the guidance
Validate assumptions with the accountable owner and representative consumers. Record trade-offs, examples and unresolved questions, and link the resulting decisions to the relevant model, contract or operating procedure.
Choose quality dimensions that matter
Completeness, validity, uniqueness, consistency, timeliness and accuracy are common dimensions, but each must connect to a consumer need. For example, uniqueness may apply to an active business key, while timeliness may mean events arrive within a defined interval. Identify the population, calculation and acceptable threshold.
Define the rule and remediation path
Specify how a failed record or dataset is treated: reject, quarantine, publish as degraded, alert or accept with an explicit exception. Assign a source or product owner and define how long an unresolved issue may remain. Provide enough diagnostic context without exposing sensitive values.
Monitor trends and systemic causes
Track failure rate, age, repeated patterns and downstream impact. A sudden rise in nulls may signal a source contract change; persistent unmatched keys may reveal an identity mapping problem. Use incident follow-up to address upstream causes rather than adding repeated manual patches.
Review quality rules over time
Rules can become stale as processes change. Review thresholds, suppressed failures and consumer expectations periodically. Keep rule owners and test execution visible. A dashboard with green status is useful only if the tested rules still represent the intended quality contract.
- Are dimensions tied to real consumer expectations?
- Are denominators, thresholds and windows defined?
- Do failures route to accountable owners?
- Are exceptions visible and time-bounded?
- Are rules reviewed as sources and uses change?
Worked example: define a quality rule and response
For an order identifier, define completeness, uniqueness at the relevant grain, allowed format, and relationship to a source order. Set thresholds based on business use and historical behavior. A rule that every optional field must be populated may create noise without improving decisions. Distinguish a blocking validity constraint from a warning that signals gradual drift.
Run checks at the producer boundary and at critical transformations. Record rule version, evaluated population, run time, result, and affected records. Route failures to an owner with a correction path. Avoid discarding invalid data silently; quarantine it with a reason and a way to replay after repair.
Improve rules from failures
Track recurring violations, false alarms, resolution time, and consumer impact. Review thresholds when source processes change. Use representative samples and domain judgment to revise a rule. Quality monitoring should support reliable use and remediation, not produce a score detached from the decision at stake.
Manage quality rules through their lifecycle
Every rule needs a business rationale, owner, scope, threshold, action, and review date. Version changes and retain prior results when trend comparison matters. Retire rules when the process or contract changes, and replace them with a better control rather than leaving obsolete alerts active.
Review false positives and missed defects with domain users. Measure time to detect and resolve. Keep rule definitions near the asset they govern and publish quality status to consumers.
Review quality thresholds
Compare alerts with actual user impact and known source variability. Adjust thresholds with owner approval and preserve history so trend changes remain interpretable. Set separate severity for blocking and informational conditions.
Review missed defects and false positives after incidents. Keep rule scope and actions discoverable to consumers.