Benefits of Logical Data Model
Models and Model Objects > Logical Data Model > Benefits of Logical Data Model
Logical Data Model allows you to model inheritances in entity relationship diagrams. Universal Data Model and Physical Data Model do not support this feature.
Specifics of Logical Data Model
- There are three methods how inheritance can be resolved when converting to physical model.
- Attributes do not migrate to child entities.
- It is not possible to define database specific items in Logical Model, for example sequences/autoincrements etc.
- You can define Valid Values in logical model (will be converted to physical model).
Benefits of Super and Sub Types
In Logical Model you can define database structure in various ways. See the pictures below. Both of them show a structure modeled in Logical Model and both the models will result in the identical output when converted to Physical Model. The difference is that Model A uses Super and Sub Types while Model B doesn't use inheritance at all.
Model A - Utilizing Super and Sub Types
Model B - Lacking Super and Sub Types
This example shows:
- That you can create logical models in different ways and achieve the same result after conversion to physical model.
- That you can be more productive when using inheritance. For example, you only need to change the Last Name attribute once in the first model. Without using inheritance in model B, you have to change it four times.
- How much “readable” the first model is compared to the second one.
- How important is to select appropriate inheritance resolution when converting your logical model to physical.
- That creating logical models without inheritance has minimal benefits compared to using inheritance.
The main disadvantage of logical modeling is that direct synchronization with existing database is not possible. Only physical models of specific database platforms and versions may be synchronized with an existing database. Therefore, if you want to synchronize your logical model, you need to convert it to the physical model first.
Objects in Logical Model
Objects in Logical Model
Models and Model Objects > Logical Data Model > Objects in Logical Model > Objects in Logical Model
- Relationship (Identifying and non-identifying)
- Category (Caption of Categories)
All these objects are available in the Objects menu | Add New or via icons in the Designer toolbar.
Note: Besides these objects you can add also other graphical shapes to your ER diagram. 2-D Shapes
Format Logical Objects
Models and Model Objects > Logical Data Model > Objects in Logical Model > Format Logical Objects
- Right-click the Workspace in your logical model and select Workspace Format.
- Click the Entity tab.
Display Level - Select items you need to display in your logical model - Entities, Primary Identifiers, Unique Identifiers, Attributes, Descriptions.
See the Display Level box on the toolbar (also View menu | Display Level).
To define colors for attributes on your Workspace
Select Settings | Options | Model section | Logical Model | Entity tab | Attribute Colors area.