Toad Data Modeler allows you to convert your logical model to a physical model of any supported database system.
|
Note: Before you convert your Logical model to Physical model, you should be aware of the following:
|
Choose what object types will be converted. You can access full list of Objects and Properties by clicking on Detailed Settings.
Review the statistic and when you're done, click the Finish button.
|
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. |
Selection Tree Overview
Collapse All. | |
---|---|
Import selection from a saved file. | |
Save selection to a file. | |
Checks all items. | |
Unchecks all items. | |
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. | |
Display options for properties. |
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. |
To define rules for data type conversion
Select Expert Mode | Expert Mode Settings | Data Type Conversion Settings. Data Type Conversion Settings
|
Note: To enable Expert Mode, select Settings | Options | General | Expert Mode checkbox. |
LER and PER models both support M:N relationships. See below how they are converted.
LER Model
PER Model (After Conversion)
In Logical model, keys do not migrate from parent entities to child entities. In Logical model, only logical information is available. The relationships have only a logical meaning (-> FKs do not migrate). However, in Physical model the information on foreign keys is necessary. Therefore when you convert your logical model to a physical model, foreign keys will be displayed properly in the physical model.
Before you start the LER to PER conversion, you can select a linking method in relationships in your LER model. See the following example and the differences after the conversion to PER model:
Example: Department entity has two unique identifiers (non-identifying relationship).
a) UI1 has been selected.
Result after Conversion to Physical Model
b) UI2 has been selected in LER model.
|
Note: In previous Toad Data Modeler versions, during conversion to physical model, primary key was always selected for the relationship as a parent key. Now you can select also alternate key (e.g. UI2) and opposite foreign unique identifiers. |
Result after Conversion to Physical Model
See the Relationship Properties dialog | Foreign Keys tab in PER model after conversion:
If there is a self-relationship in LER model, the entity has two columns, both of the same name (primary key), in converted PER model. Other modifications are necessary.
Possible solution: You can define a name for the propagated attributes in LER model before the conversion. Open the Attribute Properties dialog | General tab | enter the name to the Propagated Name box.
If this box is empty, Toad Data Modeler will behave standardly (two columns of the same name in PER model).
|
Note: It is also possible to set a self relationship attribute name and caption for PER model in Settings | Options | Physical Model | Self Relation Attribute Name, Caption. |
© 2023 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy