Toad Data Modeler allows you to view differences between two models and for physical models you can generate change reports in HTML, RTF and PDF formats. Change reports are not available in logical models.
You can compare your models and generate the change report via the Model Actions.
|
Note: The selected model has to be of the same database platform and version. You cannot compare DB2 10.5 and MySQL 5.1 models, or MySQL 5.1 and MySQL 5.5 models. |
|
TIP:If you plan to do this action again in the future, you might want to click the Save Action button to save this Action Definition. See Model Actions for more information. |
|
nOTE: You can generate Reports in many languages provided that you have the appropriate Dictionaries installed. For more information see Dictionaries. |
You are able to define your own path where the generated report will be saved, if you need to.
Select Layout Page Description Report Layout
- Frameless (for Internet Explorer 7 and FireFox 2 users. Reports with Frameless layout is not displayed in older browsers correctly.)
- Frames - Top menu
- Frames - Left menu
![]()
Note: For large models, Frames - top menu or Frames - left menu options are recommended. (Frameless report layout is not recommended as it uses Java script that goes through all objects, which takes too much time if your model is large.)
CSS Style
Available styles for HTML report:
- Default
- Others (select the most convenient for you)
|
TIP:You can also create your own report styles using CSS. To integrate a custom style into Toad Data Modeler, you have to create a .txs file referencing the style resources and save it to Style folder. |
|
nOTE: You can generate Reports in many languages provided that you have the appropriate Dictionaries installed. For more information see Dictionaries. |
What to Report Dialog Buttons
Option | Description |
---|---|
Selection Menu |
Allows you to save time by loading saved selection. For example, you may decide that you only want your report to cover Entities, some properties of Relationships and After Scripts. Selecting these items every time you generate a report would be frustrating. That's why you have the option to check these items once and then save the selection and load it every time you generate another report. |
Save Selection |
Saves the current selection. If a selection is chosen in the Selection Menu, it will be rewritten. |
Load Selection |
Load the selection chosen in the Selection Menu. |
Save as New |
Saves the current selection as a new selection. You will be prompted to enter a name. |
Delete | Deletes the selection chosen in the Selection Menu. |
Set as Default | Sets the selection chosen in the Selection Menu as default. Such selection is marked by an asterisk in Selection Menu. |
Select All | Selects all items. |
Deselect All | Deselects all items. |
Inverse Selection | Inverts the selection. |
Auto Check |
On: Checking/Unchecking an item will also check all its sub-items. Off: Checking/Unchecking an item will not check its sub-items. |
Compare Tree Overview
Option | Description |
---|---|
Generate a Change Report. | |
Expand All. | |
Collapse All. | |
Go to next object in the tree. | |
Go to previous object in the tree. | |
Display options for objects. | |
Display options for properties. | |
Source Model |
The source model to which the second model is compared to. |
Model to Compare | The model which is compared to the source model. |
Compare Tree Icons
Difference between Source model and Compared model.
Right-click an item to see the following options:
Option | Description |
---|---|
Expand All Children | Expands all sub-items of the selected item. |
Collapse All Children | Collapses all sub-items of the selected item. |
Toad Data Modeler allows you to update models to synchronize changes between your database and your model.
Example: You loaded the database structure of your database to Toad Data Modeler (Reverse Engineering). - Model A was created. Then you made some changes in your database and now you want to update the Model A. For this purpose, you can use the Model Update feature.
Model Update includes operations such as Connections, Model Comparison and Model Merge
To update your model
|
Note: You might be prompted to enter a password to connect to the database. This can be changed by checking Save Password checkbox in specific Connection settings. |
After you're done with selecting the objects, proceed to the next dialog.
Compare Tree Overview
Option | Description |
---|---|
Import selection from a saved file. | |
Save selection to a file. | |
Runs the verification process. The verification might return a warning | |
Checks all items. | |
Unchecks all items. | |
Checks all items that exist in the Source model, but not in the Target model (CREATE). | |
Checks all items that does not exist in the Source model, but exist in the Target model (DROP). | |
Checks all items that exist in both models, but are different (ALTER). | |
Opens the Wildcard Dialog where you can define settings for bulk selection/deselection of the Action box of the items listed on page Select Items. | |
Refresh Necessitated Items Explanation: Some objects are related together (e.g. entity and domain, entity and relationship). Let's say you uncheck a Domain in Select Object Types dialog. However you keep an Attribute of the Domain type checked for conversion. In the next screen the Domain will be selected for conversion (and highlighted in gray), even if you don't want it to. This is because of its relationship with the Attribute, which cannot exist without the Domain. Now, if you uncheck the Attribute, the Domain will still be checked for conversion. This is where you use this button. It runs through all checked objects and removes the Domain highlighted in gray since the Attribute is no longer checked. That means the Domain is no longer necessary, since it has no relationships with currently checked objects and you unchecked it in Select Object Types dialog. | |
Expand All. | |
Collapse All. | |
Go to next object in the tree. | |
Go to previous object in the tree. | |
Display options for objects. | |
Display options for properties.Source | |
Source Model |
The source model (often the database). |
Model to Merge | The model which is going to be updated. |
Operation |
Check this checkbox toupdate the item. Uncheck this checkbox to not update the item. |
Compare Tree Icons
Difference between Source model and the updated model.
This object exists in Source model but does not exist in the updated model.
This object is missing in Source model but exists in the updated model.
Right-click an item to see the following options:
Option | Description |
---|---|
Check All Children | Checks the Operation checkbox of all children items. |
Uncheck All Children | Unchecks the Operation checkbox of all children items. |
Check All Children to Add |
Checks the Operation checkbox of children items that exist in Source model but not in the Target model ( |
Check All Children to Remove | Checks the Operation checkbox of children items that are missing Source model and exist in Target model ( |
Check All Modified Children | Checks the Operation checkbox of children items where properties differ ( |
Uncheck All Children to Add | Unchecks the Operation checkbox of children items that exist in Source model but not in the Target model ( |
Uncheck All Children to Remove | Unchecks the Operation checkbox of children items that are missing Source model and exist in Target model ( |
Uncheck All Modified Children | Unchecks the Operation checkbox of children items where properties differ ( |
Wildcard Filter | Opens the Wildcard Dialog where you can define settings for bulk selection/deselection of the Operation box of the items listed on page Select Items. |
Expand All Children | Expands all sub-items of the selected item. |
Collapse All Children | Collapses all sub-items of the selected item. |
Toad Data Modelerhelps you with synchronization tasks and allows you to:
Situation A - Generation of Change Scripts
You have made changes in your physical ER diagram in Toad Data Modeler and now you need to apply the changes to your database.
Solution: Compare the models and generate Alter Script in Toad Data Modeler. Then use a third party software to connect to your database and execute the generated script. All your changes are now reflected in database. (Note: Change Script generation is not supported for all databases, for further information see Supported Databases.)
Situation B - Model Update
You or someone else made changes to your existing database (development version of database) and you need to transfer the changes to your model.
Solution: Use the Model Update or Model Merge features to update your physical model.
You have created a Logical model in Toad Data Modeler and need to convert the logical model to physical model for the selected database system.
Solution: Use the Model Convert or Simple Model Conversion feature for logical (LER) to physical (PER) model conversion.
|
Note: If you make changes in your LER model and need to update the existing PER model, perform the LER to PER conversion again and then compare the two PER models. |
There are many factors that affect synchronization features in Toad Data Modeler. For example:
In result, the synchronization of your model and your database is more complicated than comparison of two physically existing databases. From technical point of view, the comparison is based on more complicated algorithm that requires more resources.
To print your model
|
Note:
|
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy