Download PPTX, 1.69Mb - UK Oracle User Group

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

Relational model wikipedia , lookup

Database model wikipedia , lookup

PL/SQL wikipedia , lookup

Navitaire Inc v Easyjet Airline Co. and BulletProof Technologies, Inc. wikipedia , lookup

Object-relational impedance mismatch wikipedia , lookup

Oracle Database wikipedia , lookup

Transcript
1
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer Data Modeler Overview
David Last, Oracle UK
2
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
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.
33
Copyright
Copyright©©2011,
2011,Oracle
Oracleand/or
and/orits
itsaffiliates.
affiliates.All
Allrights
rightsreserved.
reserved.
Agenda
•
•
•
•
•
Why Model?
Oracle SQL Developer Data Modeler Overview
Feature Highlights
New Features
More Information
4
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Why Model?
• Top Five Reasons to Model
–
–
–
–
–
5
Easy to Change
Communication Method to Gather Requirements
Business Rules Validation
Target User Involvement
Documentation/Training
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer Data Modeler Overview
• No cost diagramming and data modeling tool –
standalone or within SQL Developer
• Single tool for different users and functionality
• Modeling across platforms within one integrated system
• Business rule and process flow documentation
and verification
• Standards-driven DDL script generation
• Migration support from other tools
6
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer Data Modeler Overview
• Technology and Architecture
– Java based
– Common IDE Framework
– Metadata stored in XML Files
• Database support
– Oracle 9i, 10g, and Oracle 11g
– Third-party databases: Microsoft SQL Server, DB2, UDB
• Platform support
– Windows
– Linux
– Mac OSX
7
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer Data Modeler Overview
Strategy and Analysis
Import Models
Data Type
Domains
DFD
ERD
Logical
Multidimensional
Reporting
Database Design
Relational
DDL Script
8
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Star Schema
Physical
Data Dictionary
Logical Modeling
Data Model – Entity Relationship Diagram
• Model entities, attributes, relations
and entity type hierarchies
• Transform logical to many relational
and multi-dimensional models
• Configurable forward and reverse
engineering
• Provide different modeling notations
and displays of same model
• Use subviews to work on subset of
model
9
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Logical Modeling
Process Model – Data Flow Diagram
• Model external agents, processes,
information flow and information
stores
• Different process types: primitive,
composite and transformation
• Decompose a process into lower
level DFDs
• Depict information flow from one
object to another
10
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
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
11
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Working with Diagrams
• Autoroute vs. Manual mode
• Context-sensitive windows
12
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Working with Objects
Properties Window
13
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Forward and Reverse Engineering
Transformation
Logical
Relational
Physical
Relational
Physical
• Engineering options: General, compare/copy and synchronization
• Include design glossary and naming standards
14
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Physical Modeling
Relational
• One relational model for many physical
models
• Documents tablespaces, users, stored
procedures
• Apply properties to many elements at once
• Supports
– Oracle9i, Oracle Database 10g and
Oracle Database 11g
– Microsoft SQL Server 2000 and 2005
– IBM DB2/390 and DB2 LUW
15
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Physical
Custom Design Rules and Transformations
• Use scripting engine of choice
• Create user defined
transformation scripts
• Apply multiple scripts or rules
• Define Rule Sets
• Create Libraries
16
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Modeling Data Types
• Support for SQL99 (Object Relational
Modeling)
– Distinct Types
– Structured Types
– Collection Types
• Used in logical and relational models
• Included in import
• Generated in DDL
17
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Multidimensional Modeling
• Model Cubes, Dimensions, Levels
and Hierarchies, Measures and
slices
• Start from ROLAP, XMLA or from
scratch
• Generate Oracle Analytical
Workspaces
18
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Importing Metadata
• Import using direct connections
–
–
–
–
–
Oracle Database
Microsoft SQL Server
IBM DB2 and UDB
Generic JDBC based dictionary (MySQL, Teradata)
Oracle Designer repository
• File import
–
–
–
–
19
DDL
Domains
Other Modeling tools (CA ERwin)
Multi-Dimensional (Cube views, Microsoft XMLA)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Export and Code Generation
• DDL generation options
–
–
–
–
–
Design Rules
Object selection
Drop objects
Name Substitution
Table scripts
• Standard database DDL scripts
– Oracle
– IBM DB2 and UDB
– Microsoft SQL Server
• Reporting Repository export
• Multi-Dimensional Oracle AW, Cube Views and XMLA
20
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Controlling the Design Environment
Preferences
• Defaults used during creation,
manipulation, generation of all
models
• Naming Standards used during
creation and transformation
• Diagramming properties
21
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Controlling the Design Environment
Tools Options
• Administer cross model objects
• Facilitates common tasks
• Define abbreviations and glossary
words
• Customize and verify Design rules
• Compare and merge models
22
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Collaborative Development Overview
Working
Directory
Open/Modify
Check out
Commit Changes
Merge Changes
Commit Changes
Make More Changes
V1
V2
V3
V4
Check Out
Commit Changes
Open/Modify
Subversion
Repository
User 1
User 2
Version
History
23
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Working
Directory
Collaborative Development
• Use Versioning Navigator to
connect to Subversion repository
• Checking in Design using Data Modeler
or External client
• Multiple users check out designs
• Pending Changes dialog
provides feedback to all users
• Commit changes to repository
• Manage conflicts
• Review/Manage Version History
24
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Reporting Options
• Integrated reporting
– Generated in RTF, PDF and
HTML formats
• Repository reports
– Export in Data Modeler
– Run Data Modeler Reports in
SQL Developer
– Create custom reports
25
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
SQL Developer Data Modeler Release 3.1
New Features Overview
•
•
•
•
•
•
Synchronization
Versioning
Query Builder
Diagramming Enhancements
Reporting Enhancements
National Language Support
– Fully translated into 9 Languages
26
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Synchronization
• “Easy synchronization"
– One click synchronization
between model and dictionary
• Support for several connections
• Supports synchronization in both directions
• List of values/ranges can be extracted from column check
constraint
• Can exclude tracking of column order when tables are
compared
• No need to recreate table as alter statements are generated
27
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Versioning
• Version history is available at design and system level
• Lock and unlock can be done at design, model and
subview level
• Support for branching and merging
– delayed resolution of merge conflict
– tree conflicts detected in advance
28
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Query Builder
• Convert between ANSI and
Oracle joins.
• Graphical Interface support
– Build complex queries
– Persist the layout of diagrams
– Work with objects belonging to
a specific subview
• Synchronization of changes in the model with already created views
• Validation of view definitions created with previous version of Data Modeler
29
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Diagramming Enhancements
• Diagrams can display primary, unique and foreign key columns
• Display labels in Transformation diagrams
• Setting default colors and fonts
for Legends
30
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Reporting Enhancements
• New Reports
– Structured, collection and distinct types, change requests and
measurements
• Reporting templates can be defined
– Define report sections to include in generated report
• Report for objects belonging to specific subview
• Reporting Repository
– Multidimensional, business information, change requests and
measurement models
31
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
More Information
• SQL Developer Data Modeler on OTN
– www.oracle.com/technetwork/developer-tools/datamodeler/
• Feature Exchange
– sqldeveloper.oracle.com
• Forums
– forums.oracle.com/forums/forum.jspa?forumID=1317
• Oracle Learning Library
– www.oracle.com/oll
32
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
Q&A
33
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
34
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
35
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.