Data governance in practice: metadata management and data quality
How to build a data glossary and catalog, and how to detect and fix quality issues from the business side and from the data side.
Metadata and data quality management are usually the first initiatives in a data governance program. This article separates technical from business metadata, explains what a data glossary is for, walks through the four steps to build a catalog, and lays out the three pillars of data quality and the two approaches to finding issues.
TABLA DE CONTENIDOS
Series «Data governance», part 2 of 2. Part 1 · Part 2
In the previous article we went over some data governance definitions and the problems a data governance program sets out to solve. This one focuses on putting into practice two aspects I consider central to managing data: metadata management and data quality management, and how they work together to get the most out of both.
Where a data governance program starts
Implementing a data governance program takes several steps: first, securing the approval and support of an executive sponsor who backs the cultural change these initiatives involve; then, defining the organizational structure that will work on the data governance initiatives.
While an assessment is needed to understand the starting point and decide which initiatives to prioritize, metadata and data quality management are usually among the first to be implemented.
Metadata management
Before discussing management, we need to define what we mean by metadata. Technically, it is “data about data”; the goal of metadata management is to turn that into information and knowledge about the data an organization holds. Metadata comes in several types, which we can group into two categories.
Technical metadata
It provides details about source and target systems, database table and field structures, and the dependencies of these kinds of assets:
- host systems, databases, data files and their contents;
- physical and logical models;
- ETL processes;
- data quality rules;
- analytical model metadata.
Business metadata
It includes terms, information governance rules, tags and stewards that give information its context, enable effective communication and help everyone in the organization talk about the same thing. For example, an organization may ask how it defines “customer,” and get different answers: some will say it means people who have bought from the business, others anyone who is considering a purchase. It is important to have that discussion and agree on an organization-wide definition of customer, so everyone means the same thing.
The tool that helps define terminology across the organization’s areas is the data glossary. It keeps business terms consistent to reduce ambiguity in how data assets are defined, and it links the different types of metadata to give a single, consistent view of each definition and of all the technical assets involved in its lifecycle.
Data dictionaries take a more technical view, while data glossaries take a logical one: they clarify business terms and help each area understand how it relates to the data in the systems. A data glossary is more accessible than a data dictionary, so both business and technical users can rely on it.
How to build the data catalog
Building a catalog takes four steps.
Plan the catalog structure
The process is similar whether you design a new catalog or start from one or more glossaries that already exist in the company. When developing categories, terms and their relationships, you also need to plan which custom properties the terms need, who their stewards will be and which tags will be used. You also define the principles, scope and policies that will govern the glossary, and the metrics to measure compliance with what was defined.
Set up a catalog team
A cross-functional team should be responsible for governing the catalog. To bring the right content into it, identify the people with the deepest knowledge of each area of the business.
Design and develop terms and assets
Creating the glossary includes these tasks:
- defining business terms;
- defining custom attributes for terms and categories;
- defining tags for terms, categories and other assets;
- selecting users as stewards;
- relating terms to one another;
- defining the assets to import into the catalog;
- loading the catalog with assets;
- associating terms with assets.
Publish the glossary
Once implemented, the data glossary is published for the organization to use. Maintenance processes should be put in place to make sure business terms stay linked to the technical side and keep a single meaning across all areas.
Data quality management
Identifying data quality issues and defining the right corrective actions can’t be left to an isolated group within the organization; it takes a company-wide effort. The goal is to achieve and sustain high quality in the organization’s critical data. The work rests on three pillars:
- Improve: investigate the databases and processes that create or modify data to fix existing quality issues. This approach assumes there are quality problems to solve.
- Prevent: help teams and individuals build better data checks, capture processes, screen designs and policies. It is about spreading a quality culture across the organization.
- Monitor: continuously track the improvements made and the preventive actions to measure their effectiveness.
Two approaches to detecting quality issues
Before you can improve, prevent and monitor, the issues have to be detected. There are two approaches.
The business approach
It looks for poor-quality data that hurts the organization’s business processes: complaints, lost customers, reports rejected by regulators, missed opportunities, wrong decisions, or missing data to contact customers or sell new products. Its drawback is that you need to be very close to the business to spot these issues, and working out whether the causes really are data problems takes time and effort.
The data approach
It looks for problems in the data, starting from a set of rules the data should meet to be considered good quality. That requires knowing the data: its definition, possible values, relationships and so on. The next step is data profiling, to validate or complete the metadata generated. Once the quality of the data is known, business analysts apply those rules and produce evidence of data problems, which is key to investigating and fixing their root causes.
This approach is easier to put in place than the business approach: it takes less time, depends less on the group that detects the issues, and finds problems the other approach would miss (when the data has no business impact, or that impact goes unnoticed). On the other hand, data often passes the rules but still fails the business process, and that causes harm before the problem is identified.
The business approach is reactive and leads to cleansing and correcting data, then setting up monitoring. The data approach is more proactive: tying term definitions in a glossary to the rules those terms should meet puts profiling and monitoring first, and the issues to fix surface from there. A good data quality program uses both approaches to catch as many data problems as possible.
Metadata and quality reinforce each other
Metadata management and data quality management are core activities in any data governance initiative. Done right, they let an organization define its business terms, how those terms relate to systems, tables, reports and data models, and the quality rules attached to them, so it can gauge how far the data can be trusted, spot potential problems, and improve, prevent and monitor data quality.
Eng. Gustavo Mesa
Data & Analytics consultant