Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle Data Modeler - Diagram notation

Is there a detailed notational guide for the Relational model diagrams generated by the Oracle Data Modeler?


I'm using Oracle Data Modeler to generate Relational Models for an existing database. It generated a diagram, but I'm not able to decode all the notations in the diagram.

Some of the notations are:

  1. arrows
  2. asterisks (red)
  3. Aphabetical notations (like P, F)
  4. Symbols (like diamond, key)
  5. Abbreviations (like IX)

By mere inference, the above correspond to:

  1. foreign key references
  2. ??
  3. P - Private key; F - Foreign key
  4. key - Private key
  5. ??

However, I'm wondering if there is a detailed notational guide for the Oracle Data Modeler?

I searched for it online, but could find none.

like image 467
mauryat Avatar asked May 25 '12 17:05

mauryat


People also ask

How do you show labels in data modeling?

The relationship names are referred to as 'labels' in SQL Developer. So right click in the model, go to 'Show' and toggle on 'Labels. '

How do I add a foreign key in Oracle Data Modeler?

In a Data Modeler diagram, right-click an object (table or view) and select Implied Foreign Keys. The Implied Foreign Keys dialog is displayed. In the Implied Foreign Keys dialog, click + to add an entry in the grid.

What is a barred relationship in Oracle?

Here comes the following section: Barred Relationships. The unique identifier (UID) of the intersection entity often comes from the originating relationships and is represented by the bars. In this case, the relationships from the originating entities to the intersection entity are called "barred" relationships.


1 Answers

enter image description here

  • P symbol before a Column name: the column is the "Primary key" ("P" for Primary) of the EntityType; Note that you can have two or more columns with a P symbol as a Primary key can be made of several columns

  • F symbol before a Column name: the column is a "Foreign key" ("F" for Foreign) which mean this column is referencing the Primary Key of another entity; Not that you can have several Foreign keys

  • PF symbol together: the column is both a Primary key and a Foreign key

  • "*" symbol (red asterisk): the column has a NOT NULL constraint; in other words, you can't insert a row (also called an "instance" of the Entity Type) in this table without a value for this column)

  • Diamond shape symbol (at the bottom of a Table): show the INDEXES on that table (in general the Primary Key is automatically an Index

like image 153
tmangin Avatar answered Sep 22 '22 13:09

tmangin