0% found this document useful (0 votes)
57 views56 pages

Sqldev30 Overviewpresentation 350356

Oracle SQL Developer is a free graphical tool that allows users to work with databases. Some key features of SQL Developer include connecting to databases, browsing and creating database objects, querying and updating data, exporting and importing data, and editing and debugging SQL and PL/SQL code. New features introduced in recent versions include a schema browser, enhanced query builder, extended unit testing capabilities, and support for exporting data to PDF format.

Uploaded by

zswalden
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views56 pages

Sqldev30 Overviewpresentation 350356

Oracle SQL Developer is a free graphical tool that allows users to work with databases. Some key features of SQL Developer include connecting to databases, browsing and creating database objects, querying and updating data, exporting and importing data, and editing and debugging SQL and PL/SQL code. New features introduced in recent versions include a schema browser, enhanced query builder, extended unit testing capabilities, and support for exporting data to PDF format.

Uploaded by

zswalden
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

1

<Insert Picture Here>

Oracle SQL Developer 3.0


Sue Harper
Senior Principal Product Manager
Contents

• Overview and History


– Release History
– New features in SQL Developer 1.5
– New features in SQL Developer 2.1
– New features in SQL Developer 3.0
• SQL Developer General Feature Overview
• Feature Focus Areas
• Finding out more

3
Overview and History

4
Release History

• SQL Developer 3.0 – 2011 (Production Release)


– Introduces wide spectrum of new features
• SQL Developer 2.0 – 2009/2010
– Introduced PL/SQL Unit Testing, Data Modeler viewer
– SQL Developer 2.1.1 – March ’10
• SQL Developer 1.5.x – 2008 /2009
– Introduced version control and file management
– SQL Developer 1.5.4 – Full translation supporting 9 languages
– SQL Developer 1.5.5 – Shipped with Oracle Database 11g Release 2
– SQL Developer 1.5.6 – Bundled with Oracle JDeveloper 11g
• SQL Developer 1.2.x – 2007
– Introduced database migration
• SQL Developer 1.x – 2006/2007
– SQL Developer 1.1.3 – Oracle Database 11g Release 1
– Initial production release – March 2006

5
Oracle SQL Developer Feature Overview

• Database connections
• Browse, query, update objects
• SQL Worksheet
• Query Builder
• Data import and export
• Object export
• PL/SQL edit and debug
• Database and user-defined reports
• User-defined extensions
• Files and source code control
• Unit Testing
• Third-party databases
• Database migration
• Oracle APEX integration
• TimesTen In-memory database integration
• Oracle Data Miner integration

6
New Features with SQL Developer 1.5.x
SQL Developer 1.5.5 ships with Oracle Database 11g Release 2

• Database connections • SQL Worksheet includes


– OS authentication, Proxy, LDAP – Updated SQL formatter
– Force thick driver usage – Code refactoring options
– Group connections in folders – Increased code insight
• Navigator support for – Code templates
– Queues, Queue tables – Flashback
– Browse and load Java • Extended search
– Generating DB documentation • Integrated support for versioning
– Managing the database and source control systems:
• Schema copy and compare – CVS and Subversion
• Create new table on XLS import • Migration
• Tuning support – Sybase Adaptive Server
– Hierarchical Profiler • Integrated support for TimesTen
– GUI view of trace files In-memory database

7
New Features with SQL Developer 2.1

• PL/SQL Unit Testing


• Data Modeler Viewer
• Migration support for IBM DB2 UDB and Teradata
• Updated Data Grids
– Manage columns, filter on data
• New SQL Worksheet
– Dockable dbms_output, multiple worksheets
• Increased Connections navigator support for
– Jobs, Editions (for Database 11g Release 2), XML DB Repository
• Updated display editors
– PL/SQL edit mode, subpartitions
• Version Control support for Serena Dimensions, Perforce
• Updated filtering mechanism
– Schema level, generated objects

8
New Features with Oracle SQL Developer 3.0

• Schema browser
• Query Builder
• PL/SQL updates
• Import and Export updates
• PDF file support
• Extended Unit Testing
• DBA Navigator
• Extended Tuning Support
• DBMS Scheduler
• Database migration
• Spatial support
• Data Miner

** New to Oracle SQL Developer 3.0


9
Feature Overview

10
Database Connections

• Connection Support
– Basic, TNS, LDAP, Advanced
– External authentication
– Proxy connections
– Third-party database
– Password expiration
– Use thick driver for strong
authentication
– Kerberos Authentication
• Create, save and test
– Multiple databases
– Multiple schemas
• Import and export
• Reuse
– Database browsing
– PL/SQL development
– Running reports

11
Grouping Connections

• Logically group connections


using folders
• Create and manage folders
• Add new connections to folders
• Create local connections

12
Creating and Browsing Objects

• Connection Navigator - Tree based object browser


• Context menu utilities
• Create and edit database objects
– Tables, Views, Indexes, Sequences
– Packages, Procedures, Functions, Triggers, Types
– Materialized Views and Logs
– Synonyms (public and private)
– Directories, Database Links (includes Public)
– Application Express
– Queues, Queue Tables
– Browse and Load Java
– XML Schemas, XML DB Repository
– Jobs
– Editions (Oracle Database 11g Release 2)
– Recycle Bin
– Other Users
• Generate DB Doc
• Run Manage Database report

13
Schema Browser

• Alternate view of object browser


• Select and filter object type
• Select and filter users
• Additional client-side filter

** New to Oracle SQL Developer 3.0


14
Schema Copy and Compare

• Schema Copy
– Create new objects
– Truncate objects
– Drop objects
– Summary report of actions
– Log output to SQL Worksheet
• Schema Compare
– Specify object types
– Specify objects
– Review diff summary
– Summary report
– Statements sent to
SQL Worksheet

15
Data Grids: Querying and Updating Data

• Browse table and views data grid


– Filter, Sort
• Context menus offer
– Single record view
– Duplicate row
– Count rows
– Save Grid as a report
– Highlight data
• Manage columns
– Reorder
– Hide and show columns
– Data filters
• Track updates in message log
• Recall filters
• Single value updates in data grid
• Clear grid settings

** Import and Export updated in Oracle SQL Developer 3.0


16
Exporting and Importing

• Context menu DDL and data export


– Text, CSV, Insert, Loader, XML, HTML, XLS, PDF
• Import Data
– MS Excel data import
– Create table on import
• Export wizard
– Parameters to include:
• Schema owner
• Drop statements
• Storage syntax
• Inline constraints syntax
• Export data
• Export grants
– Export opens in SQL Worksheet

** Updated in Oracle SQL Developer 3.0


17
Exporting Data

• Export metadata and data for a schema, selected object types or


selected objects
• Customizable user interface
• Configurable metadata and data format options
• Target options to send output to single or multiple files and
directories
• Preferences manage
– Delimiters
– Enclosures
– Record terminators
– Encoding
– Headers

** Updated in Oracle SQL Developer 3.0


18
Exporting to PDF

• New data format support for PDF


• Configure PDF file format using preferences
• Customizable Layouts
• Provides security to
encrypt and
password-protect
• Provides option to
include BLOBs including
– Images
– Video
– Spreadsheets

** New to Oracle SQL Developer 3.0


19
Importing Data

• Various import methods


– Insert and insert script
– External table, staging
external table,
– SQL*Loader
• Customizable user interface
• Delimited file support for
specifying delimiters,
enclosures, record
terminators, encoding and header
• Dynamic data preview provides view of file as
changes to the definition are made
** Updated in Oracle SQL Developer 3.0
20
General Features of the SQL Worksheet

• Drag and drop choices for queries • Supporting windows


– Select for individual statements – SQL Tuning Advisor
– Select and join tables – Explain Plan and Autotrace
– Insert, update, delete – HTP and OWA output
• Execute queries and scripts
– Single statement execution
– Multiple statement execution
– Script execution
• Command support for
– SQL*Plus
– SQL and PL/SQL
• Open multiple worksheets
– Unshared worksheets – ctrl-shift-N
– Shared worksheets – alt-F10
– Dockable SQL Command History

21
Editing Code in the SQL Worksheet

• Code insight
• Code refactoring options
• Syntax highlighting
• Code templates
• Code snippets
• Record level flashback
(Oracle Database 11g)
• Formatting with preview
• Bind variable support

22
Query Builder

• Drag and drop query building


• Integrated with SQL worksheet
• Supports
– Multiple object selection
– Switch from Query Builder
and Worksheet
– Aggregates, Alias, Order By,
Group By, Where clauses
– Repeated tables
– Union, intersect, minus and
subqueries

** New to Oracle SQL Developer 3.0


23
Code Snippets and Templates

• Code Snippets
– Drag and drop code from snippet categories to SQL Worksheet or
code editor
– Start typing to invoke code insight
– Create new
• Categories
• Snippets
• Code Templates
– Add ID and code in preferences
– In SQL Worksheet, start typing code to
invoke code insight

24
Creating and Running Reports

• Shipped Reports
– DBA
– System
– Oracle APEX
– Migration
• User Defined
– Charts
– Gauges
– Master/detail
– Drill down
– Script
– HTML
– Code

25
ASH and AWR Reports

26
File Based Development

SQL Developer supports file based development


• Explore files in the Files navigator
• Open files in the SQL Worksheet
• Place files under
version control
• Execute against a
connection
• Syntax formatting

27
Integrated Version Control Support

• SQL Developer provides integrated support for versioning and


source control systems
– Subversion
• Use Check for Updates to add
integrated support for
– CVS (Concurrent Versions System)
– Perforce
– Serena Dimensions
• Access using
– View > Team > Versioning Navigator
– Versioning menu

28
Working with PL/SQL

• Create and edit PL/SQL code


– Code editor
• Syntax highlighting
• Code formatter
• Code insight (auto complete)
• Code folding
• Code snippets and Templates
• Use dialogs to create
– Procedures, functions, triggers
– Package spec and body
• Compile and run PL/SQL
• Debug
– Remote debug with environment
variable SET ORA_DEBUG_JDWP

29
PL/SQL Updates

• Debugging PL/SQL tagged file


• Run and debug procedures with ref cursors
– Display ref cursor data

** Update in Oracle SQL Developer 3.0


30
PL/SQL Unit Testing

• Create tests with one or more implementations


• Build up suites of tests
• Run test reports
• Store reusable components
in a library
• Build static and dynamic lookups
• Support multiple users through a repository
• Build up code coverage stats
• Run tests from the command line
• Target any database

31
PL/SQL Unit Testing

32
Unit Test Updates

• Enhanced multi-user support


• Support added for abstract data types
– PL/SQL VARRAY
– PL/SQL Nested Table
– PL/SQL Associative Array
– Ref Cursors
• Multiple startups and teardowns
• Purge run results
– All results
– Set of results

** Updated in Oracle SQL Developer 3.0


33
DBA Navigator

• Browse and maintain database


configuration
• Review and manage database
using the resource manager
• Browse, update and create
security options
• Update and review storage objects
• Create users and roles

** New to Oracle SQL Developer 3.0


34
Refactor, Review, Search, Tune and Monitor

SQL Developer provides a PL/SQL related utilities


• Explain Plan, Autotrace and Diff
• SQL Tuning Advisor
• PL/SQL Hierarchical Profiler
• Extended Search using PL/SQL
• SQL Monitor
• SQL Developer PL/SQL Reports
• General refactoring
• APEX refactoring

35
Real-Time SQL Monitoring

• Real time view of SQL


• Drill to view details
• Visual indicators for
current step
• Queries over 5 seconds
monitored
• Use /*+MONITOR*/
• DBMS_SQLTUNE.REPORT_SQL_MONITOR

36
SQL Tuning Advisor

• Requires advisor and administer SQL Tuning set privileges


• Review all advice or select individual components
– Stale or missing statistics
– Generation of SQL Profiles with in depth detail
– Manual restructuring of SQL
– Use of indexes

** New to Oracle SQL Developer 3.0


37
Compare Explain Plan and Autotrace Results

• Compare results of two queries


– Gather Explain Plan/Autotrace results for first query
– Pin results
– Modify query
– Gather second set
of plan results
– Compare plans

** New to Oracle SQL Developer 3.0


38
DBMS Scheduler

• DBMS Scheduler allows you to control when and where various


tasks take place
• Scheduler node provides
– Chains
– Credentials
– Jobs & Job Classes
– Programs
– Schedules
• Design Editor view for
graphical representation

** New to Oracle SQL Developer 3.0


39
Management Pack Preference Setting

• SQL Developer supports Oracle Database


Management packs
– Oracle Diagnostic Pack (ASH and AWR Reports)
– Oracle Change Management Pack (Database Diff)
– Oracle Tuning Pack (SQL Tuning Advisor, Monitor SQL)
• Set preferences per user for usage

** New to Oracle SQL Developer 3.0


40
Feature Focus Areas

41
SQL Developer Migrations

• Logical equivalence
• Least Privilege Migration
– Users can migrate any object
they can access
• Simple and expert modes using
repository
• Sync Mode
– Capture a snapshot of 3rd party database metadata
– Static target used in the migration
– Visual correlation of derived database objects
• All existing functionality supported
– Offline data migration using generated scripts
– Offline meta data load using SQL scripts
• Multiple projects, concurrent users, customizable

42
Database Migration Projects

• Migration navigator for 3rd party database migration


• Copy to Oracle
– Right click and copy to a connection
• Server Capture for multi-database
• Migration Wizard
– Drives all phases of migration
• Command line support
– All migration features
• Migration Reports
– Project Estimation/Server Analysis
– Conversion Issues
– Data Quality metrics
– Target objects verification
• Client application scanning
– Identifies 3rd party database calls in applications

** Updated in Oracle SQL Developer 3.0


43
Integrated Data Modeling

• Create, update and save


models
• Open existing models
• Import to create models
• Drag and drop tables to
create relational model
• Work with Design Rules
• Generate DDL
• Browse with thumbnail
view

** New to Oracle SQL Developer 3.0


44
TimesTen In-Memory Database Support

• Browse, edit, create, modify TimesTen database objects


including users
• In-Memory Database Cache
– Create/drop/alter cache groups
– Load/unload, flush, refresh cache data
• PL/SQL support
– Create/Replace/Drop, Edit, Compile, Run, and
Export procedures/functions/packages
• Show SQL execution plans and update
table and column statistics
• Access SQL Worksheet for ad-hoc SQL
queries, execute TimesTen built-in
procedures and ttIsql commands
• Run pre-defined database and objects
reports
• Manipulate cached data in both
TimesTen and Oracle at the same time

** Updates in Oracle SQL Developer 3.0


45
Oracle Data Miner

• Graphical User Interface for data analysts


• Build and evaluate data
mining models
• Apply predictive models
• Share analytical workflows
• Deploy SQL, apply code
and scripts
• Predict customer behavior
• Identify key factors
• Predict next-likely product
• Customer profiling
• Detect fraud and anomalies
• Mine “text” and unstructured data

** New to Oracle SQL Developer 3.0


46
Managing Oracle Spatial Information

• Data Management
– Maintain spatial metadata and
indexes
– Support for spatial validation
• Data Querying
– Create spatial queries
– Generate spatial shapes
– Display query results in map view
• Map support
– Display layers in a map based on
map queries
– Drag and drop spatial tables onto
map view for quick display
– Use spatial snippets

** New to Oracle SQL Developer 3.0


47
SQL Developer and Oracle APEX 3.0.1+

• Connect to and browse all Oracle APEX applications associated


with a database schema
– Application level
– Page level
• Run reports on:
– Workspaces
– Applications
– Pages
– Schemas
• Context menu support
– Importing, exporting
– Deploying
– Dropping
– Modifying applications

48
SQL Developer’s Extensible Framework

• Easily extended
– Based on the Fusion Client Platform
• Oracle custom extensions:
– Migration Workbench
– TimesTen
– Data Miner
– Rdb (under development)
– Oracle Spatial
• Third Party extensions
– Various third party available

49
More Information…

50
SQL Developer Exchange
http://sqldeveloper.oracle.com

51
Finding More Detail

52
Finding More Detail
www.oracle.com/technetwork/developer-tools/sqldeveloper/

• SQL Developer on OTN


– White papers, Oracle by Example (OBE), online demos,
models and scripts
– www.oracle.com/technetwork/developer-tools/sqldeveloper/
• SQL Developer Exchange
– Add feature requests: sqldeveloper.oracle.com
• Forums
– SQL Developer
forums.oracle.com/forums/forum.jspa?forumID=260
• Book
– Oracle SQL Developer 2.1
• Webcasts

53
Summary

• Connects, Reports, Files DBA navigators


– Browse, query, update objects

• SQL Worksheet
– Query Builder
• Data export and import
• SQL Tuning
– SQL query adviser, Explain, Diff
• PL/SQL
– Create, edit debug, Unit Testing
• Extensible framework
– User defined extensions
– Database migration projects
– Oracle TimesTen, Oracle Data Miner, Oracle Spatial Management
• Oracle APEX integration

54
55
56

You might also like