Key learning below is created from the webcast Creating Enterprise Standards with CA ERwin Data Modeling.
Bad data or Bad design leads to bad biz. decisions.
Benefits of Standards
- Increased efficiency & data quality
- Reuse across Org.
- ex: CUST represents customer
Why use naming standards?
A glossary of words and abbreviations that can be used for object names. Use Naming Standards editor to:
- develop model naming standards (table prefixes etc)
- name model objects derived from other objects
- reuse across Org.
You can import or export naming standards from/to a file such as a spreadsheet to be shared with other users.
You can attach a naming standards file to your model
Note the naming standards file changes the physical model. Not the abbreviated names.
You can check the naming standards using the naming standards compliance wizard
Name hardening lets you keep legacy names thereby leaving it untouched by the naming standards.
Why use Domains?
Domains are rules assigned to data elements to quickly assign properties to columns. This helps:
- speed design process
- ease of maintenance
Using Macros within Domains
ex: %Lower(%OwnerEntity %AttDomain)
Macros can be inherited across the model. If you apply the above macro to a domain “address” and add that domain to the entities customer and order, note that address is automatically changed to ‘customer address’ in customer table and ‘order address’ in order table.
Why use UDPs?
These are custom model object properties. These are used to
- further document the model objects (more documentation for ease of understanding)
- clarification for the users of the model
- standardize usage across models
Examples – Data Stewards, Status, Documentation attachments(system requirements documents)
UDPs can be set at any level
The below UDP contains:
Data Steward created as list. You can list default values.
System Requirements created as a command to open a document.
Date Modified as a Date
Max table size as Int
UDPs can be viewed under the UDP property of an entity
Why use Data type Standards?
You can define user defined datatypes and mapping information that is needed to convert logical and physical datatypes. These are used to:
- convert models from logical to physical
- convert models from one DBMS to another (ex: SQL Server to Oracle)
- derive other models
- new data types
You can use the Datatype standards editor in ERwin to convert a SQL Server Physical Model to Oracle Physical Model and ERwin will convert the datatypes of the model automatically for you.
Use Derive New Model menu to convert a SQL Server ERwin model to Oracle.
Target Oracle Model
Why use Model Templates?
A starting point for new models for reuse:
- domains
- naming standards
- formatting options
- speeds up development of models
Importing Domains, UDPs, Naming Standards can be imported from another ERwin model using the Complete Compare option
Models can be reverse engineered from script files:
You can reverse engineer a model from a script or database using a template
Why use ERwin Model Manager?
Server based central location for storing standards
- naming standards
- datatype standards
- model templates
- reuse & team collaboration
- does automatic versioning
Reporting to Stakeholders
ERwin has a lot of reporting capabilities that helps sharing information in customizable formats:
- HTML
- PDF
- Text
- RTF
- Crystal Reports
- ODBC queries
Reports can be filtered by Subject Areas or Stored Displays
Query ERwin
