Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
How to build a data dictionary
1. How to build a
Data Dictionary
Piotr Kononow
Founder @ Dataedo
https://dataedo.com
2. What is Data Dictionary
• A specification of tables (data sets) in a database
• List of columns/fields with their attributes
• Data Dictionary is (technical) metadata
https://dataedo.com
4. Elements of Data Dictionary
Relationships / Joins
List of data sets/tables
List of columns/fields
Data type
Constraints
Default values
Primary / unique keys
Allowed values
Data Dictionary
Ownership
Classification
Comments
SourcesStatus
https://dataedo.com
5. Why you should care about Data Dictionary?
• Find the data
• Understand the data
– Purpose of tables and columns
– Relationships/joins
– Sources
– Status/quality
• Capture knowledge about the data
• Share knowledge about the data
https://dataedo.com
7. Active Data Dictionary has many names
• „System Catalog Views” – MS SQL Server
• „System Catalog Tables” – Amazon Redshift, IBM Informix
• „System Catalogs” – PostgreSQL
• „System Views” – SAP HANA, Oracle
• „System Tables” – SAP/Sybase ASE, SAP HANA, Vertica, Firebird, …
• „Catalog Views” – IBM Db2
• „Information schema” – MySQL , Snowflake
• „Data Dictionary Views” – Oracle, Teradata
• …
https://dataedo.com
8. Active Data Dictionary views
• Sample MS SQL Server System Catalog Views:
– sys.tables
– sys.columns
– sys.view
– sys.foreign_keys
– sys.index_columns
– …
https://dataedo.com
9. Querying (Active) Data Dictionary
More at:
https://dataedo.com/kb/query/
https://dataedo.com
10. Data Dictionary in different platforms
• RDBMS/data warehouse: Integral part of a database, easily
accessible (active data dictionary)
• Document database/NoSQL (e.g. MongoDB) – embedded in
data itself, requires parsing
• Data Lake: external or none!
https://dataedo.com
12. Where you can find Data Dictionary?
• Design documents / Spreadsheets
• DBMS – active data dictionary
• Data modeling tools
• Database documentation
• Data Dictionary tools / Metadata Reporisoties / Data Catalogs
• ETL tools
https://dataedo.com
13. Data Dictionary tools
• Spreadsheet or word processor
• DBMS active data dictionary + GUI tool
• Data Modeling tools (e.g. Erwin)
• Data Dictionary tools (e.g. Dataedo)
• Data Catalogs
https://dataedo.com