SQL Developer Data Modeler (referred to as Data Modeler) is a data modeling and database design tool that provides an environment for capturing, modeling, managing, and exploiting metadata.
This chapter contains the following major sections:
To install and start SQL Developer Data Modeler, the process is similar to that for SQL Developer: you download a .zip file and unzip it into a desired parent directory or folder, and then type a command or double-click a file name. You should read any Data Modeler release notes or "readme" file before you perform the following steps.
Unzip the Data Modeler kit into a directory (folder) of your choice. This directory location will be referred to as
<datamodeling_install>. For example, on a Windows system you might want to choose
C:\Program Files as this location.
Unzipping the Data Modeler kit causes a directory named
datamodeling to be created under the
<datamodeling_install> directory. It also causes many files and folders to be placed in and under that directory.
To start Data Modeler, go to the
datamodeling directory under the
<datamodeling_install> directory, and do one of the following:
On Linux and Mac OS X systems, run sh datamodeling.sh.
On Windows systems, double-click
If you are asked to enter the full pathname for java.exe, click Browse and find java.exe. For example, on a Windows system the path might have a name similar to
If you want to become familiar with data modeling concepts before using the interface, read the rest of this chapter before proceeding to the next step.
Do the short tutorial in Chapter 2, "Data Modeler Tutorial: Modeling for a Small Database". (For more advanced tutorials and other materials, see Section 1.10, "Additional Resources for Data Modeling".)
The Data Modeler window generally uses the left side for navigation to find and select objects, and the right side to display information about selected objects.
Figure 1-1 shows the main window.
The menus at the top contain some standard entries, plus entries for features specific to Data Modeler (see Section 1.2.1, "Menus for Data Modeler"), as shown in the following figure.
You can use shortcut keys to access menus and menu items: for example Alt+F for the File menu and Alt+E for the Edit menu; or Alt+H, then Alt+C for Help, then Contents. You can also display the File menu by pressing the F10 key.
Icons under the menus perform actions relevant to what is currently selected for display on the right side of the window, such as the logical model, a relational model, or a data flow diagram. For example, for a relational model the icons include New Table, New View, Split Table, Merge Tables, New FK Relation, and Generate DDL. To see the name of any icon, hover the pointer over the icon. The actions for the icons are also available from the Object menu.
The left side of the Data Modeler window has an object browser with a hierarchical tree display for data modeling objects, as shown in the following figure.
To select an object in the object browser, expand the appropriate tree node or nodes, then click the object.
The right side of the Data Modeler window has tabs and panes for objects that you select or open, as shown in the following figure, which displays information about a deliberately oversimplified relational model for library-related data (the model developed in Chapter 2, "Data Modeler Tutorial: Modeling for a Small Database").
To switch among objects, click the desired tabs; to close a tab, click the X in the tab. If you make changes to an object and click the X, you are asked if you want to save the changes.
This topic explains menu items that are of special interest for Data Modeler .
Open: Opens a Data Modeler design that had been saved or exported. For more information, see Section 1.6, "Saving, Opening, Exporting, and Importing Designs".
Close: Closes the current design without exiting Data Modeler.
Import: Lets you import models from a variety of sources. For more information, see Section 1.6, "Saving, Opening, Exporting, and Importing Designs".
Export: Lets you export models to files that can be imported into a variety of data modeling tools. For more information, see Section 1.6, "Saving, Opening, Exporting, and Importing Designs".
Print: Prints the currently selected diagram.
Print Diagram: Saves the currently selected diagram to an image file of the type associated with the file extension that you specify (.png or.jpg), to a PDF file, or to a scalable vector graphics (.svg) file.
Recent Designs: Lets you open a Data Modeler design that you recently worked on.
Contains options related to the discovery of hidden foreign key relationships.
Create Discovered Foreign Keys: Displays any discovered hidden foreign key relationships in a relational model. (See Section 3.15, "Create Discovered Foreign Keys".)
Remove Discovered Foreign Keys: Removes any discovered foreign keys from the relational model diagram.
Contains options that affect what is displayed in the Data Modeler interface.
Browser: Displays the object browser, which shows data modeling objects in a hierarchical tree format.
Navigator: Displays a graphical thumbnail representation of the view that is currently selected in the right side of the window.
Log: Displays the Log pane with a record of Data Modeler actions.
View Details: Controls the level of detail in displays.
Logical Diagram Notation: Controls whether Barker or Bachman notation is used to display the logical model.
DDL File Editor: Lets you generate DDL statements for a selected physical model. Displays the DDL File Editor dialog box. (This command is equivalent to clicking the Generate DDL icon when a relational model is selected, or clicking Object, then Relational, then Generate DDL.)
Find: Displays a dialog box for finding objects in the currently selected diagram. Useful for finding objects in large, complex diagrams.
Contains options for generating models.
Contains options related to support for the Subversion version management and source control system. See Section 1.9, "Using Versioning" for more information.
The commands on the Versioning menu depend on which version management and source control systems are available for use with Data Modeler.
Invokes Data Modeler tools and lets you set certain options (user preferences).
Domains Administration: Lets you view, modify, add, and delete domains. Displays the Domains Administration dialog box.
Types Administration: Lets you view, modify, add, and delete logical types. Displays the Types Administration dialog box.
RDBMS Site Administration: Lets you view RDBMS sites (names associated with supported types of databases), and to add your own names (aliases) for convenience in creating physical models. Displays the RDBMS Site Editor dialog box.
Table to View Wizard: Lets you create views based on tables in a selected relational model. Displays the Table to View wizard.
View to Table Wizard: Lets you create tables based on views in a selected relational model. Displays the View to Table wizard.
Name Abbreviations: Specifies a .csv file with strings to be changed in names of relational model objects (for example, to ensure the use of standard abbreviations or spellings). Displays the Name Abbreviations dialog box.
Glossary Editor: Lets you create a new glossary file (if you specify a file name that does not exist) or edit an existing glossary file. Displays a file selection dialog box, and then the Glossary Editor dialog box.
Design Rules: Lets you check your current design for violations of Data Modeler design rules. Displays the Design Rules dialog box.
Engineering Status: Displays the Engineering dialog box.
Compare/Merge Models: Lets you open a design file, compare a relational model from the file with a relational model in the current design, and merge objects from one model into the other. After you select the design file, the Relational Models dialog box is displayed.
General Options: Lets you customize the behavior of Data Modeler. Displays the Data Modeler dialog box.
Displays help about Data Modeler.
Contents: Displays the Help Center window. In this window you can click these icons:
Keep on Top: Toggles whether to keep the Help Center window on top of the Data Modeler window.
Navigators: Lets you select the Contents or Favorites navigator.
Print: Prints the topic.
Change Font Size: Lets you increase or decrease the font size for the display of the current help topic.
Add to Favorites: Adds the topic to the list in the Favorites navigator.
Find: Lets you search for a string in the current help topic.
About: Displays version-related and other information about Data Modeler, its properties, and installed extensions.
The context menus (right-click menus) in the object browser and diagrams contain commands relevant for the object or objects selected.
In the object browser, if you right-click the logical model or a relational model, the context menu generally includes the following:
Set Classification Types: For entities or tables in a multidimensional model, lets you set the classification type for each: Fact, Dimension, Logging, Summary, or Temporary. (You can also specify colors to be used in diagrams for each classification type in the Diagram: Classification Types user preference.)
Apply Naming Standards to Keys and Constraints (relational models): Applies naming standardization rules specified for Naming Standard: Templates in the Naming Standard preferences to keys and constraints in the selected relational model.
Change Object Names Prefix: Specifies the new prefix to replace a specified current prefix for selected types of objects. Displays the Change Object Names Prefix dialog box.
Apply Custom Transformation Scripts: Displays the Custom Transformation Scripts dialog box, where you can select scripts to be applied. (For more information about custom transformation scripts, see Section 3.22.4, "Transformations".)
Discover Foreign Keys: Lets you discover foreign key relationships among tables in the relational model, and to create foreign keys. (See Section 3.15, "Create Discovered Foreign Keys".)
In diagrams, if you right-click outside any displayed object, the context menu generally includes the following:
Create Discovered Foreign Keys (relational model) Displays discovered hidden foreign key relationships in a relational model. (See Section 3.15, "Create Discovered Foreign Keys".)
Remove Discovered Foreign Keys (relational model): Removes any discovered foreign keys from the relational model diagram.
Create Subview: Creates a subview. (See also Section 220.127.116.11, "Logical Diagram and Subviews" and Section 18.104.22.168, "Relational Diagram and Subviews".)
Create Display: Creates a separate display pane of the view or subview.
Auto Route: Toggles the setting of the Line Auto Route option (see Diagram under Data Modeler). You must disable Auto Route before you can adjust lines in diagrams, such as clicking and dragging edges and elbows (vertices) to move them, or Ctrl+clicking and dragging on an edge to create a new elbow. Note: If you then enable Auto Route, any manual adjustments are lost.
Straighten Lines (available only if Auto Route is disabled): Removes any elbows so that the line contains only the start and end points.
AutoLayout (relational and data flow diagrams): Rearranges the objects in the diagram to a layout that may be more meaningful and attractive. If you do not like the rearrangement, you can restore the previous layout by clicking Edit, then Undo AutoLayout.
View Details: Lets you view all available details for objects or only selected details.
Show: Grid displays a grid in the background, which can help you to align objects vertically and horizontally on the diagram; Labels displays the foreign key names on relationship arrows and the flow names on flow lines in data flow diagrams; Legend displays a legend box (which you can drag to move) containing the diagram name, author, creation date, and other information.
Resize Objects to Visible: Resized objects in the diagram so that all are visible in the display area.
Properties: Displays the dialog box for viewing and editing properties of the model.
In diagrams, if you right-click a line connecting two objects object, the context menu generally includes the following:
Delete: Removes the line and deletes the relationship represented by the line.
Straighten Lines (available only if Auto Route is disabled): Removes any elbows so that the line contains only the start and end points.
Format: Lets you change the width and color of the line.
Properties: Displays the dialog box for viewing and editing properties of the relationship represented by the line.
In the logical and relational diagrams, if you select one or more entities or tables and right-click one of them, the context menu includes at least the following:
Create Subview from Selected: Creates a subview containing the selected objects. (See also Section 22.214.171.124, "Logical Diagram and Subviews" and Section 126.96.36.199, "Relational Diagram and Subviews".)
Select Neighbors: Selects objects that are related to the selected object or objects. You can specify the selection direction: All (higher- and lower-level zones), Parent, or Child. You may want to select neighbors before creating a subview from the selection.
DDL Preview (relational diagrams): Shows the DDL statement that would be generated to create the object.
Format: Lets you specify colors and fonts for the selected objects.
Send to Back: Sends the selected objects to the back of the diagram display, which may cause them to be partially or completely covered by other objects.
Properties: Displays the dialog box for viewing and editing properties of the object.
In data flow diagrams, if you select one or more objects and right-click one of them, the context menu includes at least the following:
Delete: Deletes the selected object.
Format: Lets you specify colors and fonts for the selected objects.
Send to Back (for objects not represented by lines): Sends the selected objects to the back of the diagram display, which may cause them to be partly or completely covered by other objects.
Properties: Displays the dialog box for viewing and editing properties of the object.
You can use Data Modeler to create, edit, and delete objects at different hierarchy levels in different kinds of models. Many objects have similar properties, and the methods for performing operations are usually consistent and intuitive. To perform operations on objects (create, edit, delete), you can often use the context menu in the object browser or the toolbar or the Object menu after selecting a diagram.
To perform an operation on an object using the object browser, right-click the appropriate node (or click the node and press Shift+f10) in the hierarchy, and select the command for the desired operation.
For example, to edit an entity, expand the Logical display so that all entities are visible, right-click the name of the entity to be edited, and select Properties.
To perform an operation using a diagram, select the tab for the diagram, and use either the toolbar icons or the Object menu commands.
For example, to create an entity, select the Logical tab; either click the New Entity toolbar icon or click Object , then Logical, then New Entity; then define the entity in the Entity Properties box. To edit an entity, either double-click its box in the diagram or right-click the box and select Properties.
Context Menus (right-click menus) in diagrams contain commands relevant for either the diagram generally or the object or objects currently selected.
For conceptual and usage information about specific kinds of objects, see the following topics:
Data Modeler works with one open database design, consisting of one logical model, optionally one or more relational models based on the logical model, and optionally one or more physical models based on each relational model. The database design can also include a data types model, and business information. To work on another database design, close the current design (click File, then Close), and create or import objects for the other database design.
When you save a database design, the structural information is stored in an XML file (with the extension
.dmd) in a folder or directory that you specify, and subfolders or subdirectories are created as needed under it. The
.dmd file contains pointers to information in these subfolders or subdirectories. For example, for a very basic design named
my_db_design, the following hierarchy might be created starting at the folder or directory in which you created it:
my_db_design.dmd my_db_design businessinfo datatypes subviews logical entity subviews mapping pm rdbms rel 1 subviews table
Additional subfolders or directories may be automatically created later, for example,
pm if you create any data flow diagrams in the process model.
Data Modeler supports supertypes and subtypes in its logical model, but it also provides the data types model, to be CWM compliant and to allow modeling of SQL99 structured types, which can be used in the logical model and in relational models as data types.
Structured types are supported as named user-defined composite types with the possibility of building a supertype/subtypes inheritance hierarchy. You can create and visualize structured types and the inheritance hierarchies of structured types, defining distinct and collection (array) types.
Both logical and relational models can use definitions from the data types model to specify the data type for attributes and columns or to define that a table (entity) is of a certain structured type.
You can build the data types model in one or more of the following ways:
Manually in Data Modeler
By importing from Oracle Designer repository. See Section 1.6.6, "Importing an Oracle Designer Model".
The data types model in Data Modeler combines two kinds of data:
One data types diagram, plus an optional set of subviews and auxiliary displays, each associated with the appropriate diagram/subview
Data type object definitions
Subviews are considered as independent diagrams of the data types model, created to represent different subject areas.
The data types model enables you to create and manage object definitions of distinct, structured, collection, and logical types.
All data type model objects (except logical types) are displayed in the object browser tree, but only structured type objects and their interrelations are represented graphically on data types diagrams.
The data types diagram contains graphical representations of structured data types and links between them, as shown in the following figure.
A structured type box contains the name of the object, its defined attributes, and its methods (if any). Diagram links represent various kinds of attributes with a structured data type.
When you are working with a complicated data types model, you may want to create subviews, with each subview describing only a section of that model. You can define several data types subviews for a single data types model, and you can assign a structured type to more than one subview. However, links (references) between two structured types are displayed on the complete data types model and only on subviews to which both types have been assigned.
There is no difference between performing changes in a subview or in the complete data types model. Any changes made are immediately reflected in the complete model and any relevant subviews. However, you can remove a structured type from a subview without deleting it from the data types model.
A user-defined distinct type is a data type derived from an existing logical type, defined in Types Administration dialog box. A distinct type shares its representation with an existing type (the source type), but is considered to be a separate and incompatible type.
A distinct type object can be accessed only in the Distinct Types subfolder of the Data Types folder.
You can create new distinct types or edit the properties of existing distinct types.
Structured types are user defined data types have attributes and methods. They also can be part of a supertype and subtype inheritance hierarchy. A structured type can be defined based on a basic data type, a distinct type, another structured type, or a reference to structured type, or it can be defined as a collection type.
A table or entity can be defined as based on a structured type. Type substitution enables you to describe (graphically on a diagram) instances of which subtypes can be accommodated by the table (entity).
Table column or entity attributes can be defined as based on a structured type, a reference to structured type, a collection type, a distinct type, and basic data types. Type substitution can be defined for a column based on a structured type, and a scope table can be defined for a column based on a reference to a structured type.
A structured type also includes a set of method specifications. Methods enable you to define behaviors for structured types. Like user-defined functions (UDFs), methods are routines that extend SQL. In the case of methods, however, the behavior is integrated solely with a particular structured type.
The expanded structured types subfolder lists all structured type objects, with the hierarchy of attributes and methods for each.
The Oracle Spatial SDO_GEOMETRY type is predefined as a structured type. In addition, you can create new structured types or edit the properties of existing structured types.
Collection types represent arrays or collections of elements (basic type, distinct type, structured type, or another collection) and are mapped to the Oracle VARRAY and nested table types.
You can create new collection types or edit the properties of existing collection types.
Logical types are not actual data types, but names that can be associated with native types or with domains. The presupplied logical types include several from Oracle Multimedia (names starting with ORD); however, ORDIMAGE_SIGNATURE is deprecated and should not be used for new definitions.
You can create logical types and edit their mappings to native types (see Section 3.132, "Types Administration"), and you can associate a domain with a logical type (see Section 3.28, "Domains Administration").
The process model represents a functional area of an information structures system. The process model, embodied graphically in one or more data flow diagrams, is an analysis technique used to capture the flow of inputs through a system (or group of processes) to their resulting output. The model shows the flow of information through a system, which can be an existing system or a proposed system.
All necessary elements for data flow diagramming are supported in the Data Modeler process model: primitive processes, composite processes with unlimited levels of decomposition, reusable transformation tasks, triggering events, information stores, external agents, record structure for describing external data elements, source-target mapping of data elements, and CRUD (create, read, update, delete) dependencies between primitive process and data elements.
The following are important concepts for the process model:
A primitive process is a standalone process.
A composite process consists of multiple outer processes. The data flow model allows you to drill down to child processes through a composite process. This means that a top-level process can drill down to another full data flow model.
A trigger is something that happens which initiates the execution of a process.
A data flow reflects the movement of single piece of data or logical collection of information. Flows describe the sequence of a data flow diagram. (For more information, see Section 188.8.131.52, "Data Flow Diagrams".)
An information store is a passive object that receives or stores information as entities and attributes in the data model. Ultimately, an information store corresponds with one or more entities of the data model.
A transformation task, including input and output parameters, is an execution unit that communicates with surrounding environment that will execute it. An input parameter might be a date for which processing should be done. An output parameter might be a code that indicates whether the operation was successful or not. Transformation itself might involve reading, transforming, and saving information, some of which may not be directly tied to the input and output parameters. (For more information, see Section 184.108.40.206, "Transformation Processes and Packages".)
A role is a set of defined privileges and permissions. Primitive processes connected to information stores (processes that create, read, update, and delete data elements) can be attached to a defined role, thus defining collaboration between roles and data elements. Later, role definitions can be transferred to any particular physical model such that appropriate database roles with defined Select, Insert, and Update permission will be created.
A formal, structured analysis approach employs the data flow diagram (DFD) to assist in the functional decomposition process. A data flow diagram consists of the following components:
External interactors, which are represented by rectangles
Data stores, which are represented by open rectangles (two or three sides)
Processes, which are represented by any rounded object (circle, oval, or square with rounded corners)
A process can represent a system function at one of various levels, from atomic through aggregate.
Data flows, which are represented by arrows, and optionally with labels indicating their content.
In a general data flow diagram, you may want to extract data from external sources and then transform the data before loading the it into the target store or database. You can build transformation packages for use with transformation processes.
For a transformation process, you need to create one or more transformation tasks in a transformation package. After you have the transformation task, you can include that in the main transformation process.
A transformation package is a package as defined in the Object Management Group (OMG) Common Warehouse Metamodel™ (CWM™) Specification, V1.1. This specification introduces transformation packages as follows:
"A key aspect of data warehousing is to extract, transform, and load data from operational resources to a data warehouse or data mart for analysis. Extraction, transformation, and loading can all be characterized as transformations. In fact, whenever data needs to be converted from one form to another in data warehousing, whether for storage, retrieval, or presentation purposes, transformations are involved. Transformation, therefore, is central to data warehousing.
"The Transformation package contains classes and associations that represent common transformation metadata used in data warehousing. It covers basic transformations among all types of data sources and targets: object-oriented, relational, record, multidimensional, XML, OLAP, and data mining.
"The Transformation package is designed to enable interchange of common metadata about transformation tools and activities."
At the core of Data Modeler is the logical model (also called the entity-relationship diagram). It provides an implementation-independent view of enterprise information and acts as the mediator that maps definitions in the dimensional and process models to different physical implementations. A logical model, or a part of it (subject area, subview), can be transformed to one or more relational models.
You can build the logical model in any of the following ways:
Manually in Data Modeler
By importing models in a VAR file, such as those created by Sterling COOL:DBA V2.1 or Sterling Bsnteam V7.2, Cayenne Bsnteam V7.2, Rational Rose, TogetherJ, JDeveloper, MEGA, or PowerDesigner v.12
By importing an existing model created by Data Modeler
By reverse engineering from an imported relational model
The logical model combines two kinds of data:
One logical diagram, plus an optional set of subviews and auxiliary displays, each associated with the appropriate diagram or subview
Logical model object definitions
Subviews are considered as independent diagrams of the logical model, created to represent different subject areas.
The logical model enables you to create and manage object definitions for entities, logical views, attributes, unique identifiers, inheritances, relations, and arcs.
All logical model objects are displayed in the object browser tree.
The logical model diagram contains graphical representations of entities, views, and links (relations and inheritances) between them.
When you are working with a complex logical model, you may want to create subviews, each describing only a section of that model. You can define several logical subviews for a single logical model, and you can assign entities and views to more than one subview. Links (relations) between two entities are displayed on the complete logical model and on logical subviews to which both referenced entities have been assigned.
There is no difference between performing changes in one of the subviews or in the complete logical model. Any changes made are immediately reflected in the complete logical model and any relevant subviews. However, you can remove entities and views from a subview without deleting them from the complete logical model.
To create a subview containing specific entities, you can select the desired entities in the logical model diagram, right-click, and select Create Subview from Selected.
Data Modeler supports the following alternatives for logical model diagramming notation:
Detailed explanations and examples of each notation style are widely available in textbooks and on the Web. You can set the default notation type for new logical diagrams in the Data Modeler (General Options, Diagram, Logical).
To switch from one notation type to the other (and to see the differences for a diagram), select the logical model diagram and click View, then Logical Model Notation, then the notation that is not the current one.
An entity is an object or concept about which you want to store information. The structure of entity can be defined as collection of attributes or as based on structured type from the data types model. An entity may have candidate unique identifiers, one of which can be defined as primary unique identifier. Usually, an entity is mapped to table in the relational model.
A data attribute (property, data element, field) is a characteristic common to a particular entity. The data type of an attribute can be based on a logical data type, a domain, a distinct type, a collection type, or a structured type, or it can be a reference to structured type. If it a reference to a structured type, a scope entity can be defined. An attribute is mapped to a column in the relational model.
An entity unique identifier can be composed of one or more attributes. For each entity, you can define one primary unique identifier that uniquely identifies each entity occurrence. You can also specify one or more foreign unique identifiers, each of which points to (that is, must contain a value found in) a unique identifier in another entity.
Inheritance defines a hierarchy of entities based on supertypes and subtypes. The supertype and subtype entities represent part of a system that has a recognizable subset of occurrences of an existing entity type. The subsets) are referred to as entity subtypes, with the original entity type being the supertype.
All attributes and relationships of the supertype must belong to all of its subtypes. However, some attributes and relationships of the subtype are added to those of the supertype. Subtypes are usefully defined where an identifiable group of entity occurrences has attributes in addition to those of the supertype.
A relation (data relationship) is a natural association that exists between two or more entities. Cardinality defines the number of occurrences of one entity for a single occurrence of the related entity.
The relationship can be identifying or not identifying, and with a cardinality of 1:1 (one-to-one), 1:N (one-to-many), or N:M (many-to-many). A relationship with N:M cardinality is mapped to a reference table in the relational model. An identifying relationship indicates that the relationship is a component of the primary identifier for the target entity.
An arc is an exclusive relationship group, which is defined such that only one of the relationships can exist for any instance of an entity. For example, a seminar may be able to be taught by a staff member or an external consultant, but not by both. As examples, a seminar for new employees can be taught only by a corporate staff member, while a seminar in using Product XYX can be taught only by an external consultant with special qualifications.
All relations included in an arc should belong to the same entity and should have the same cardinality Any foreign unique identifier (foreign UID) attributes belonging to relationships in an arc should be transferred as Allow Nulls during forward engineering. The meaning of mandatory relationships in an arc is that only one relationship must exist for a given instance of an entity.
To create an arc, do so after creating all the relationships to be included. Select the entity box, select all relationship lines to be included (hold Shift and click each line), and click the New Arc button in the toolbar or click Object, then Logical, then New Arc.
Type substitution is a subclassing mechanism that complements inheritance. Type substitution on the entity level take place only if the following are defined:
Supertype/subtype inheritance between two structured types
Entities based on the structured types which form a data type inheritance hierarchy (supertype/subtype inheritance)
A relational model describes a database in terms of SQL tables, columns, and joins between tables. Each entity that you choose from the logical model is represented as a table in the relational model. Each row is a table represents a specific, individual occurrence of the corresponding entity. Each attribute of an entity is represented by a column in the table.
You can build a relational model in any of the following ways:
Manually in Data Modeler
By forward engineering from the logical model or a subview of the logical model
By importing models in a VAR file, such as those created by Sterling COOL:DBA V2.1 or Sterling Bsnteam V7.2, Cayenne Bsnteam V7.2, Rational Rose, TogetherJ, JDeveloper, MEGA, or PowerDesigner v.12
By importing an existing model created by Data Modeler
By importing an Oracle Designer model
By importing DDL files based on an existing database implementation
By importing from the data dictionary of a supported database type and version
A relational model combines two kinds of data:
One relational diagram, plus an optional set of subviews and auxiliary displays, each associated with the appropriate diagram or subview
Relational model object definitions
Subviews are considered as independent diagrams of the relational model, created to represent different subject areas.
A relational model enables you to create and manage object definitions for tables, views, columns, indexes, and foreign keys, and optionally to associate certain relational model objects with database schemas. A relational model can contain one or more physical models.
All relational model objects are displayed in the object browser tree.
The relational diagram contains graphical representations of tables, views, and links between them.
When you are working with a complex relational model, you may want to create subviews, each describing only a section of that model. You can define several relational subviews for a single relational model, and you can assign tables and views to more than one subview. Links (relations) between two tables are displayed on the complete relational model and on relational subviews to which both referenced tables have been assigned.
If you import from the data dictionary and select more than one schema to import, a relational model is created for all the schemas and a subview is created for each schema.
There is no difference between performing changes in one of the subviews or in the complete relational model. Any changes made are immediately reflected in the complete relational model and any relevant subviews. However, you can remove tables and views from a subview without deleting them from the complete relational model.
A table is an object in which you want to store information. The structure of table can be defined as a group of columns or as based on structured type from data types model. A table may have candidate keys, one of which can be defined as primary key. Usually, a table is mapped to entity from the logical model.
A table column is a characteristic common to a particular table. The data type of a column can be based on a logical data type, a domain, a distinct type, a collection type, or a structured type, or it can be a reference to structured type. If it is a reference to a structured type, a scope table can be defined. Usually, the columns in a table are mapped to the attributes of the corresponding entity from the logical model.
An index is an object that consists of an ordered set of pointers to rows in a base table. Each index is based on the values of data in one or more table columns. Defining indexes on frequently searched columns can improve the performance of database applications.
A relation (data relationship) is a natural association that exists between two or more tables. Relationships are expressed in the data values of the primary and foreign keys. Cardinality defines the number of occurrences in one table for a single occurrence in the related table.
An identifying relationship indicates that the relationship is a component of the primary identifier for the target table.
An exclusive relationship (arc) specifies that only one of the relationships can exist for a given instance in the table. For example, a seminar may be able to be taught by a staff member or an external consultant, but not by both. As examples, a seminar for new employees can be taught only by a corporate staff member, while a seminar in using Product XYX can be taught only by an external consultant with special qualifications.
All relationships in an arc should belong to the same table, and should have the same cardinality. Any foreign key (FK) attributes belonging to relationships in an arc should be transferred as Allow Nulls during forward engineering. The meaning of mandatory relationships in an arc is that only one relationship must exist for a given instance in the table.
To create an arc, do so after creating all the relationships to be included. Select the table box, select all relationship lines to be included (hold Shift and click each line), and click the New Arc button in the toolbar or click Object, then Relational, then New Arc.
A physical model describes a database in terms of Oracle Database objects (tables, views, triggers, and so on) that are based on a relational model. Each relational model can have one or more physical models. The following shows a database design hierarchy with several relational and physical models:
Database design Logical model Relational model 1 Physical model 1a Physical model 1b . . . (other physical models) Relational model 2 Physical model 2a Physical model 2b . . . (other physical models) . . . (other relational models)
Each physical model is based on an RDBMS site object. An RDBMS site is a name associated with a type of database supported by Data Modeler. Several RDBMS sites are predefined (for example, for Oracle 11g and Microsoft SQL Server 2005). You can also use the RDBMS Site Editor dialog box to create user-defined RDBMS sites as aliases for supported types of databases; for example, you might create sites named Test and Production, so that you will be able to generate different physical models and then modify them.
When you export to a DDL file, you specify the physical model to be applied. The generated DDL statements include clauses and keywords appropriate for features specified in that physical model (for example, partitioning for one or more tables).
Physical models do not have graphical representation in the work area; instead, they are displayed in the object browser hierarchy. To create and manage objects in the physical model, use the Physical menu or the context (right-click) menu in the object browser.
The rest of this topic briefly describes various Oracle Database objects, listed in alphabetical order (not the order in which they may appear in an Oracle physical model display).
A cluster is a schema object that contains data from one or more tables.
An index cluster must contain more than one cluster, and all of the tables in the cluster have one or more columns in common. Oracle Database stores together all the rows from all the tables that share the same cluster key.
In a hash cluster, which can contain one or more tables, Oracle Database stores together rows that have the same hash key value.
A context is a set of application-defined attributes that validates and secures an application.
A dimension defines a parent-child relationship between pairs of column sets, where all the columns of a column set must come from the same table. However, columns in one column set (called a level) can come from a different table than columns in another set. The optimizer uses these relationships with materialized views to perform query rewrite. The SQL Access Advisor uses these relationships to recommend creation of specific materialized views.
A directory is an alias for a directory (called a folder on Windows systems) on the server file system where external binary file LOBs (BFILEs) and external table data are located.
You can use directory names when referring to BFILEs in your PL/SQL code and OCI calls, rather than hard coding the operating system path name, for management flexibility. All directories are created in a single namespace and are not owned by an individual schema. You can secure access to the BFILEs stored within the directory structure by granting object privileges on the directories to specific users.
A disk group is a group of disks that Oracle Database manages as a logical unit, evenly spreading each file across the disks to balance I/O. Oracle Database also automatically distributes database files across all available disks in disk groups and rebalances storage automatically whenever the storage configuration changes.
An external table lets you access data in an external source as if it were in a table in the database. To use external tables, you must have some knowledge of the file format and record format of the data files on your platform.
An index is a database object that contains an entry for each value that appears in the indexed column(s) of the table or cluster and provides direct, fast access to rows. Indexes are automatically created on primary key columns; however, you must create indexes on other columns to gain the benefits of indexing.
A role is a set of privileges that can be granted to users or to other roles. You can use roles to administer database privileges. You can add privileges to a role and then grant the role to a user. The user can then enable the role and exercise the privileges granted by the role.
A rollback segment is an object that Oracle Database uses to store data necessary to reverse, or undo, changes made by transactions. Note, however, that Oracle strongly recommends that you run your database in automatic undo management mode instead of using rollback segments. Do not use rollback segments unless you must do so for compatibility with earlier versions of Oracle Database. See Oracle Database Administrator's Guide for information about automatic undo management.
A segment is a set of extents that contains all the data for a logical storage structure within a tablespace. For example, Oracle Database allocates one or more extents to form the data segment for a table. The database also allocates one or more extents to form the index segment for a table.
A sequence is an object used to generate unique integers. You can use sequences to automatically generate primary key values.
A snapshot is a set of historical data for specific time periods that is used for performance comparisons by the Automatic Database Diagnostic Monitor (ADDM). By default, Oracle Database automatically generates snapshots of the performance data and retains the statistics in the workload repository. You can also manually create snapshots, but this is usually not necessary. The data in the snapshot interval is then analyzed by ADDM. For information about ADDM, see Oracle Database Performance Tuning Guide.
A stored procedure is a schema object that consists of a set of SQL statements and other PL/SQL constructs, grouped together, stored in the database, and run as a unit to solve a specific problem or perform a set of related tasks.
A synonym provides an alternative name for a table, view, sequence, procedure, stored function, package, user-defined object type, or other synonym. Synonyms can be public (available to all database users) or private only to the database user that owns the synonym).
A structured type is a non-simple data type that associates a fixed set of properties with the values that can be used in a column of a table. These properties cause Oracle Database to treat values of one data type differently from values of another data type. Most data types are supplied by Oracle, although users can create data types.
A table is used to hold data. Each table typically has multiple columns that describe attributes of the database entity associated with the table, and each column has an associated data type. You can choose from many table creation options and table organizations (such as partitioned tables, index-organized tables, and external tables), to meet a variety of enterprise needs.
A tablespace is an allocation of space in the database that can contain schema objects.
A permanent tablespace contains persistent schema objects. Objects in permanent tablespaces are stored in data files.
An undo tablespace is a type of permanent tablespace used by Oracle Database to manage undo data if you are running your database in automatic undo management mode. Oracle strongly recommends that you use automatic undo management mode rather than using rollback segments for undo.
A temporary tablespace contains schema objects only for the duration of a session. Objects in temporary tablespaces are stored in temp files.
A database user is an account through which you can log in to the database. (A database user is a database object; it is distinct from any human user of the database or of an application that accesses the database.) Each database user has a database schema with the same name as the user.
Business information objects define business-oriented information about model objects, such as responsible parties and information about how to contact them, and identification of relevant offline documentation.
A model object can have zero or more business information objects associated with it, and a business information object can be associated with zero or more model objects. For example, a single document can be used to describe many different entities and attributes, or a single person can be the responsible party for multiple events.
There can also be many-to-many relationships among business objects. For example, a responsible party can have multiple sets of contact information (contact objects), and a contact object can be associated with multiple responsible parties. Similarly, one or more telephone, e-mail, location, and URL objects can be associated with multiple contact objects.
The Data Modeler business information model is based on the Object Management Group (OMG) business information package, which is described in the OMG Common Warehouse Metamodel™ (CWM™) Specification, V1.1 as follows: "The Business Information Metamodel provides general purpose services available to all CWM packages for defining business-oriented information about model elements. The business-oriented services described here are designed to support the needs of data warehousing and business intelligence systems; they are not intended as a complete representation of general purpose business intelligence metamodel. Business Information Metamodel services support the notions of responsible parties and information about how to contact them, identification of off-line documentation and support for general-purpose descriptive information."
The rest of this topic briefly describes business information objects, listed in alphabetical order (not the order in which they appear in the object browser under Business Information).
A contact object groups the various types of related contact information. Each contact object can be associated with multiple email, location, URL, and telephone objects. Conversely, each email, location, URL, and telephone object can be associated with many contact objects. (See also Section 3.14, "Contact Properties".)
A document object represents externally stored descriptive information about some aspects of the modeled system. A document object can be associated with one or more model objects. (See also Section 3.26, "Document Properties".)
An email object identifies a single electronic mail address. Through the use of a contact object, you can associate an email address with one or more responsible parties. The sequence of email objects for a contact might be used to represent the order in which to try email addresses in attempting to communicate with a contact. (See also Section 3.29, "Email Properties".)
A location object identifies a single physical location. Through the use of a contact object, you can associate a location with one or more responsible parties. The sequence of contact objects for a location might be used to represent the order in which to try contacting a person or group associated with a location. (See also Section 3.57, "Location Properties".)
A resource locator object provides a general means for describing a resource whose location is not defined by a traditional mailing address. For example, a resource locator could refer to anything from a Web address (such as "www.example.com") to a location within a building (such as “Room 317, third file cabinet, 2nd drawer”). (See also Section 3.77, "Resource Locator Properties".)
A responsible party object represents a person, role, or organization that has a responsibility for, or should receive information about, one or more model objects. The precise meaning of the "responsibility" of a responsible object depends on the specific system being implemented. (See also Section 3.78, "Responsible Party Properties".)
A telephone object represents telephone contact information. A telephone object can be associated with one or more contacts. (See also Section 3.127, "Telephone Properties".)
When modeling data, you can choose an approach best suited to the nature of the work to be done. The approaches to data modeling include the following: designing a new database, developing a design for an existing database, or performing maintenance on an existing database design
Top-Down Modeling: for designing a new database
Bottom-Up Modeling: for creating a database based on extracting metadata from an existing database or using the DDL code obtained from an implementation of an existing database
Targeted Modeling: for adapting a database to new requirements
Top-down modeling gathers information about business requirements and the internal environment, and proceeds to define processes, a logical model of the data, one or more relational models, and one or more physical models for each relational model. The steps and information requirements can range from simple to elaborate, depending on your needs. Top-down modeling can involve the following steps, but you can abbreviate or skip steps as appropriate for your needs.
Develop the business information.
Create documents. In the object browser, right-click Logical and select Properties, then click Documents and add items as appropriate.
Create responsible parties with contacts, e-mail addresses, locations, telephone numbers, and locations. In the object browser, right-click Logical and select Properties, then click Responsible Parties and add items as appropriate.
Define any other information. In the object browser, right-click Logical and select Properties, then modify other properties (Naming Options, Comments, Notes) as needed.
Develop the process model, using a data flow diagram. In the object browser under Process Model, right-click Data Flow Diagrams and select New Data Flow Diagram.
Create processes. For each process, click the New Process icon, click in the data flow diagram window, and enter information in the Process Properties dialog box.
Create external agents. For each external agent, click the New External Agent icon, click in the data flow diagram window, and enter information in the External Agent Properties dialog box.
Create information stores. For each process, click the New Information Store icon, click in the data flow diagram window, and enter information in the Information Store Properties dialog box.
Create flows with information structures. For each flow, click the New Flow icon, click the starting object (such as a process) in the data flow diagram window, and click the ending object for the flow; then double-click the flow arrow and modify information (as needed) in the Flow Properties dialog box
Develop the logical model.
Create entities, and for each entity its attributes and unique identifiers. You can create all entities first and then the attributes and unique identifiers for each, or you can create the first entity with its attributes and unique identifiers, then the second, and so on.
To create an entity, click the Logical tab, click the New Entity icon, click in the logical model window, and enter information in the Entity Properties dialog box. You can also enter attributes and unique identifiers using the appropriate panes in this dialog box.
Create relations between entities. For each relation, click the desired icon: New M:N Relation (many-to-many), New 1:N Relation (one-to-many) , New 1:N Identifying Relation (one-to-many, identifying), or New 1:1 Relation (one-to-one). Click the entity for the start of the relation, and click the entity for the end of the relation; then double-click the relation line and modify information (as needed) in the Relation Properties dialog box.
Apply design rules to the logical model. Click Tools, then Design Rules, and use the Design Rules dialog box to check for and fix any violations of the design rules.
Forward engineer the logical model to a relational model. Click Design, then Engineer to Relational Model, and use the Engineering dialog box to generate a relational model reflecting all or a specified subset of objects from the logical model.
Develop the multidimensional model, if needed.
Apply design rules for the multidimensional model.
Export the multidimensional model, as needed.
Develop one or more relational models, doing the following for each as needed.
Split tables. To split one table into two, select the table on the relational model diagram, and either click the Split Table button or click Object, then Relational, then Split Table.
Merge tables. To merge a table into another table (removing the merged table), either click the Merge Table button or click Object, then Relational, then Merge Tables. Then, in the relational model diagram, first the table into which to merge columns from the other table, and next select the other table whose columns are to me merged. (After the merge, the second table will be removed.)
Check design rules for the relational model. Click Tools, then Design Rules.
Develop one or more physical models for each relational model, doing the following for each.
Open a physical model.
Check design rules for the physical model. Click Tools, then Design Rules.
Generate DDL code, which can be used to generate the actual database objects. Click View, then DDL File Editor, and then use the DDL File Editor dialog box to select a physical model, generate DDL code, and save the code to a script file.
Bottom-up modeling builds a database design based on either metadata extracted from an existing database or a file with DDL code that implements an existing database. The resulting database is represented as a relational model and a physical model, and you reverse engineer the logical model from the relational model. Bottom-up modeling can involve the following steps, but you can abbreviate or skip some steps as appropriate for your needs.
Generate the relational model in either of the following ways:
Extract metadata directly from an existing database: click File, then Import, then Data Dictionary; then follow the instructions for the wizard (see Data Dictionary Import (Metadata Extraction)).
Import DDL code that reflects an existing database implementation. Click File, then Import, then DDL File.
As needed, modify the relational model and create additional relational models.
As needed, denormalize the relational model or models. Perform the following steps iteratively, as needed, on each model.
Split or merge tables, or do both.
To split one table into two, select the table on the relational model diagram, and either click the Split Table button or click Object, then Relational, then Split Table. Use the Split Table wizard to copy or move source foreign keys and columns to the target table (the new table to be created).
To merge a table into another table (removing the merged table), either click the Merge Table button or click Object, then Relational, then Merge Tables. Then, in the relational model diagram, first click the table whose columns are to be merged into the other table, and next click the table into which to merge the columns from the first table that you clicked. (After the merge, the first table that you clicked will be removed, and the remaining table will include its original columns plus the columns that had been in the first table.)
Check the design rules for the model. To view the design rules, click Tools, then Design Rules; select the desired relational model; and use the Design Rules dialog box.
Reverse engineer the logical model from a relational model. Click the Engineer to Logical Model icon, or click Design, then Engineer to Logical Model.
As needed, modify the logical model.
Check design rules for the logical model. Click Tools, then Design Rules.
Save the design.
Generate DDL code, and use it to create the database implementation. Click View, then DDL File Editor. In the DDL File Editor dialog box, select the physical model and click Generate. Specify any desired DDL Generation Options, then click OK.
Targeted modeling involves maintaining an existing database by adapting it to new requirements.
Note:Maintaining a database with Data Modeler requires that the design and the actual database implementations be fully synchronized. If you are not sure if this is the case, you should consider the designs outdated and perform the procedures in Section 1.4.2, "Bottom-Up Modeling".
Depending on the kind of changes necessary, you can start with the logical model, one or more relational models, or one or more physical models, and then forward engineer or reverse engineer as appropriate.
For each logical model object (entity, attribute, relation, and so on) that you want to modify, modify its properties. For example, to add an attribute to an entity:
Double-click the entity's icon in the Logical diagram (or right-click the entity name in the object browser and select Properties).
In the Entity Properties dialog box, click Attributes.
Click the Add (+) icon and specify the attribute properties.
When you are finished modifying the logical model, forward engineer the changes to the relational model or models by clicking the Logical pane and clicking Design, then Engineer to Relational Model.
In the Engineering dialog box, specify any desired filtering, then click Engineer.
For each relational model object (table, column, and so on) that you want to modify, modify its properties. For example, to add a column to a table in a relational model:
Double-click the table's icon in the diagram for the relational model (or right-click the table name in the object browser and select Properties).
In the Table Properties dialog box, click Columns.
Click the Add (+) icon and specify the column properties.
When you are finished modifying the relational model, reverse engineer the changes to the logical model by clicking the pane for the relational model and clicking Design, then Engineer to Logical Model.
In the Engineering dialog box, specify any desired filtering, then click Engineer.
You can customize many aspects of the Data Modeler environment and interface by modifying user preferences according to your personal wishes and needs. To modify the user preferences, select Tools, then Preferences.
Most preferences are self-explanatory, and this topic explains only those whose meaning and implications are not obvious. Some preferences involve performance or system resource trade-offs (for example, enabling a feature that adds execution time), and other preferences involve only personal aesthetic taste. The preferences are grouped in the following categories:
The Environment pane contains options that affect the startup and overall behavior and appearance of Data Modeler. You can specify that certain operations be performed automatically at specified times, with the trade-off usually being the extra time for the operation as opposed to the possibility of problems if the operation is not performed automatically (for example, if you forget to perform it when you should).
For example, changes to the undo level (number of previous operations that can be undone) and navigation level (number of open files) values may cause slight increases or decreases in system resource usage.
Automatically Reload Externally Modified Files: If this option is checked, any files open in Data Modeler that have been modified by an external application are updated when you switch back to Data Modeler, overwriting any changes that you might have made. If this option is not checked, changes that you make in Data Modeler overwrite any changes that might have been made by external applications.
Silently Reload When File Is Unmodified: If this option is checked, you are not asked if you want to reload files that have been modified externally but not in Data Modeler. If this option is not checked, you are asked if you want to reload each file that has been modified externally, regardless of whether it has been modified in Data Modeler.
The Dockable Windows pane configures the behavior of dockable windows and the shapes of the four docking areas of Data Modeler: top, bottom, left, and right.
Dockable Windows Always on Top: If this option is checked, dockable windows always remain visible in front of other windows.
Windows Layout: Click the corner arrows to lengthen or shorten the shape of each docking area.
The Log pane configures the colors of certain types of log messages and the saving of log messages to log files.
Save Logs to File: If this option is checked, all output to the Messages - Log window is saved to log files, where the file name reflects the operation and a timestamp. You are also asked to specify a Log Directory; and if the specified directory does not already exist, it is created. Note that if you save log information to files, the number of these files can become large.
Maximum Log Lines: The maximum number of lines to store in each log file.
The Data Modeler pane contains options that affect the startup and overall behavior and appearance of Data Modeler.
Default Designs Directory: The default directory or folder from which to open a design or in which to create a design.
Default Import Directory: The default directory or folder from which to import designs.
Show Log After Import: Controls whether a Log window is displayed after an import operation. The window contains informational messages and any warning or error messages.
Default Save Directory: The default directory or folder in which to save files.
Default System Types Directory: The default directory or folder for storing type definition files.
Default Reports Directory: The default directory or folder in which to generate Data Modeler Reports. If you do not specify a directory, the default is in
datamodeler\reports under the location where you installed Data Modeler. For example, on a Windows system this might be
Show "Select Relational Models" Dialog: Controls whether the dialog box for selecting relational models to be included is displayed when you open a Data Modeler design. If this option is disabled, all relational models are included by default when you open a Data Modeler design.
Load Design Level Settings on 'Open Design': Controls whether to load any settings specific to that design when opening a design. If this option is disabled, any design-specific settings are ignored and the Data Modeler global settings are used.
Show Properties Dialog on New Object: Controls whether the Properties dialog box for objects of that type is displayed when you create a new model object.
Restore Previous Design Level Settings After 'Close Design': Controls whether to restore any setting specific to the previous current design after closing the current design. If this option is disabled, the Data Modeler global settings are restored.
Import: Lets you import Data Modeler preferences and other settings that had previously been exported, as explained in Section 1.7.
Export: Saves Data Modeler preferences and other settings to an XML file, so that you can later import the information, as explained in Section 1.7.
Other Data Modeler preferences are grouped into the following categories:
The Compare Mappings pane contains preferences for ... TBS...
The DDL pane contains general options for Data Definition Language (DDL) statements in code to be generated.
Statement Termination Character for DB2 and UDB: Termination character for DDL for IBM DB2 and UDB databases.
Create Type Substitution Triggers for Oracle and UDB: Controls whether triggers are created for type substitutions in Oracle and IBM UDB physical models.
Create Triggers for FK Arc Constraint: Controls whether triggers are created in generated DDL code to implement foreign key arc constraints.
Create Triggers for Non Transferable FK: Controls whether triggers are created for non-transferable foreign key relationships. (Whether a foreign key relationship is transferable is controlled by the Transferable (Updateable) option in the Foreign Key Properties dialog box.)
Show CHAR/BYTE Unit for Oracle Varchar2 and Char Types: Controls whether, for attributes of Oracle type CHAR or VARCHAR2, the unit (CHAR or BYTE) associated with the attribute length is included for columns based on the attribute in relational model diagrams and in generated CREATE TABLE statements.
Use 'Data Type Kind' Property in Compare Functionality: Controls whether the data type kind (such as domain, logical type, or distinct type) should be considered to prevent types of different kinds from generating the same native data type (for example, preventing a domain and a logical type from resulting in Number(7,2)).
Lets you specify one or more pairs of string replacements to be made when DDL statements are generated. Each pair specifies the old string and the new string with which to replace the old string.
Selected: Controls whether the specified replacement is enabled or disabled.
Case Sensitive: Controls whether the replacement is done only if the case of the old string in the DDL exactly matches the case specifies for the old string.
The Diagram pane contains general options that affect the appearance of model diagrams.
Specifies colors and optionally prefixes for the display of different classification types in a multidimensional model. You can also add (+ or Add icon) and delete (X or Remove icon) user-defined classification types.
Specifies default object fonts and colors, and line widths and colors, for the display of different types of design objects.
Contains options that apply to the diagram of the logical model.
Notation Type: Notation type: Barker (sometimes called "crow's foot") or Bachman.
Show Source/Target Name: Controls whether the Name on Source and Name on Target values (in the Cardinality pane of the Record Structure Properties dialog box) are displayed. If they are displayed, you can format the text and move the boxes.
Box-in-Box Presentation for Entity Inheritances: Displays subtypes in a box inside their supertype's box.
Domains Presentation: Specifies what is displayed as the data type for an attribute based on a domain: Domain Name causes the domain name to be displayed; Used Logical Type causes the logical type used in the domain definition to be displayed.
Contains options that apply to a diagram of a relational model.
Foreign Key Arrow Direction: Controls whether the arrowhead points toward the primary key or toward the foreign key in foreign key relationship arrows.
Show Foreign Key Name: Controls whether a text box containing the foreign key name is displayed on foreign key relationship arrows.
The Model pane contains options that apply to several types of models.
Default RDBMS Type: Default database type.
Default RDBMS Site: Default site within the default database type.
Columns and Attributes Defaults: Nulls Allowed: Controls whether new columns and attributes are allowed to have null values. If this option is disabled, new columns and attributes are by default mandatory (value required).
Preferred Domains and Logical Types: Enables you to limit the values displayed in drop-down lists of domains and logical types. (You can use this feature to prevent such lists from being "cluttered" with domains and logical types that you never specify.) To have a domain or logical type appear in drop-down lists, move it from the Preferred side to the All side.
Contains options that apply to the logical model.
Relation Cardinality: Source Optional: Controls whether the source entity in a relationship must, by default, contain one or more instances. If this option is enabled, source instances are not required for all relationship types; if this option is disabled, one or more source instances are required for all relationship types.
Relation Cardinality: Target Optional: Controls whether the target entity in a relationship must, by default, contain one or more instances. If this option is enabled, target instances are not required for all relationship types; if this option is disabled, one or more target instances are required for all relationship types.
Use and Set First Unique Identifier as Primary Key: Controls whether, by default, the first unique identifier attribute is set as the primary unique identifier when you create an entity.
FK Attribute Name Synchronization: Keep as the Name of the Originating Attribute: Controls whether the supertype or referenced attribute must be used in unique identifier (foreign key) naming. To be able to specify some other name, deselect this option.
Contains options that apply to a physical model. Different options apply to each supported type of database.
Contains options that apply to a relational model.
Delete FK Columns Strategy: Specifies what Data Modeler should do when you attempt to delete a table that has one or more generated foreign key columns (columns in other tables) pointing to it: delete the foreign key columns, do not delete the foreign key columns, or ask to confirm the foreign key column deletions.
For example, using the relational model in Chapter 2, "Data Modeler Tutorial: Modeling for a Small Database", if you delete the Books table, the Transactions table contains the book_id foreign key column that refers to the primary key of the Books table. Your choice for this option determines what happens to the Transactions.book_id column if you delete the Books table.
Default Foreign Key Delete Rule: Specifies what happens if a user tries to delete a row containing data that is involved in a foreign key relationship:
No Action causes an error message to be displayed indicating that deletion is not allowed; the deletion is rolled back.
Cascade deletes all rows containing data that is involved in the foreign key relationship.
Set Null sets the value to null if all foreign key columns for the table can accept null values.
The Naming Standard pane lets you implement naming standardization: you can view, add, and modify naming standards for logical and relational model objects and for domains. These standards will be checked when you apply Design Rules, and any violations of the standards will be reported as errors or warnings.
Do not confuse naming standardization with using the Name Abbreviations dialog box, which makes immediate name changes to enforce consistency in spellings and abbreviations, and which is limited to relational model name strings.
For logical model entities and attributes, relational model tables and columns, and domains, you can add, rearrange, and make optional or mandatory any of the following components of object names: prime word, class word, modifier, and qualifier. The acceptable values of these components are specified in the glossary file or files that you specify in the Glossary pane.
Title Case (Separator option): Refers to capitalizing each "word" and not including spaces: for example, GovernmentAccounts. (Title case is sometimes called CamelCase.)
Abbreviated Only: If this option is enabled, non-abbreviated words cannot be used in relational model object names (that is, only abbreviated words can be used).
For explanations of other terms, see Section 3.42, "Glossary Editor". For an excellent discussion of naming standards, see the United States Coast Guard Data Naming Element Standards Guidebook.
You can add one or more glossary files to be used in naming standardization. (For more information about glossaries, see Section 3.42, "Glossary Editor".)
For various kinds of constraints for tables and entities, you can edit the format string and add variable string elements.
Example: To see a sample name in a currently specified format, select the desired constraint type (for example, Foreign Key).
The Third Party JDBC Drivers pane specifies drivers to be used for connections to third-party (non-Oracle) databases. Data Modeler needs to use a JDBC driver for some operations, such as obtaining metadata from the third-party database.
Oracle does not supply non-Oracle drivers. To access any non-Oracle databases that require the use of drivers other than ODBC/JDBC (which are included in Java), you must download the files for the necessary drivers, and then add them using this pane. To download drivers, use the appropriate link at the third-party site. For example:
For Microsoft SQL Server 2000:
http://www.microsoft.com/downloads/details.aspx?familyid=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en (Be sure to install all three .jar files: msbase.jar, mssqlserver.jar, and msutil.jar.)
For Microsoft SQL Server 2005:
For IBM DB2/LUW, the IBM Data Server Driver for JDBC and SQLJ at:
For each driver to be added, click the Add (+) icon and select the path for the driver. Third-party databases and their required driver files include:
Microsoft SQL Server 2000: msbase.jar, mssqlserver.jar, and msutil.jar
Microsoft SQL Server 2005: sqljdbc.jar
IBM DB2/UDB: db2jcc.jar
The Extensions pane determines which optional extensions Data Modeler uses when it starts. (Data Modeler also uses some mandatory extensions, which users cannot remove or disable.) If you change any settings, you must exit Data Modeler and restart it for the new settings to take effect.
For Versioning Support, the settings (selected or not, and configuration options if selected) affect whether the Versioning menu is displayed and the items on that menu.
Configure: Displays the Configure Extension dialog box.
The Global Ignore List pane specifies filters that determine which files and file types will not be used in any processing.
New Filter: A file name or file type that you want to add to the list of files and file types (in the Filter box) that Data Modeler will ignore during all processing (if the filter is enabled, or checked). You can exclude a particular file by entering its complete file name, such as
mumble.txt, or you can exclude all files of the same type by entering a construct that describes the file type, such as
Add: Adds the new filter to the list in the Filter box.
Remove: Deletes the selected filter from the list in the Filter box.
Restore Defaults: Restores the contents of the Filter box to the Data Modeler defaults.
Filter: Contains the list of files and file types. For each item, if it is enabled (checked), the filter is enforced and the file or file type is ignored by Data Modeler; but if it is disabled (unchecked), the filter is not enforced.
The Mouseover Popups pane specifies text to be displayed on hover-related mouse actions over relevant object names.
Popup Name: The type of information to be displayed: Data Values (value of the item under the mouse pointer, such as the value of a variable), Documentation (documentation on the item under the mouse pointer, such as Javadoc on a method call), or Source (source code of the item under the mouse pointer, such as the source code of a method).
Activate Via: Use action with the mouse cursor to activate the display: Hover, or Hover while pressing one or two specified modifier keys.
Description: Description of the associated Popup Name entry.
Smart Enabled: If this option is checked, then the text for the relevant type of information is displayed if Smart Popup is also checked.
Smart Popup: If this option is checked, the relevant text for the first smart-enabled popup is displayed for the item under the mouse pointer.
The Shortcut Keys pane enables you to view and customize the shortcut key (also called accelerator key) mappings for Data Modeler.
Hide Unmapped Commands: If this option is checked, only shortcut keys with mappings are displayed.
Export: Exports the shortcut key definitions to an XML file.
Import: Imports the shortcut key definitions from a previously exported XML file.
Load Keyboard Scheme: Drops all current shortcut key mappings and sets the mappings in the specified scheme. (This option was called Load Preset in previous releases.) If you have made changes to the mappings and want to restore the default settings, select Default.
Category: Lists commands and shortcuts grouped by specific categories (Code Editor, Compare, and so on), to control which actions are displayed.
Command: An action relevant to the specified category. When you select an action, any existing shortcut key mappings are displayed.
Shortcut: Any existing key mappings for the selected action. To remove an existing key mapping, select it and click Remove.
New Shortcut: The new shortcut key to be associated with the action. Press and hold the desired modifier key, then press the other key. For example, to associate Ctrl+J with an action, press and hold the Ctrl key, then press the j key. If any actions are currently associated with that shortcut key, they are listed in the Current Assignment box.
Conflicts: A read-only display of the current action, if any, that is mapped to the shortcut key that you specified in the New Shortcut box.
Versioning preferences affect the behavior of the version control and management systems that you can use with Data Modeler. For information about using versioning with Data Modeler, see Section 1.9, "Using Versioning".
The Subversion pane specifies the Subversion client to use with Data Modeler.
The Subversion: Comment Templates pane specifies templates for comments to be used with commit operations. For example, a template might contain text like the following:
Problem Description (with bug ID if any): Fix Description:
You can add, edit, and remove comment templates, and you can export templates to an XML file or import templates that had previously been exported.
The Subversion: General pane specifies environment settings and the operation timeout.
Use Navigator State Overlay Icons: If this option is enabled, state overlay icons are used. State overlay icons are small symbols associated with object names in the navigators. They indicate the state of version-controlled files (for example, "up to date").
Use Navigator State Overlay Labels: If this option is enabled, state overlay labels are used. State overlay labels are tooltips associated with object names in the navigators.
Automatically Make Files Editable: If this option is enabled, an editor is automatically used on a data file when you start to change it. (If you edit a file unintentionally, immediately use Versioning, then Unedit to revert.)
Operation Timeout: Maximum time allowed for Subversion operations to complete.
Edit Subversion Configuration File: To modify the Subversion file directly, click Edit "server".
The Subversion: Version Tools pane specifies options for the pending changes window and the merge editor.
Use Outgoing Changes Commit Dialog: Enables you to make optimum use of limited screen space when the Pending Changes window is open. You can save screen space by not showing the Comments area of the Pending Changes window, but you might still want to add comments before a commit action. You can choose the circumstances under which the Commit dialog is opened: always, only when the Comments area of the Pending Changes window is hidden, or never.
Incoming Changes Timer Interval: The frequency at which the change status of files is checked.
Merge Editor: Specifies whether files are merged locally or at the server.
The Web Browser and Proxy pane settings are relevant only if Data Modeler needs to access the World Wide Web (such as when you use the Check for Updates feature on the Help menu), and only if your system is behind a firewall.
Browser Command Line: To specify a Web browser other than your default browser, specify the executable file to start that browser. To use your default browser, leave this field blank.
Use HTTP Proxy Server: Check your Web browser options or preferences for the appropriate values for these fields.
To store a design (or parts of a design) that you are working on, you can save or export it.
Saving a design enables you to save all elements of the design: the logical model, relational models, physical models, process model, and business information. An XML file and a directory structure (described in Section 1.3.1, "Database Design") are created for a new design or updated for the existing design, which is stored in Data Modeler format.
To save a design, click File, then Save. If the design was not previously saved, specify the location and XML file name. To save a design in a different file and directory structure. click File, then Save As.
Exporting a design enables you to save parts of the design (logical model, relational models but no physical models, and data types model) to a file. You can export in a variety of formats, both non-Oracle and Oracle. Thus, exporting provides flexibility in output formats, but saving enables you to save more design objects if you only need Data Modeler output.
To export a design, click File, then Export, then the output format.
To use a design that had been saved, you can open it by clicking File, then Open. Opening a design makes all models and objects in the saved design available for you to work on. Any saved physical models are not initially visible in the object browser; however, you can make a physical model visible by right-clicking Physical Models under the desired relational model, selecting Open, and then specifying the database type (such as Oracle 11g).
To use a design that had been saved by Data Modeler, or exported or saved by another data modeling tool, you can import it by clicking File, then Import, then the type of design to be imported. Usually, you specify a file, and then use a wizard that enables you to control what is imported.
Any text file that you open or import must be encoded in a format supported by the operating system locale setting. For information about character encoding and locales, see Oracle Database Globalization Support Guide.
The rest of this section contains information about importing from specific types of files and other sources.
Importing a DDL files enables you to create a relational model based on an existing database implementation. DDL files can originate from any supported database type and version. The file to be imported usually has the extension .ddl or .sql.
The import process creates a new relational model with the name of the imported DDL file and opens a physical model reflecting the source site.
Importing Cube Views metadata enables you to create a multidimensional model based on an existing implementation, as reflected in a specified XML file.
Importing from Microsoft XMLA enables you to create a multidimensional model stored in the Microsoft XMLA file format.
Importing an ERwin file enables you to capture models from the ERwin modeling tool. Specify the XML file containing definitions of the models to be imported.
Importing from a data dictionary enables you to create a relational model and a physical model based on an existing database implementation. The data dictionary can be from any supported database type and version.
In the wizard for importing from a data dictionary, you must either select an existing database connection or create (add) a new one, and then follow the instructions to select the schema or database and the objects to be imported.
After you import from a data dictionary, you can edit the relational and physical models as needed, and you can reverse engineer the logical model from the relational model.
Importing an Oracle Designer model enables you to create a relational model and a physical model based on an existing Oracle Designer model. You can create a connection to an Oracle Designer repository and import the entities, tables, and domains from a workspace in Designer.
In the Import Oracle Designer Model wizard, you must either select an existing database connection or create (add) a new one, and then follow the instructions to select the work areas, application systems, and objects to be imported. (Note that you cannot import Oracle Designer dataflow diagrams.)
After you import the Oracle Designer model, you can edit the relational and physical models as needed, and you can reverse engineer the logical model from the relational model.
Importing a Data Modeler design enables you to capture the logical model and any relational and data type models from a design previously exported from Data Modeler.
Importing a domain enables you to change and extend the existing domain definitions. In the Import Domains dialog box, select the domains to be imported and deselect (clear) the domains not to be imported.
You can export and import the following Data Modeler information:
User preferences (see Section 1.5, "User Preferences for Data Modeler")
Connections, such as ones you create for importing from a data dictionary (see Section 3.17, "Data Dictionary Import (Metadata Extraction)")
Recent designs (shown if you click File, then Recent Designs)
To export this information, click Tools, then Preferences, then Data Modeler, and click Export. Be sure to specify a directory or folder that is not under the location where you installed Data Modeler, because the settings are maintained in a file named
settings.xml file in
datamodeler\bin under the installation location, and that file will be deleted if you later delete your current installation.
To import information that was previously exported, click Tools, then Preferences, then Data Modeler, and click Import.
If you have made changes to Data Modeler preferences but want to restore all to their original default values, you can follow these steps:
If you are running Data Modeler, exit.
Delete the current
settings.xml file or rename it (for example, to
Start Data Modeler.
settings.xml file is created in
datamodeler\bin under the installation location, and this file has the original default values.
You can view reports on Data Modeler objects in the following ways:
Generate reports as XML files (Microsoft Word format) on your local drive, and then open the XML files. For more information, see Section 1.8.1, "Generating Reports as XML Files".
Use SQL Developer to view reports based on information in the Data Modeler reporting repository. For more information, see Section 1.8.2, "Using SQL Developer to View Exported Reporting Schema Data".
You can save individual reports as XML files (in Microsoft Word 2003 and later XML format) and then view each report. The reports are stored in the location specified or defaulted for Default Reports Directory under Data Modeler preferences.
Data Modeler ensures unique names for each file; for example, if you generate a report on all table and if
AllTablesDetails_1.xml already exists,
.xml is created. (If you generate report files from the reporting repository in the reporting schema, the file names include _rs, for example,
You can generate report files using either of the following approaches:
Generate reports based on currently loaded designs. (This approach does not involve creating or using a reporting schema and reporting repository.)
Generate reports based on information in the reporting repository in the reporting schema (which are explained in Section 1.8.3, "Reporting Repository and Reporting Schema").
To generate and view a report stored as an XML file, follow these steps:
Click File, then Reports.
For Available Reports, select one of the types of objects for which to report information: Tables, Entities, Domains, Glossaries.
Optionally, select Include All Objects to have the report contain information about all objects of the selected type.
If you do not select Include All Objects, you will be able to click Select beside Selected Object on the Loaded Designs tab to select an object by name.
Click one of the following tabs (if the desired tab is not already selected):
Loaded Designs, to generate a report based on one or more currently loaded Data Modeler designs
Reporting Schema, to generate a report based on designs in the reporting repository in the reporting schema
For Available Designs, select the desired Data Modeler design.
For Available Models, select the desired model. (The list of models reflects the type of objects for the report.)
For Selected Object (only if you did not specify Include All Objects), click Select to specify the object to be reported on.
Click Generate Report.
A message is displayed with the location and name of the XML file for the report.
Go to the XML file and open it.
You can the reports feature in Oracle SQL Developer to view information that has been exported to the Data Modeler reporting repository. To export the information about a design to the reporting repository, follow the instructions in Section 1.8.3, "Reporting Repository and Reporting Schema".
To view the reports in SQL Developer, you must do the following:
In SQL Developer, check to see if the Reports navigator already includes a child node named Data Modeler Reports. If it does include that node, go to the next step; if it does not include that node, install the Data Modeler Reports extension, as follows:
Click Help, then Check for Updates. In the Check for Updates wizard, specify Install From Local File, and specify the following local file in the location where you installed Data Modeler: datamodeler\reports\oracle.sqldeveloper.datamodeler_reports.nn.nn.zip (Windows systems) or datamodeler/reports/oracle.sqldeveloper.datamodeler_reports.nn.nn.zip (Linux systems), where nn.nn reflects a build number.
In SQL Developer, open the Reports navigator, expand the Data Modeler Reports node, plus nodes under it as desired.
For each report that you want to view:
Double-click the node for the report name.
Select the database connection that you used for the reporting repository.
Complete the Bind Variables dialog information, and click OK. For the bind variables, the default values represent the most typical case: display all available information for the most recent version of the design.
The bind variables enable you to restrict the output. The default value for most bind variables is null, which implies no further restrictions. To specify a bind variable, select the variable name and type an entry in the Value field. Any bind variable values that you enter are case insensitive. Bind variable values can contain the special characters
% (percent sign) to mean any string and
_ (underscore) to mean any character.
Design Content reports list information about the design content (objects in the design).
Data Types Model: Contains reports related to the Data Types Model.
Logical Model: Contains reports related to the Logical Model.
Relational Model: Contains reports related to the Relational Models.
Design Rules reports list information about the design rules as they apply to the logical and relational models. (See the information about the Design Rules dialog box.)
Logical Model: Contains reports related to the Logical Model.
Relational Model: Contains reports related to the Relational Models.
The Data Modeler reporting repository is a collection of database schema objects for storing metadata and data about Data Modeler designs. The schema in which the reporting repository is stored is called the reporting schema.
It is recommended that you create a separate database user for the Data Modeler reporting repository, and use that schema only for the reporting repository. For example, create a user named DM_REPORT_REPOS, and grant that user at least CONNECT and RESOURCE privileges. (You can create the reporting repository in an existing schema that is also used for other purposes, but you might find that more confusing to keep track of.)
Note:If you want to continue using a reporting repository from an earlier version of Data Modeler, see the Reporting_Schema_Upgrade_readme.txt file in the datamodeler/reports directory.
If you want to keep the database connection and schema but start with a new reporting repository, delete the existing repository (explained later in this topic) and then create the reporting repository.
To create a reporting repository, follow these steps:
Click File, then Export, then To Reporting Schema.
In the Export to Reporting Schema dialog box, click the Add Connection (+) icon.
In the New/Update Database Connection dialog box, enter a name for the connection (for example,
dm_reporting_repos_conn), as well as the other information for the connection , including the user name and password for the database user associated with the reporting schema.
Optionally, click Test to test the connection. (If the test is not successful, correct any errors.)
Click OK to create the connection and to close the New/Update Database Connection dialog box.
Select (click) the connection name in the list of connections near the top of the dialog box.
Click OK to create the reporting repository in the schema associated with the selected connection, and to have the information about the selected models exported to that repository.
To delete an existing reporting repository, follow these steps:
Click File, then Export, then To Reporting Schema.
Select the connection for the schema associated with the reporting repository to be deleted.
In the Export to Reporting Schema dialog box, click the Maintenance tab.
Click Drop Repository, then confirm that you want to drop the reporting repository.
If you only want to deleted selected designs within the repository and not the entire repository, click Delete Designs and select the designs to be deleted.
For glossaries, you can perform the following operations using the Glossary tab of the Export to Reporting Schema dialog box:
Export Glossary: Enables you to specify a Data Modeler glossary file, to have its information exported to the reporting repository.
Delete Glossary: Enables you to select a glossary in the reporting repository, to have its information deleted from the repository.
Data Modeler provides integrated support for using the Subversion versioning and source control system with Data Modeler designs. You can store designs in a Subversion repository to achieve the usual benefits version control, including:
Storing the "official" versions of designs in a central repository instead of in various folders or directories.
Enabling multiple developers to work on the same design, coordinating their changes through the traditional Subversion checkout and commit processes.
The Data Modeler documentation does not provide detailed information about SVN concepts and operations; it assumes that you know them or can read about them. For information about Subversion, see
http://subversion.tigris.org/. For Subversion documentation, see
To access the versioning features of Data Modeler, use the Versioning menu.
If you create any versioning repositories or connect to any existing repositories, you can use the hierarchical display of repositories and their contents in the Versioning navigator. (If that navigator is not visible, click View, then Versioning.)
Before you can work with a Subversion repository through Data Modeler, you must create a connection to it. When you create a local Subversion repository, a connection to it is automatically created, and this can be seen in the Subversion Navigator. You can subsequently edit the connection details.
Existing files must be imported into the Subversion repository to bring them under version control. Files are then checked out from the Subversion repository to a local folder known as the "Subversion working copy". Files created in Data Modeler must be stored in the Subversion working copy.
Files newly created within Data Modeler must be added to version control. Changed and new files are made available to other users by committing them to the Subversion repository. The Subversion working copy can be updated with the contents of the Subversion repository to incorporate changes made by other users.
The Pending Changes window is displayed if you click Versioning, then Pending Changes, or when you initiate an action that changes the local source control status of a file. This window shows files that have been added, modified or removed (locally or remotely), files whose content conflicts with other versions of the same file files that have not been added to source control files that are being watched, and files for which editors have been obtained. You can use this information to detect conflicts and to resolve them where possible.
The Outgoing Changes pane shows changes made locally, the Incoming Changes pane shows changes made remotely, and the Candidates pane shows files that have been created locally but not yet added to source control. You can double-click file names to edit them, and you can use the context menu to perform available operations.
To use Subversion with a Data Modeler design, you must have the following:
A folder or directory on your local system to serve as the working directory for the design. You create the design in this working directory, save the design to this working directory, and open the design from this working directory.
A Subversion repository to which you can connect, and in which you can create under
branches a branch for the initial version of the design (and later any subsequent versions).
The following are suggested basic steps. They are not the only possible steps or necessarily the "best" steps for a given project. These steps reflect the use of the Versioning navigator and the Import wizard within Data Modeler to perform many actions; however, many actions can alternatively be performed using a separate SVN repository browser (such as the TortoiseSVN browser) and using SVN commands on your local system.
On your local system, create a directory or folder to serve as the parent for design-specific working directories. For example, on a Windows PC create:
On your local system, create a directory or folder under the one in the preceding step to serve as the working directory for the design you plan to create. For example, for a design to be named
In Data Modeler, create the design (for example, the library design in Chapter 2, "Data Modeler Tutorial: Modeling for a Small Database"), and save the design to the working directory that you created For example, save the design to:
Saving the design causes the
.dmd file and the related directory structure to be created in the working directory. (The
.dmd file and the directory structure are explained in Section 1.3.1, "Database Design".)
Close the design. (Do not exit Data Modeler.)
Create an SVN connection to the repository that you want to use.
In the Versioning navigator, right-click the top-level node (Subversion) and select New Repository Connection.
In the Subversion: Create/Edit Subversion Connection dialog box, complete the information. Example repository URL:
branches directory under the repository path.
In the Versioning navigator, right-click the repository path and select New Remote Directory.
In the Subversion: Create Remote Directory dialog box, complete the information, specifying the Directory Name as
Create a project-specific branch under the
In the Versioning navigator, right-click the
branches directory and select New Remote Directory.
In theSubversion: Create Remote Directory dialog box, complete the information. Example Directory Name:
For example, if you plan to create the library design in Chapter 2, "Data Modeler Tutorial: Modeling for a Small Database", the URL in the repository for this branch might be:
Use the Subversion: Import to Subversion wizard to import the design files into the repository. Click Versioning, then Import Files, and complete the wizard pages as follows.
Destination: Specify the SVN connection and the repository path into which to import the files. Example:
Source: Specify the source directory from which to import the files (that is, the directory containing the .dmd file and the design-specific folder hierarchy). Example:
Filters: Accept the defaults and click Next.
Options: Accept the defaults and click Next.
Summary: View the information and click Finish.
The SVN Console Log shows the progress as files are added. After the files are added, the Handle New Files dialog box is displayed.
In the Handle New Files dialog box, select Do Not Open Files and click OK.
To see the files that have been added, click the Refresh icon in the Versioning navigator tab.
For subsequent work on the design, follow the usual workflow for Subversion-based projects (SVN Update, SVN Lock, modify files, SVN Commit).
See the following for more information, including advanced materials, about data modeling:
SQL Developer home page (OTN), which includes links for white papers, viewlets (screen demonstrations), Oracle by Example (OBE) tutorials, and other materials:
Object Management Group (OMG) site (
http://www.omg.org/), especially the MetaObject Facility (MOF) and Common Warehouse Metamodel (CWM) specifications
United States Coast Guard Data Naming Element Standards Guidebook (
http://www.uscg.mil/directives/ci/5000-5999/CI_5230_42A.pdf), especially concepts and recommendations relating to naming standards