Developing a Data Model
Go Up to Data Modeling Fundamentals
The following overview outlines the ER/Studio Data Architect data model development process, which is an iterative process:
- Starting With a Basic Data Model
- Creating a Basic Data Model
- Reverse Engineering a Database
- Importing a File to Create a New Database
- Generating a Data Model Using AI
- Ensuring Data Integrity
- Automating Data Model Creation and Maintenance
- Fine Tuning the Data Model
- Securing the Data Model
- Preparing for Review and Implementation
- Maintaining the Data Model
Starting With a Basic Data Model
You can start from scratch or reverse engineer an existing database.
Creating a Basic Data Model
- Create a new data model.
- Add entities.
- Define entity attributes.
- Establish relationships between entities.
- Assign keys.
Reverse Engineering a Database
Importing a File to Create a New Database
Import data from a variety of sources to create a new database. See Importing a Model from an ERX File and Importing a Model from a SQL File for further details.
Generating a Data Model Using AI
WARNING: The accuracy of data models generated using AI is not guaranteed. Any content generated using this tool must be separately reviewed and verified by a human.
- Click File > New.
- In the Create a New Model dialog, select Generate Using AI, and then click OK.
- Review the displayed terms and conditions for using the Data Architect AI feature. If you acknowledge and agree to the terms, click Accept.
- The AI Model Builder window appears.
- In the Model Prompt field, input a description of the model that you want to build. Note that the Surprise Me button provides an example prompt so that you can get an idea of what information and format helps the AI build a good model. You can always change or delete text typed in this field.
- In the Options area, select the appropriate initial layout. Hierarchical is selected by default.
- Optional. Click Remember this text to save the entered prompt text to appear the next time you open this dialog.
- Click Generate. The AI Model Builder displays a progress dialog while building the model based on your input.
- When finished, the AI Model Builder displays your new model in the background while also displaying a robust description of the model in the AI Model Builder Progress dialog.
- Click Save to File or Print to retain a copy of the log generated during model creation.
- Click Close to close the AI Model Builder Progress dialog.
Ensuring Data Integrity
- Ensure object names conform to business standards by creating and applying naming conventions.
- Ensure data values are within a specified range or that they match a value defined in a list by defining reference values.
- Ensure data input in tables or column is valid by add rules.
Automating Data Model Creation and Maintenance
- Accelerate entity creation and updates by creating domains.
- Assist user data entry by assigning default values.
- Create macros to perform repetitive tasks.
- Define default values for attributes, domains, and user datatypes.
- Add reusable procedural logic.
Fine Tuning the Data Model
- Validate the model.
- Customize the datatype mappings.
- Create user-defined datatypes for domains and attributes.
- Generate a physical model.
- Normalize to reduce data redundancy.
- Denormalize to improve performance.
Securing the Data Model
- Check the data model in to the Repository.
- Prevent the data model from being updated or viewed by unauthorized persons by creating Users, Groups. and Roles and apply them to the data model. See Creating and Editing Database Users and Creating and Editing Database Roles for more information.
- Prevent the database from being updated or viewed by unauthorized persons by creating Users and Roles and apply them to the data model. See Creating and Editing Database Users and Creating and Editing Database Roles for more information.
- Specify data security information.
Preparing for Review and Implementation
- Customize the model display.
- Provide additional documentation for data model reviewers by creating attachments.
- Document data lineage.
- Create reports for distribution.
- Make it easy for users to access the data by providing a dimensional mode.
- Generate SQL to implement the database.
Maintaining the Data Model
- Ensure the model is updated from the correct sources by documenting data lineage.
- As the physical database is updated, synchronize the physical database model with the physical database.
- As the physical database model is updated, synchronize the logical database with the physical database.
- As updates are required, check out portions of the data model from the Repository.