• No results found

What's New with SQL Developer Data Modeler. Heli Helskyaho HrOUG 2015

N/A
N/A
Protected

Academic year: 2021

Share "What's New with SQL Developer Data Modeler. Heli Helskyaho HrOUG 2015"

Copied!
126
0
0

Loading.... (view fulltext now)

Full text

(1)

What's New with SQL

Developer Data Modeler

Heli Helskyaho

HrOUG 2015

(2)

Graduated from Helsinki University (Master of Science,

computer science)

Worked with Oracle products since 1993, worked for IT

since 1990

Database!

CEO for Kantamestarit Oy since 2000

CEO for Miracle Finland Oy since 10/2010

Oracle ACE Director since 2013 (ACE since 2011)

Author of the book Oracle SQL Developer Data Modeler

for Database Design Mastery (Oracle Press, 2015)

(3)
(4)

Introduction, Heli

Been an Oracle Designer user since 1996 and Data

Modeler user since 2010

Been solving performance problems since 1993

Absolutely convinced that good database

design

and

documentation

will

reduce

this work.

Absolutely convinced that it is

easier

to solve problems

on database that has been

documented

(5)

What is Data Modeler?

A tool for database design (supports all the ”new” Oracle

features)

Logical, relational, physical models, DDLs,…

Multidimensional models (DW), Data Flows etc.

For

designing

and

documenting

the

data architecture

and

the

database

Support for all the phases in database design and easy

moving from one to another, support for reverse

(6)

What is Data Modeler?

Import: Oracle repository, existing databases, Oracle

Designer, file import (Erwin, Bachman), …

Export: DDL, CSV, …

Reporting (in tool itself and also Reporting

Repository)

Standards: Design Rules, Preferences, Naming

Standards, Domains, …

Data Modeler viewer integrated in SQL Developer (3.0

(7)
(8)

Journaling tables and other Table DDL Transformation

Scripts

User Defined Properties

Search

Compare

Reverse Engineer

Agenda for this

presentation

(9)

Every version brings new Preferences and Properties

to better enable you to tune the tool for your needs

Preferences and

Properties

(10)

How to create journaling tables in DM 4.1?

(11)

dr_custom_scripts.xml

from datamodeler\datamodeler\types\

to your Default System Types Directory

(12)

Where is Default

(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)

Select the scripts

and tables

(21)
(22)
(23)

Anything!

For instance you want to generate DDL for a RDBMS

that is not supported by Data Modeler? Use this

functionality (instead of create)!

What else can I do with

those Table DDL Transformation

Scripts?

(24)

User Defined Properties

(UDPs)

(25)

Types.xml

from datamodeler\datamodeler\types\

to your Default System Types Directory

(26)
(27)
(28)
(29)
(30)
(31)
(32)

For instance any UDP can be used in search as any

”normal” property...

Why would I like to

use UDPs?

(33)
(34)

Search inside an active model

View | Model Search

Search icon on tool bar

Search the active pane (incl Message – Log)

Edit | Find

Search globally on open designs

View | Global Search

Search the Help

Help | Search

(35)

Search inside an active model

View | Model Search

Search icon on tool bar

Search globally on open designs

View | Global Search

(36)
(37)
(38)
(39)
(40)
(41)
(42)
(43)
(44)
(45)
(46)
(47)
(48)
(49)
(50)
(51)
(52)
(53)
(54)

Search,

(55)
(56)
(57)
(58)
(59)

Search, Properties

Bonus 1: Search,

(60)
(61)
(62)

Bonus 2: Using Excel

(63)
(64)
(65)

Better understanding of what you have

Better quality

Alter DDLs

...

Why is compare

(66)

Design vs Design

Design vs Database

Database vs Design

(67)

File | Import | Data Modeler Design

Compares ”everything”

Tools | Compare/Merge Models

Compares only relational and physical models

ALTER DDLs can be generated

Different Compares,

Designs

(68)

Synchronize Model With Data Dictionary

Target: model

Synchronize Data Dictionary With Model

Target: database

File | Import | DDL File

File | Import | Data Dictionary

Different Compares,

Database

(69)

Preferences and

Properties

(70)
(71)
(72)

File | Import | Data Modeler Design

Comparing Designs,

Import

(73)
(74)
(75)
(76)
(77)

Tools | Compare/Merge Models

Compares the design that is open and a design you

select to be compared

Compares only relational and physical models

Comparing Designs,

(78)
(79)
(80)
(81)
(82)
(83)
(84)
(85)
(86)
(87)
(88)
(89)
(90)
(91)
(92)
(93)
(94)

If you merge and then realize something was not

correct, you can always close the design without

saving it.

(95)

Synchronize Model With Data Dictionary

(96)
(97)
(98)

Why some of the

(99)

Synchronize Data Dictionary With Model

(100)
(101)
(102)
(103)

I have renamed a

column in design..

(104)
(105)
(106)
(107)

It’s called a Compare

Mapping

(108)
(109)

File | Import | DDL File

(110)
(111)
(112)
(113)
(114)
(115)

File | Import | Data Dictionary

Comparing Data

Dictionary

(116)
(117)
(118)
(119)
(120)
(121)

Use the ”compare” we just learned BUT always

import to an existing model

(122)

Table DDL Transformation Scripts

can be used for

Journaling Tables and many other purposed

User Defined Properties

(UDPs) are easy to define

and can be used for instance on Search and reporting

Search

can be used for reporting, setting common

properties and for updating your models based on an

Excel sheet

(123)

There are different

compares

Design vs Design

Design vs Database

Database vs Design

(124)

File | Import | Data Modeler Design

Tools | Compare/Merge Models

Synchronize Model With Data Dictionary

Synchronize Data Dictionary With Model

File | Import | DDL File

File | Import | Data Dictionary

(125)

When you import to an exiting model -> compare

When you import to a new model -> Reverse Engineer

Remember the preferences make a difference

(126)

THANK YOU!

QUESTIONS?

Email: [email protected]

Twitter: @HeliFromFinland

References

Related documents

This study will attempt to replicate and extend prior findings regarding associations between MAAS scores and a number of developmental factors including: 1)

produced using a more “natural” production method (i.e. organic agriculture). However, so far there is no common and objective definition of clean label. This review paper aims to

The CAMO+ represents an ideal complement to our Aviation Advisory and Aircraft Asset Management services as the technical oversight of aircraft and the cost-controlled maintenance

Fishman's research (1984) identified a positive correlation between resident’s perception of reduced locus of control and depression at two different levels of residential

B cells are formed in bone marrow and the spleen, and when they become active, they form 2 types of daughter cells - plasma cells (which make antibodies) and memory cells (which

(You must make a request in writing to obtain access to your healtll intormation. You may obtain a form to request access by using the contact information listed at the end of

Taking our results together with information from previous studies (Dohrmann and Tebbe 2005, Innes et al. 2004), we can conclude that the effect of plant observed on the

Division of Air Quality State Local Programs Federal Public Associations Central Office Regional Offices -Complaints -Stakeholders -Public Hearings • Business / Industry •