using sql developer to define and deploy your data...
TRANSCRIPT
![Page 1: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/1.jpg)
Delivering Oracle Success
Using SQL Developer to Define and Deploy
Your Data Models
Bob Larsen
RMOUG Training DaysFebruary 2012
![Page 2: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/2.jpg)
© 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”
![Page 3: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/3.jpg)
© 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
![Page 4: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/4.jpg)
© 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
![Page 5: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/5.jpg)
© 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
![Page 6: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/6.jpg)
© DBAK 2012 6
Product Architecture
Implemented as independent, standalone productJava based
![Page 7: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/7.jpg)
© DBAK 2012 7
Supported EnvironmentsDatabase support• Oracle 9i, 10g and 11g• Microsoft SQL Server• DB2, UDB
Platform support• Windows• Linux• Mac OSX
![Page 8: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/8.jpg)
© DBAK 2012 8
Logical ModelsER DiagrammingNotation support• Barker• Bachman• Information Engineering
– partial supportSupertypes and subtypesMutually exclusive relationships (arcs)Engineering to and from relational models
![Page 9: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/9.jpg)
© 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
![Page 10: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/10.jpg)
© DBAK 2012 10
Type Administration – Logical to/from Native
![Page 11: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/11.jpg)
© DBAK 2012 11
Relational Data ModelTablesViewsForeign Keys• Automatic propagation
and synchronizationSchemasSubViewsDefine sensitive informationOracle spatial properties
![Page 12: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/12.jpg)
© DBAK 2012 12
Relational Model Import SupportDDL scriptsDatabase DictionaryOracle Designer repositoryCA Erwin Data Modeler 4.x CA Erwin Data Modeler 7.xOthers
![Page 13: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/13.jpg)
© DBAK 2012 13
Table Properties
Columns Mandatory dataPrimary KeyUnique constraintsTable level constraintsForeign KeysIndexesNested columnsData model commentsDatabase commentsResponsible partiesMore …
![Page 14: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/14.jpg)
© DBAK 2012 14
Table – Add column
![Page 15: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/15.jpg)
© DBAK 2012 15
Table – Add Index
![Page 16: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/16.jpg)
© DBAK 2012 16
Table – Index List
![Page 17: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/17.jpg)
© DBAK 2012 17
Relational Model Naming Standards
![Page 18: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/18.jpg)
© DBAK 2012 18
Domain Administration
![Page 19: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/19.jpg)
© DBAK 2012 19
Physical Model
![Page 20: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/20.jpg)
© DBAK 2012 20
Physical Level – Table Properties
![Page 21: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/21.jpg)
© DBAK 2012 21
Generate DDL
![Page 22: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/22.jpg)
© DBAK 2012 22
Generated DDL
![Page 23: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/23.jpg)
© DBAK 2012 23
Save Model Image
![Page 24: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/24.jpg)
© DBAK 2012 24
Model Comparison
![Page 25: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/25.jpg)
© 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.
![Page 26: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/26.jpg)
© DBAK 2012 26
Resources:Oracle Technology Network
![Page 27: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/27.jpg)
© DBAK 2012 27
Oracle SQL Developer Data Modeler Homepage
http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html
![Page 28: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/28.jpg)
© DBAK 2012 28
Oracle SQL Developer Data Model Forum
![Page 29: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/29.jpg)
© DBAK 2012 29
Online Demonstrations
Feature ViewletsVideo DemonstrationsWebcasts
![Page 30: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/30.jpg)
© DBAK 2012 30
Questions
![Page 31: Using SQL Developer to Define and Deploy Your Data Modelsdbak.com/wp-content/uploads/2012/02/RMOUG-Training-Days-2012_… · – designs the physical layer Metadata is stored in XML](https://reader033.vdocument.in/reader033/viewer/2022050410/5f87422f50b5b82ab51e1620/html5/thumbnails/31.jpg)
© DBAK 2012 31
Contact
Bob Larsen720.475-8600
Presentation available at:www.dbaknow.com/downloads
www.dbaknow.com