oracle sql developer data modeler - version control your designs

Post on 07-May-2015

5.794 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

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.

TRANSCRIPT

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

Collaborative Design with Oracle SQL Developer Data ModelerJeff Smith, Product ManagerJeff.d.smith@oracle.com@thatjeffsmith

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.

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

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

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

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

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

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

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

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

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

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

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

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!

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

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

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

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

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

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

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

top related