23
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template 1

Oracle SQL Developer Data Modeler - Version Control Your Designs

Embed Size (px)

DESCRIPTION

A brief overview of SQL Developer Data Modeler and step-by-step guide to adding your design to Subversion, generating DDL Alter Scripts, and more.

Citation preview

Page 1: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template1

Page 2: Oracle SQL Developer Data Modeler - Version Control Your Designs

Collaborative Design with Oracle SQL Developer Data ModelerJeff Smith, Product [email protected]@thatjeffsmith

Page 3: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template3

Legal

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Page 4: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template4

Agenda

Brief functional overview Using Subversion to Version Your Designs

– Team collaboration

Resources

Hint: Click on the blue text for more info

Page 5: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template5

Oracle SQL Developer Data Modeler Overview

No cost diagramming and data modeling tool – standalone or within SQL Developer

Single tool for design and review Modeling across platforms within one integrated system Business rule and process flow documentation and verification

Page 6: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template6

SQL Developer Data ModelingStrategy and Analysis

Relational

Database Design

Data Type

Star Schema Physical

MultidimensionalERD DFD

Logical

Reporting

Import Models

Domains

Page 7: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template7

Logical Modeling Model entities, attributes, relations and entity type hierarchies Transform logical to many relational and multidimensional models Configurable forward and reverse engineering Provide different modeling notations and displays of same model Use subviews to work on subset of model

Page 8: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template8

Relational Modeling

Model tables, columns and foreign keys Map one logical data model to one or more relational models Configurable forward and reverse engineering Use subviews to work on subset of model

Page 9: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template9

Physical Modeling

Storage, Security, Stored Procedures Compression, Partitioning, Encryption, Redaction One or more physical models per relational model for different deployments

Data warehouse OLTP 11g vs 12c

Page 11: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template11

Working with ObjectsProperties Dialog

Page 12: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template12

Forward and Reverse Engineering

Engineering options: General, compare/copy, and synch Include design glossary and naming standards

Page 13: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template13

Collaborative Design Overview

Page 14: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template14

Collaborative Design

Use Team > Versions to connect to Subversion repository Add Design using Data Modeler 1 or more users check out designs Pending Changes dialog provides feedback to all users Commit changes to repository Manage conflicts Review/Manage Version History

Page 15: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template15

Let’s Talk Subversion and SQL Developer

1 model → many files Each entity/table gets it’s own file You deal with model entities, not files File tagging allows us to Compare/Merge/Commit models at the object level Use existing Subversion Repository or deploy w/ SQL Developer

Page 16: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template16

Adding an Existing Model to Subversion

New Remote Directory Check out directory Create local directory/copy Open existing model Save to local folder

YES!

Page 17: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template17

Now Watch SVN Add the Model files in the BG

Page 18: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template18

Save Model to See Outgoing Changes

Page 19: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template19

Compare Model to Last Repository Revision

See differences side-by-side Highlighted in red Merge if you agree

Page 20: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template20

Bonus Feature: Track Diagram Changes Too

Page 21: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template21

Compare Model to Data DictionaryGenerate DDL Synch Scripts

Diffs & Alter Scripts Compare 2 versionsof the same model

Page 22: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template22

Thanks!

Download SQL Developer Data ModelerProduct ForumsYouTube Channel

Page 23: Oracle SQL Developer Data Modeler - Version Control Your Designs

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 of the corporate presentation template23

Graphic Section Divider