using sql developer to define and deploy your data...

Post on 01-Aug-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Delivering Oracle Success

Using SQL Developer to Define and Deploy

Your Data Models

Bob Larsen

RMOUG Training DaysFebruary 2012

© DBAK 2012 2

About DBAKOracle Solution Provider and License ResellerCore Technology and EBS ApplicationsColorado Owned and OperatedAverage 15 Years of Oracle Expertise “Top 250 Private Companies, 2011” – CoBIZ Magazine “Emerging Business of the Year, 2008” – South Metro Denver Chamber of Commerce100+ Clients170+ Implementations, Upgrades, Conversions, Support ProjectsOracle Gold PartnerOEM “Specialized”

© DBAK 2012 3

AgendaWhy use Data ModelingOracle SQL Developer Data Modeler OverviewProduct ArchitectureSupported EnvironmentsMulti-level Data ModelingFeatures• Logical Modeling• Relational Modeling• Physical Modeling• Reverse Engineering• Forward Engineering• Importing and Exporting• Integrated Version Control• Controlling the Design Environment• Even more …

Oracle SQL Developer Data Modeler Resources

© DBAK 2012 4

Why Use Data Modeling?A diagram is a powerful communication toolData models improve application developmentDrives design standardsQuality is improvedEases migration from development to productionCommon documentation location

© DBAK 2012 5

Oracle SQL Developer Data Modeler - Overview

No Cost diagramming and data modeling toolSingle tool for different project functionality• Data Architect

– builds logical data models• Database Developer

– designs relational structure• Database Administrator (DBA)

– designs the physical layerMetadata is stored in XML files

© DBAK 2012 6

Product Architecture

Implemented as independent, standalone productJava based

© DBAK 2012 7

Supported EnvironmentsDatabase support• Oracle 9i, 10g and 11g• Microsoft SQL Server• DB2, UDB

Platform support• Windows• Linux• Mac OSX

© DBAK 2012 8

Logical ModelsER DiagrammingNotation support• Barker• Bachman• Information Engineering

– partial supportSupertypes and subtypesMutually exclusive relationships (arcs)Engineering to and from relational models

© DBAK 2012 9

Logical Model Import SupportOracle Designer’s repositoryCA Erwin Data Modeler 4.x modelsBachman Enterprise modelXMLA scriptsCompare and merge with logical model in another design

© DBAK 2012 10

Type Administration – Logical to/from Native

© DBAK 2012 11

Relational Data ModelTablesViewsForeign Keys• Automatic propagation

and synchronizationSchemasSubViewsDefine sensitive informationOracle spatial properties

© DBAK 2012 12

Relational Model Import SupportDDL scriptsDatabase DictionaryOracle Designer repositoryCA Erwin Data Modeler 4.x CA Erwin Data Modeler 7.xOthers

© DBAK 2012 13

Table Properties

Columns Mandatory dataPrimary KeyUnique constraintsTable level constraintsForeign KeysIndexesNested columnsData model commentsDatabase commentsResponsible partiesMore …

© DBAK 2012 14

Table – Add column

© DBAK 2012 15

Table – Add Index

© DBAK 2012 16

Table – Index List

© DBAK 2012 17

Relational Model Naming Standards

© DBAK 2012 18

Domain Administration

© DBAK 2012 19

Physical Model

© DBAK 2012 20

Physical Level – Table Properties

© DBAK 2012 21

Generate DDL

© DBAK 2012 22

Generated DDL

© DBAK 2012 23

Save Model Image

© DBAK 2012 24

Model Comparison

© DBAK 2012 25

Version ControlSQL Developer provides tight integration with Subversion version control systems. Once a connection is made to the version control system of choice, users can open files in SQL Developer and bring them under version control. Once under version control, files can be checked out, modified and checked back in.

© DBAK 2012 26

Resources:Oracle Technology Network

© DBAK 2012 27

Oracle SQL Developer Data Modeler Homepage

http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html

© DBAK 2012 28

Oracle SQL Developer Data Model Forum

© DBAK 2012 29

Online Demonstrations

Feature ViewletsVideo DemonstrationsWebcasts

© DBAK 2012 30

Questions

© DBAK 2012 31

Contact

Bob Larsen720.475-8600

blarsen@dbaknow.com

Presentation available at:www.dbaknow.com/downloads

www.dbaknow.com

top related