Chat now with support
Chat with Support

Toad Data Modeler 6.5 - User Guide

Introduction User Interface Models and Model Objects
Physical Data Model
Entity Relationship Diagram Objects Basic Database Design Advanced Database Design
Universal Data Model Logical Data Model Working with Model Objects
Features and Tools
Application Variables Export/Import DDL Script Generation Graphics Model Actions Print Create New Project Reports Reverse Engineering Scripting and Customization About Templates Tips and Tricks Toad for Oracle Integration Toad Intelligence Central (TIC) Integration Tools Version Control
Options and Configuration Databases
Amazon Redshift 1.0 IBM DB2 LUW 9.5 IBM DB2 LUW 9.7 IBM DB2 LUW 10.1 IBM DB2 LUW 10.5 IBM DB2 LUW 11.1 IBM DB2 z/OS 10 IBM DB2 z/OS 11 Greenplum 4.1 Greenplum 4.2 Ingres 9.3 Ingres 10.0 EDB Postgres Advanced Server 10 Microsoft Access 2007/2010 Microsoft Azure SQL Database V12 Microsoft SQL Server 2005 Microsoft SQL Server 2008 Microsoft SQL Server 2012 Microsoft SQL Server 2014 Microsoft SQL Server 2016 Microsoft SQL Server 2017 MySQL 5.0 MySQL 5.1 MySQL 5.5 MySQL 5.6 MySQL 5.7 Oracle 10g Oracle 11g Release 1 Oracle 11g Release 2 Oracle 12c Release 1 Oracle 12c Release 2 Oracle 18c Specifics - Oracle 12c Release 2 PostgreSQL 9.0 PostgreSQL 9.1 PostgreSQL 9.2 PostgreSQL 9.3 PostgreSQL 9.4 PostgreSQL 9.5 PostgreSQL 10 SQLite 3.7 Sybase ASE 15.5 Sybase ASE 15.7 SAP ASE 16.0 Sybase IQ 15.2 Sybase SQL Anywhere 11 SAP SQL Anywhere 17 Teradata 13 Vertica Database 8.0
Copyright Legal Notices

Convert Logical Model to Physical Model

Toad Data Modeler allows you to convert your logical model to a physical model of any supported database system.


Before you convert your Logical model to Physical model, you should be aware of the following:

  • Physical model supports only non-identifying self relationship.
  • Inheritance is not supported in PER model. Toad Data Modeler solves this by converting Inheritance object into either Single Table, N-1 Tables or N Tables. See Inheritance.
  • Keys in LER models do not migrate.
  • You can select a linking method in LER model.
  • M:N relationships are supported in both models.
  • Before you start the conversion, you can set up the conversion rules in the Data Type Conversion Settings dialog. This option is available only if Expert Mode is enabled.
  • Cycled relationships will be ignored during LER to PER conversion and will not be converted.  A message informing you about this will be displayed in  Message Explorer Log.

  • Select your desired database platform.

  • Change any of the conversion settings, if necessary.

  • Choose what object types will be converted. You can access full list of Objects and Properties by clicking on Detailed Settings.

  • Check items you want to convert to another model. For easier item management use buttons located on the top.

  • Review the statistic and when you're done, click the Finish button.

  • After a short while your Logical model will be converted to Physical model of your desired database platform.

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.

Data Type Conversion

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.

M:N Relationships

LER and PER models both support M:N relationships. See below how they are converted.


LER Model

PER Model (After Conversion)

Migration of Keys

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.


Linking Method

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

  • Department ID FK is now in the Employee table (child table).
  • Alternate key has been created in the PER model automatically.


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

  • Department ID and Department Name FKs are now in the Employee table (child table).
  • Alternate key has been created in the PER model automatically.

See the Relationship Properties dialog | Foreign Keys tab in PER model after conversion:

LER to PER Conversion - Self-Relationship

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.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating