Top 10 Cool Features in Oracle SQL Developer Data Modeler

  • Published on
    14-May-2015

  • View
    13.480

  • Download
    2

Embed Size (px)

DESCRIPTION

Oracle SQL Developer Data Modeler (SDDM) has been around for a few years now and is up to version 3.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 10 of these features, tips, and tricks for you. I will walk through things like installing the reporting repository, building a custom report on the repository using Oracle SQL Developer, modifying the delivered reporting templates, how (and when) to use the abbreviations utility, how to create and applying object naming templates, how to use a table template and transformation script to add audit columns to every table, how to add custom design rules for model quality checks (heck how to use the built in quality checks), 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

  • 1.Top 10 Cool Features in Oracle SQL Developer Data ModelerKent Graziano Data Warrior LLC

2. Bio Kent Graziano Owner, Data Warrior LLC Certified Data Vault Master Oracle ACE Director (BI/DW) Data Architecture and Data Warehouse Specialist 30+ years in IT 20+ years of Oracle-related work 15+ years of data warehousing experience Co-Author of The Business of Data Vault Modeling The Data Model Resource Book (1st Edition) Co-Chair BI/DW SIG for ODTUG Past-President of Oracle Development Tools User Group andRocky Mountain Oracle User GroupCopyright 2013 Data Warrior LLC 3. Agenda What is the SDDM? Cool Features Using Object Naming Templates The Abbreviations Utility Built in Report Tool The Reporting Repository Building a custom report using Oracle SQLDeveloper DDL Preview Copyright 2013 Data Warrior LLC 4. Agenda More Cool Features Adding Audit Columns to Every Table Using Built in Quality Checks (Design Rules) Adding Custom Design Rules Switching Model Notations and Resizeobjects Creating Multiple Displays and SubViews Using the New Search FeatureCopyright 2013 Data Warrior LLC 5. What is SDDM Modern Data Modeling Tool Latest is EA Early Adopter 3.3 FREE FREE FREE Does Logical, Relational, Physical, andMulti Dimensional Models Lots of optionsCopyright 2013 Data Warrior LLC 6. #10 - Using Object Naming Templates Do you have naming standards? Get some! Set them here: Tools -> Preferences -> Data Model ->Naming Standard -> Templates Lots of options Add variables button Set (or change) then applyCopyright 2013 Data Warrior LLC 7. Copyright 2013 Data Warrior LLC 8. Copyright 2013 Data Warrior LLC 9. #9 - Abbreviations Utility Quickly apply standard abbreviations Start with sample CSV Found in datamodelertemplates Set options Tools -> Name Abbreviations One shot but can re-run Can also run in reverse!Copyright 2013 Data Warrior LLC 10. Copyright 2013 Data Warrior LLC 11. #8 - Built in Report Tool File -> Reports Lots of options Pick output format Objects to report on Create standards template Create specific configuration Pick models and subviews to filter objects Copyright 2013 Data Warrior LLC 12. Copyright 2013 Data Warrior LLC 13. #7 - The Reporting Repository Export to a meta data schema Must have a user account to build File -> Export -> To reporting schema Pick existing or add the target connection Check maintenance tab for options (afterfirst build) Find repository data models diagrams datamodelerreportsReporting SchemadiagramsCopyright 2013 Data Warrior LLC 14. Copyright 2013 Data Warrior LLC 15. Building a Custom Report Against the reporting repository Using Oracle SQL Developer Look at Reports tab Use delivered report to see approach Copy to User Defined Reports tab Then edit existing reports Right mouse on report nameCopyright 2013 Data Warrior LLC 16. Copyright 2013 Data Warrior LLC 17. Copyright 2013 Data Warrior LLC 18. #6 - 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 focusCopyright 2013 Data Warrior LLC 19. Copyright 2013 Data Warrior LLC 20. #5 - Adding Audit Columns Use Table Template and Transformation Script Tools -> Design Rules -> CustomerTransformations 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 2013 Data Warrior LLC 21. Copyright 2013 Data Warrior LLC 22. #4 - Using Built in Quality Checks AKA Design Rules Tools -> Design Rules -> Design Rules Pick rule to check Aply 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 2013 Data Warrior LLC 23. Copyright 2013 Data Warrior LLC 24. Copyright 2013 Data Warrior LLC 25. Adding Custom Design Rules Create any rules you want to check yourmodel Different name lengths? Cant edit existing rules Tools -> Design Rules -> Custom DesignRules Create new rule Can pick object type Can pick type error or warning Great Design Rules demo: http://download.oracle.com/otn_hosted_doc/sqldev/UserDefinedDesignRules/UserDefinedDesignRules.html Copyright 2013 Data Warrior LLC 26. Copyright 2013 Data Warrior LLC 27. #3 - Switching Model Notations & Resize On Logical Model Right mouse (in white space) Barker Bachman Information Engineering Also choose Box-in-Box for sub types Resize to Visible Right mouse on table or entity Copyright 2013 Data Warrior LLC 28. Copyright 2013 Data Warrior LLC 29. #2 - Creating Multiple Displays Right mouse menu option on diagram Creates a copy of diagram Stays in sync with changes Can use to show different notations Turn on or off various display details (likedata types) Can have different layout Different audience different displayCopyright 2013 Data Warrior LLC 30. Copyright 2013 Data Warrior LLC 31. Using SubViews Same right mouse menu Populate sub views with sub set of objects frommain design Select objects then right mouse on one Create SubView from selected Again, changes to the objects will sync However new objects must be added Create new Drag from BrowserCopyright 2013 Data Warrior LLC 32. Copyright 2013 Data Warrior LLC 33. #1 - Using the New Search Feature New in 3.3 Edit -> Find Pull up bottom pane to see it Simply or complex search Use * as wildcard Filter base don object type Can then export or report the results Exported text can be edited then re-imported! Right mouse option on Logical or Relational Great way to get users to edit definitionsCopyright 2013 Data Warrior LLC 34. Copyright 2013 Data Warrior LLC 35. Copyright 2013 Data Warrior LLC 36. In Review Get the latest version Early Adopter 3.3 Lots of options Get on the OTN Forum Great support from product developers Follow @thatJeffSmith Product Manager Has SQL Developer blog Copyright 2013 Data Warrior LLC 37. Available on Amazon.comhttp://www.amazon.com/Check-Doing-Design-Reviews-ebook/dp/B008RG9L5E/ 38. Hold for Kscope13 slide 39. Contact Information Kent GrazianoThe Oracle Data Warrior Data Warrior LLC Kent.graziano@att.net Visit my blog athttp://kentgraziano.com

Recommended

View more >