Documente Academic
Documente Profesional
Documente Cultură
Purpose
This tutorial shows you how to generate a multi-dimensional model with Oracle SQL Developer Data Modeler.
Time to Complete
Approximately 15 minutes
Introduction
Oracle SQL Developer Data Modeler offers a full spectrum of data and database modeling tools and utilities, including
Entity Relationship modeling, Relational (Schema), Data Types or Object Types modeling, and Multidimensional
modeling and DDL generation. It includes importing from and exporting to a variety of sources and targets, provides a
variety of formatting options and validates the models through a predefined set of Design Rules.
Oracle SQL Developer Data Modeler will be released as an extension to SQL Developer and as a standalone product,
for those developers who only want to work with visual data modeling.
In this tutorial, you import the DDL for the SH schema, examine the relational and physical model, reverse engineer to
create a logical model, create a new multidimensional model, engineer from the physical model to create the
multidimensional diagram and examine the results.
Prerequisites
Note: This tutorial was created in a Linux environment. If you are using a Windows environment, the screenshots may
be slightly different.
In this section, you import the DDL from the SH schema to create a relational model. Perform the following steps:
1. Open Oracle SQL Developer Data Modeler. If you performed the previous tutorial, and did not exit Oracle SQL
Developer Data Modeling, select File > Close to close the model you previously worked on.
4. Select sh_cre_all.sql from the directory where you unzipped the files from the Prerequisites and click Open.
5. Click OK.
8. The relational diagram is displayed. Navigate to view menu and select Navigator. In the Navigator window, you
can move the red box around to adjust the view of your model.
9. To view the entire diagram, click the Fit Screen icon.
10. You can now see more of the diagram. In the next section, you review the relational and physical model objects in
the navigator.
In this section, you review the relational and physical model in the navigator. Perform the following steps:
1. In the left navigator, expand Relational Model. Right-click she_cre_all and select Properties.
2. Change the Name to SH_Schema and click OK.
3. Expand SH_Schema > Physical Models > Oracle Database 12c > Dimensions > times_dim > Levels.
Notice that there are 5 Dimensions in this model. Each dimension contains various levels and hierarchies.
Double-click the day level for the times dimension.
4. Click the Level Attributes tab to view the columns defined for this level.
5. The columns are displayed. Click OK.
5. Once your multidimensional model is created, you can change the name.
Expand Multidimensional Models and right-click Multidimensional_1, then select Properties.
9. The multidimensional model was created successfully. Right click on the model, select Autoroute. In the next
section, you review the times_dim object in the multidimensional model.
In this section, you review the times_dim object in the multidimensional model. Perform the following steps:
1. Click on the Search icon on the toolbar and enter customer. Since the SH_Multidimensional model is active,
the search will be for this model.
◦ Model: SH_Multidimensional
◦ Object: Dimensions SH_Multidimensional
Click Report.
4. Click the Output Format drop down and select HTML. The various output formats available are HTML, PDF, XLS
and XLSX.
7. You can view the Report Layout and properties. The template can be edited by clicking on the edit icon.
8. Click on Notes column and click on the up arrow to change the column order.
Resources
• To learn more about Oracle SQL Developer Data Modeler, refer to additional OBEs in the Oracle Learning
Library .
Credits