Top Five Cool Features in Oracle SQL Developer Data Modeler

25
Five Cool Features in Oracle SQL Developer Data Modeler Kent Graziano Data Warrior LLC Twitter @KentGraziano Blog: kentgraziano.com

description

This is the presentation I gave at OUGF14 in Helsinki, Finland in June 2014. Oracle SQL Developer Data Modeler (SDDM) has been around for a few years now and is up to version 4.x. It really is an industrial strength data modeling tool that can be used for any data modeling task you need to tackle. Over the years I have found quite a few features and utilities in the tool that I rely on to make me more efficient (and agile) in developing my models. This presentation will demonstrate at least five of these features, tips, and tricks for you. I will walk through things like modifying the delivered reporting templates, how to create and applying object naming templates, how to use a table template and transformation script to add audit columns to every table, and using the new meta data export tool and several other cool things you might not know are there. Since there will likely be patches and new releases before the conference, there is a good chance there will be some new things for me to show you as well. This might be a bit of a whirlwind demo, so get SDDM installed on your device and bring it to the session so you can follow along.

Transcript of Top Five Cool Features in Oracle SQL Developer Data Modeler

Page 1: Top Five Cool Features in Oracle SQL Developer Data Modeler

Five Cool Features in Oracle SQL Developer Data Modeler

Kent GrazianoData Warrior LLC

Twitter @KentGrazianoBlog: kentgraziano.com

Page 2: Top Five Cool Features in Oracle SQL Developer Data Modeler

Bio

Oracle ACE Director (BI/DW) Blogger: Oracle Data Warrior Data Architecture and Data Warehouse Specialist

● 30+ years in IT● 25+ years of Oracle-related work● 20+ years of data warehousing experience

Member: Boulder BI Brain Trust Co-Author of

● The Business of Data Vault Modeling ● The Data Model Resource Book (1st Edition)

Past-President of ODTUG and RMOUGCopyright 2014 Data Warrior LLC

Page 3: Top Five Cool Features in Oracle SQL Developer Data Modeler

Agenda

What is the SDDM?Cool Features

● Using Object Naming Templates● Built in Report Tool● DDL Preview● Adding Audit Columns to Every Table● Using the New “Search” Feature● Whatever else we have time for…

Copyright 2014 Data Warrior LLC

Page 4: Top Five Cool Features in Oracle SQL Developer Data Modeler

What is SDDM?

Modern Data Modeling ToolLatest Release 4.0.1.XXFREE FREE FREEDoes Logical, Relational, Physical, and

Multi Dimensional ModelsLots of options

Copyright 2014 Data Warrior LLC

Page 5: Top Five Cool Features in Oracle SQL Developer Data Modeler

#5 - Using Object Naming Templates

Do you have naming standards?Get some!Set them here:

● Right Mouse Menu on Design● Properties -> Settings -> Naming Standard

-> TemplatesLots of options Set (or change) then apply

Copyright 2014 Data Warrior LLC

Page 6: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 7: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 8: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 9: Top Five Cool Features in Oracle SQL Developer Data Modeler

#4 - Built in Report Tool

File -> ReportsLots of options

● Object type to report on● Pick output format (PDF, RTF, HTML)● Create or use reusable template● Create specific configuration

● Pick models and subviews to filter objects

Copyright 2014 Data Warrior LLC

Page 10: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 11: Top Five Cool Features in Oracle SQL Developer Data Modeler

#3- DDL Preview

Can you say “agile”? Check and test your design on the fly Right mouse on a table

● Pick DDL Preview Cut and paste into SQL Developer window

● Execute Go back make fixes if needed Select another table with window open

● DDL changes on the fly for the new focus

Copyright 2014 Data Warrior LLC

Page 12: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 13: Top Five Cool Features in Oracle SQL Developer Data Modeler

#2 - Adding Audit Columns

Use Table Template and Transformation Script● New in 4.x – apply during forward engineering

Tools -> Design Rules -> Custom Transformations Look for “table template” delivered script

● No change needed Create table called table_template

● With required columns and properties to be copied Select “Apply”

● Changes all tables in design Note: can script all sorts of stuff

● Check /datamodeler/xmlmetadata/doc Copyright 2014 Data Warrior LLC

Page 14: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 15: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 16: Top Five Cool Features in Oracle SQL Developer Data Modeler

#1 - Using the New Search Feature

Available since 3.3● Edit -> Find● Pull up bottom pane to see it

Simply or complex search● Use ‘*’ as wildcard● Filter based on object type

Can then export or report the results ● Define a reusable output format

Exported text can be edited then re-imported!● Right mouse option on Logical or Relational● Great way to get users to edit definitions

Copyright 2014 Data Warrior LLC

Page 17: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 18: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Importing Changed Meta Data

Page 19: Top Five Cool Features in Oracle SQL Developer Data Modeler

Extra - Using Built in Quality Checks

AKA Design Rules Tools -> Design Rules -> Design Rules Pick rule to check

● Apply Selected Or just Apply All Errors and warnings

● Can drill to problem object Build custom rule set for standard checks

● Use “edit” button to add rules

Copyright 2014 Data Warrior LLC

Page 20: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 21: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2014 Data Warrior LLC

Page 22: Top Five Cool Features in Oracle SQL Developer Data Modeler

In Review…

Get the latest version● Production 4.0.1● Did I mention that it is FREE?

Lots of optionsGet on the OTN Forum

● Great support from product developersFollow @thatJeffSmith

● Product Manager● ThatJeffSmith.com

Copyright 2014 Data Warrior LLC

Page 23: Top Five Cool Features in Oracle SQL Developer Data Modeler

SHAMELASS PLUG: Available on Amazon.com

http://www.amazon.com/Check-Doing-Design-Reviews-ebook/dp/B008RG9L5E/

Page 24: Top Five Cool Features in Oracle SQL Developer Data Modeler

Copyright 2006-2014, Kent Graziano

Page 25: Top Five Cool Features in Oracle SQL Developer Data Modeler

Contact Information

Kent GrazianoThe Oracle Data Warrior

Data Warrior [email protected]

On Twitter @KentGrazianoVisit my blog at

http://kentgraziano.com