40

Oracle SQL Developer - Focus on a Few Features

  • Upload
    tess98

  • View
    1.349

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Oracle SQL Developer - Focus on a Few Features
Page 2: Oracle SQL Developer - Focus on a Few Features

Oracle SQL DeveloperKris RiceDirector - Database Tools Research

Page 3: Oracle SQL Developer - Focus on a Few Features

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 - Focus on a Few Features

SQL Developer Exchangehttp://sqldeveloper.oracle.com

Page 5: Oracle SQL Developer - Focus on a Few Features

<Insert Picture Here>

Agenda

• SQL Developer Features• SQL Developer 1.5 Features• Data Modeling• Meet a Customer!• Working with PL/SQL• Creating SQL Developer Extensions• Use Source Code Control• Summary

Page 6: Oracle SQL Developer - Focus on a Few Features

<Insert Picture Here>

“We've given up all of our licenses for other tools. We simply don't need them anymore. SQL Developer

does it all for us. We've saved a lot of money because it's "FREE"! It's also given our development staff a

standard tool and they love it! It's made training and support easier. Going to SQL Developer wasn't a

management decision. Our developers picked it!”

Maggie TompkinsDevelopment Branch Head -

Civilian Marine United States Marine Corp

Page 7: Oracle SQL Developer - Focus on a Few Features

SQL Developer Features

• Creating database connections• Creating and browsing objects• Querying and updating data• Using the SQL Worksheet• Running the Query Builder• Importing data, exporting data and objects• Creating and running PL/SQL• Running and defining reports• Building extensions• Browsing and migration from third-party databases• Integrating with Oracle APEX 3.0.1+• Integrating with TimesTen• Working with files and version control

Page 8: Oracle SQL Developer - Focus on a Few Features

SQL Developer 1.5 Features

• Database connections• OS authentication, Proxy, LDAP • Force thick driver usage• Group connections in folders

• Navigator support for• Queues, Queue tables• Browse and load Java• Generating DB documentation• Managing the database

• Schema copy and compare• Create new table on XLS import• Tuning support

• Hierarchical Profiler• GUI view of trace files

• SQL Worksheet includes:• Updated SQL formatter

• Code refactoring options

• Increased code insight

• Code templates

• Flashback

• Extended search • Integrated support for versioning

and source control systems:• CVS and Subversion

• Migration• Sybase Adaptive Server

• Integrated support for TimesTen

Page 9: Oracle SQL Developer - Focus on a Few Features

Oracle SQL Developer Data ModelingSQL Developer 2.0 (Watch for Preview Release)

• Oracle SQL Developer Data Modeling supports• Designing logical Entity Relation Diagrams (ERD)• Building physical schema designs• Generating and executing DDL scripts• Reverse engineering of existing data structures • Import of data models from Erwin and Designer

• Provides modeling for multiple databases• Oracle Database • DB2 (Mainframe & UDB) • Microsoft SQL Server

• Support includes • Multi-dimensional modeling• Multi-level logical and physical design environment• Spatial modeling• Model validation rules

• Increases migration productivity• Migrate and model using one product

Page 10: Oracle SQL Developer - Focus on a Few Features

<Insert Picture Here>

Working with PL/SQL

Page 11: Oracle SQL Developer - Focus on a Few Features

Creating and Running PL/SQL

• Code editor• Syntax highlighting • Code formatter • Code insight (auto complete)• Code folding• Query Builder

• Code snippet viewer• Drag and drop code snippets• Add and customize snippets

• Compile, run and debug• Inline error reporting• Full debug capabilities

• Code bookmarking• Preferences

• Customizable quick keys

Page 12: Oracle SQL Developer - Focus on a Few Features

Running PL/SQL

• Run procedures, functions, and packages• DBMS_OUTPUT• Function return values• OUT parameters

• Run PL/SQL dialog • Specifies run targets• Shows parameter detail• Generates editable

PL/SQL block• For parameter values• For output parameters• Works with records

Page 13: Oracle SQL Developer - Focus on a Few Features

Debugging PL/SQL

• Set breakpoints• Configure conditions

• Compile for Debug• Control program execution

(Step into, over…)• Run to Cursor • Inspect and modify variables• Review

• Smart data

• Data

• Watches expressions• View debug log

Page 14: Oracle SQL Developer - Focus on a Few Features

Remote Debugging

Problem: Test a procedure being executed in a separate application• SQL Developer

• Select Remote Debug

• Set up remote debug detail; machine, port

• Browse to procedure

• Set a breakpoint

• Remote session• execute DBMS_DEBUG_JDWP.CONNECT_TCP (‘127.0.0.1’, 4000)

• Execute procedure

• SQL Developer• Debug

Page 15: Oracle SQL Developer - Focus on a Few Features

Hierarchical Profiler

Page 16: Oracle SQL Developer - Focus on a Few Features

Extended Search

• Across schemas• For object types• For usages• PLScope support

(Oracle Database 11g)

Page 17: Oracle SQL Developer - Focus on a Few Features

<Insert Picture Here>

Creating Extensions

Page 18: Oracle SQL Developer - Focus on a Few Features

Extensible Framework

• Easily extended• Based on the JDeveloper IDE

• Oracle custom extensions:• Migration Workbench• TimesTen (SQL Developer 1.5)• Data Mining (SQL Developer 1.2.1)• Rdb (under development)

Page 19: Oracle SQL Developer - Focus on a Few Features

Customer Developed Extensions

• Users writing their own extensions• Insider for Oracle SQL Developer • Error lookup for Oracle SQL Developer • GIS extension for Oracle SQL Developer • OrindaBuild for Oracle SQL Developer • Digger for Oracle SQL Developer

Page 20: Oracle SQL Developer - Focus on a Few Features

Adding XML Extensions

• Create XML• Associate Extension type with file location

Page 21: Oracle SQL Developer - Focus on a Few Features

User Defined XML Extensions

• XML Extensions include:• Reports• Editors• Actions• Navigators

Page 22: Oracle SQL Developer - Focus on a Few Features

XML Extension – Adding Extra Tabs

<items>

<item type="editor" node="TableNode" vertical="true">

<title><![CDATA[SubPartitions]]></title>

<query>

<sql><![CDATA [Select SUBPARTITION_NAME, HIGH_VALUEfrom ALL_TAB_SUBPARTITIONS

where table_owner = :OBJECT_OWNER and table_name = :OBJECT_NAME]]></sql>

</query>

</item>

</items>

Page 23: Oracle SQL Developer - Focus on a Few Features

SQL Developer SDK on the Wiki

Page 24: Oracle SQL Developer - Focus on a Few Features

Creating Java Based Extensions

• Install• A Java IDE

• JDeveloper• Eclipse

• SQL Developer• In JDeveloper

• Using Check for Updates, set up the SDK• Install SDK Samples

• Create or open a workspace• Create or edit a project

• Change the deployment profile• Deploy• Open SQL Developer• Run

Page 25: Oracle SQL Developer - Focus on a Few Features

D E M O N S T R A T I O N

SQL DeveloperXML Extensions

Page 26: Oracle SQL Developer - Focus on a Few Features

<Insert Picture Here>

Working with source code control

Page 27: Oracle SQL Developer - Focus on a Few Features

File Based Development

• Explore files in the File navigator• Open files in the SQL

Worksheet• Place files under version

control

Page 28: Oracle SQL Developer - Focus on a Few Features

Integrated Version Control Support

• SQL Developer provides integrated support for versioning and source control systems:• CVS (Concurrent

Versions System)

• Subversion

• Access through the SQL Developer Versioning menu

Page 29: Oracle SQL Developer - Focus on a Few Features

D E M O N S T R A T I O N

SQL DeveloperVersion Control

Page 30: Oracle SQL Developer - Focus on a Few Features

Oracle SQL Developer Data Modeling

• Supports a variety of visual models• Entity Relationship (ERD) - supports Barker and Bachman notation (EAR)• Relational • DataTypes (SQL99) • Multi-Dimensional (MD)• Data Flow

• Records details for • Physical implementation• Business information• Domains

• Imports from various sources including• DDL and Dictionary import from Oracle Database• Oracle Designer repository• DDL and Dictionary import from SQL Server, UDB and DB2 • General JDBC based dictionary import for non-Oracle databases• Other modeling tools

• Exports to various sources • DDL for Oracle and non-Oracle Databases• Oracle Analytical Workspaces• Multi-Dimensional XMLA format

Page 31: Oracle SQL Developer - Focus on a Few Features

Logical Modeling

• Model entities, attributes and relations

• Supports• Super type

• Sub types

• One logical for many relational and MD models

• Forward and reverse engineering

Page 32: Oracle SQL Developer - Focus on a Few Features

Relational Modeling

• Model tables, columns and FK’s

• One logical for many relational models

• Forward and reverse engineering

Page 33: Oracle SQL Developer - Focus on a Few Features

Multi-Dimensional Modeling

• Modeling of Cubes, Dimensions, Levels and Hierarchies, Measures and slices

• Start from ROLAP, XMLA or from scratch

• Generate Oracle Analytical Workspaces

Page 34: Oracle SQL Developer - Focus on a Few Features

Physical Modeling

• One relational model for many physical models

• Supports• Oracle Database 9i, 10g and 11g

• Microsoft SQL Server

• IBM UDB and DB2

• DDL file editor supports• Design Rules

• Object selection

• Drop objects

• Table scripts

Page 35: Oracle SQL Developer - Focus on a Few Features

Forward and Reverse Engineering

• Mapping from one Logical• To one or more relational Models

• Mapping from Relational• To one Logical Model

• Mapping from one Relational• To one or more Physical models

• Mapping from Physical• To one Relational Model

• Options• General

• Compare/copy

• Synchronization

Page 36: Oracle SQL Developer - Focus on a Few Features

Finding More Detailwww.oracle.com/technology/products/database/sql_developer

• SQL Developer on OTN• White papers,Oracle by Example (OBE) and online demos • Team Blogs: Blogs, Magazine Articles & Podcasts • http://www.oracle.com/technology/products/database/sql_developer

• SQL Developer Exchange• Share reports, snippets, code, and add feature requests • http://sqldeveloper.oracle.com

• Forums• SQL Developer

http://forums.oracle.com/forums/forum.jspa?forumID=260• Migration Workbench

http://forums.oracle.com/forums/forum.jspa?forumID=1• Migration Sites

• http://otn.oracle.com/migration

Page 37: Oracle SQL Developer - Focus on a Few Features

Summary

• Oracle SQL Developer provides support for:• Creating database connections• Creating and browsing• Querying and updating • Importing and exporting• Using scripts and statements in a worksheet• Building queries using a graphical drag and drop interface• Building and running database reports

• Advanced capabilities include• PL/SQL editing and debugging• Creating SQL Developer extensions• Migration from third-party databases to Oracle• Support for SQL Tuning• Support for TimesTen

Page 38: Oracle SQL Developer - Focus on a Few Features

For More Information

http://search.oracle.com

SQL Developer

or

http://www.oracle.com/technology/products/database/sql_developer

Page 39: Oracle SQL Developer - Focus on a Few Features

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Page 40: Oracle SQL Developer - Focus on a Few Features