Professional Documents
Culture Documents
Executive Summary It is commonly recognized that in technology, the only constant is change. Nowhere is this more evident than in a data warehouse where, by its very nature, you have a dynamic and complex environment being utilized by a variety of users, such as administrators, analysts, designers, business users, programmers, and even executives. Todays fast changing business environment creates large volumes of data. Although data are an indispensable resource for decision making, value is obtained from data when all of the datas characteristics, meaning, and context are known and made available to users of the warehouse so they can extract information and knowledge from the data. Data warehouse users nd themselves wanting answers to questions such as: > What do these data mean? > When were these data loaded? > Who owns these data? > What is the datas format? > What is the business description for these data? > What business rules are applied to these data? > How were the data calculated? > How were the data transformed? > What items will be impacted if I change this column? This paper will describe how you can track and identify the wealth of information about the data in your warehouse to optimize the data warehouse return on investment (ROI).
EB-5360
>
1007
>
PAGE 2 OF 10
Solution Components Teradata MDS is a client-server based solution. The Teradata Database is the server that houses the metadata repository. MDS is a client component providing utilities to create, load, search, modify, and administer the MDS metadata repository, as well as to program and script interfaces to read and write into the repository. MDS provides various administrative and support tools and utilities to create, manage, and modify metadata in the MDS repository.
EB-5360
>
1007
>
PAGE 3 OF 10
MDS Utilities
BI Tools
view metadata in the repository, make online changes to the contents of the repository, load/unload/synchronize
XML Bridge
Teradata metadata, dene users, dene and assign security restrictions, and perform conguration changes. Web-based Access (MetaSurf) MetaSurf is a zero footprint, thin Web client interface across the most popular
MDS Engine
Teradata Solution
MDS Repository
Figure 1. MDS Client.
browser platforms that provides a view into the metadata in the repository. MetaSurf includes the ability to search, drill-down, compare, navigate, and update the metadata in the repository, and it can be customized. Through MetaSurf, you can also generate Microsoft Excel reports of the metadata in the MDS repository.
MDS Engine The MDS engine is a client-side library that performs services to persist and retrieve metadata from the repository. It converts object calls to relational form, and is responsible for managing transactions, security, and generating the SQL to access the tables, views, and macros that make up the MDS repository. Application Information Metamodels An Application Information Metamodel (AIM) is a metamodel that denes how metadata are stored and associated to other metadata in the MDS repository. MDS includes several predened metamodels:
Database Information Metamodel (DIM): stores the Teradata Data Dictionary information, as well as any associated business data. It is used to store physical data model and logical data model information.
If your business intelligence tools are Web-enabled, then you can also embed access to read additional metadata from the MDS repository. Automatic DIM Update
Client Load Metamodel (CLM): stores metadata obtained from Teradata client FastLoad, MultiLoad, or TPump utility scripts and output les. Common Warehouse Metamodel (CWM): Standards-based metamodel that stores metadata from data warehouse and business intelligence tools. Custom metamodels can also be dened to store metadata from a variety of external sources.
Automatic DIM Update is an optional feature that dynamically keeps the MDS repository synchronized to reect Data Dictionary changes made to one or more Teradata Database systems. Application Programming Interfaces Various application programming interfaces (APIs) are provided to import and export metadata. The inter-faces allow you to read, create, update, and delete metadata objects and AIMs in the MDS
EB-5360
>
1007
>
PAGE 4 OF 10
to the data in the repository is based on the security permissions of each user.
repository, dene users or groups, and dene and assign security restrictions. If another metadata management solution is already in place, then the MDS APIs may be used to interchange Teradata metadata with the other metadata repository. XML An XML interface is offered, in addition to the APIs, as a standard alternative method for metadata interchange. XML interface provides import and edit capabilities to the metadata stored in the MDS reposi-
tory, thus providing a non-programmatic interface for exchanging metadata with third-party tools. Teradata Client Load Scripts The Metaclient utility extracts and loads metadata from Teradata FastLoad, MultiLoad, or TPump load scripts and output les. Metadata from Teradata load jobs is then linked to the associated warehouse table, view, and column metadata within the repository providing the foundation for lineage metadata management.
Metadata Versioning The MDS repository can retain historical information about data stored in the repository. This historical information tracks changes made to metadata objects over time, allowing you to have traceability of the metadata, view other associated historical metadata, and identify changes that were made between versions of the metadata.
EB-5360
>
1007
>
PAGE 5 OF 10
EB-5360
>
1007
>
PAGE 6 OF 10
MDS Administrator
Web Clients
Web Server
Teradata Server
Figure 4.
EB-5360
>
1007
>
PAGE 7 OF 10
ownership, traceability, and accountability in order to meet regulatory initiatives. Managed metadata plays a fundamental role in governance as it provides a persistent store to manage enterprise data denitions, processes and procedures, and other information assets that can be administered by assigned stewards.
Technical Users
Administrators
Business Users
Figure 5.
EB-5360
>
1007
>
PAGE 8 OF 10
Impact Analysis MDS allows you to determine the impact of changes to the warehouse prior to implementation. For example, you can easily determine the impact of the following scenarios: > What data are maintained in this database? > What views are affected if I drop this column? > What tables are referenced by this stored procedure, macro, or view? > Where did this view come from, and what table columns does it reference? > Are there any possible broken views, macros, or stored procedures? > What was the last Teradata DDL change, and when did it take place? View Analysis The SQL used to dene Teradata views, macros, stored procedures, and triggers is analyzed by MDS to identify and store the metadata for base tables and columns referenced. MDS also provides intermediate view information. Extensibility and Customization The same interfaces that are used by MDS own utilities are available to the user. The interfaces support loading, reading, updating, and deleting metadata in the MDS repository. Complete API access provides the exibility needed to create a metadata management solution that meets an organizations specic needs. Extensions to the MDS repository are maintained in future MDS product upgrades.
EB-5360
>
1007
>
PAGE 9 OF 10
Conclusion
You cant effectively use the data in the warehouse, as well as other sources, if you dont have a clear understanding of the data, what they represent, how they interrelate, and therefore, how to best use them. To make better decisions that positively affect a business, users need information that helps them interpret the data generated in todays business environment. They need effective, accessible metadata that describes the data in the warehouse and other corporate assets. Metadata surrounds raw data with context, transforming them into knowledge. A metadata management solution describes the data in the warehouse, where they are stored, how they relate to other information, where they come from, and how they are related to the business. Without context, data are often meaningless.
Teradata Meta Data Services is a comprehensive solution for managing metadata for a Teradata system. This makes it possible to provide both technical and business context for the data in the warehouse, identify impact analysis, manage change, foster reuse, and provide extensibility to help meet additional metadata management needs. Ultimately good metadata management eliminates the possibility of becoming data rich, but knowledge poor. Whats in your data warehouse? About the Author Rudy Ezquerro is a senior member of the Teradata Meta Data Services development team. Rudy has been with NCR and Teradata for 20 years and has been involved in the architecture and development of MDS since 1999.
This document, which includes the information contained herein, is the exclusive property of Teradata Corporation. Any person is hereby authorized to view, copy, print, and distribute this document subject to the following conditions. This document may be used for non-commercial, informational purposes only and is provided on an AS-IS basis. Any copy of this document or portion thereof must include this copyright notice and all other restrictive legends appearing in this document. Note that any product, process or technology described in the document may be the subject of other intellectual property rights reserved by Teradata and are not licensed hereunder. No license rights will be implied. Use, duplication or disclosure by the United States government is subject to the restrictions set forth in DFARS 252.227-7013 (c) (1) (ii) and FAR 52.227-19. Teradata continually improves products as new technologies and components become available. Teradata, therefore, reserves the right to change specications without prior notice. All features, functions, and operations described herein may not be marketed in all parts of the world. Consult your Teradata representative or Teradata.com for more information. Copyright 2007 by Teradata Corporation All Rights Reserved. Produced in U.S.A.
EB-5360
>
1007
>
PAGE 10 OF 10