SlideShare una empresa de Scribd logo
1 de 43
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQLDevYou’re Doing it Wrong
Jeff Smith
Senior Principal Product Manager
Jeff.d.smith@oracle.com || @thatjeffsmith
Database Tools, Oracle Corp
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
thatJeffSmith on
• 60+ Videos
• Feature demos
• Tips & Tricks
• Short & Long Form
– SQL Developer
– SQLcl
– Data Modeler
– ORDS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Developer, Major Feature Areas
 PL/SQL IDE
 SQL editor
 GUI for browsing and managing database objects
 Ad Hoc reporting
 Database Design & Data Modeling
 Database Administration
 3rd Party RDBMS Migrations to Oracle
 Deploy and Administer Oracle REST Data Services
 REST Enablement of the Database
 Command Line Interface
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
6
SQL Developer Snapshot
Time Tested
Launched in
2005
An Industry Standard
5M+ Oracle DBAs
& Developers
Always Improving
Quarterly
Releases
4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

 Top 15 Download on OTN
 Telling Your Friends 
5,000,000+
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Project Raptor
 Early Adopter on OTN
2005
1.1
 File Based PL/SQL editing
 Reports
 Ships with 11gR1
1.5.x
 Localizations -
Japanese, Spanish,
Italian, German, French,
Portuguese, Chinese, &
Koreans
 Ships with 11gR2
SQLDev v1.0
 SQL Worksheet
 Procedure Editor
 The world takes notice!
1.5
 Schema Copy/Diff/Export
 Thick connections
 Versioning
 TimesTen
2.1
 Unit Testing
 Data Modeler Viewer
 Unshared SQL Worksheets
2007 201020092006
3.0
 Full Data Modeler
 View > DBA
 SQL Tuning Advisor
 Query Builder
2008 2011 2012
3.1
 New Database DIFF
 PDF Reports
 RMAN
 Data Pump
2013
3.2
 APEX Listener / ORDS
Support
 Database 12c Support
 Schema Service Support
4.0
 Java 7
 ASH/AWR/ADDM
 Color Coded Connections
 Command line Interface
4.0.3
 Optimized Code Insight
 Oracle Big Data Appliance
2014 2015 2016
4.1
 ORDS Included/Full GUI
 instance Viewer
 SQLcl
 Copy PDB to DBaaS
 Larry live demos PDB relocate @ OOW
4.2
 Real Time SQL Monitoring
 Top SQL Report
 Formatter & Other Editor Enhancements
 Easier RESTful Services Development
2017
SQLcl
 New CLI
 Modern SQL*Plus
Release History
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
2017
2017.2
 Bug Fixes
 Sharding
 Data Guard
17.3 & 17.4
 Bug Fixes
Quarterly Releases!!!
2018
Release History
18.1
 Autonomous Data Warehouse Support
 New Welcome Screen/Connections
 SQL Injection Detection
 PL/Scope SQL Statement Support
 Better Formatting
 KILL ALL THE BUGS!
18.2/3
 PL/SQL
Injection
Detection
 Cloud data
Loads
 Nested
Connections
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
You’re doing it wrong.
All wrong.
Do you even SQLDev?
Provocative Statement!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Huge Product, Most Folks are Self-Taught…
…it’s our fault, not yours.
 PL/SQL IDE
 SQL editor
 GUI for browsing and managing database objects
 Ad Hoc reporting
 Database Design & Data Modeling
 Database Administration
 3rd Party RDBMS Migrations to Oracle
 Deploy and Administer Oracle REST Data Services
 REST Enablement of the Database
 Command Line Interface
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Jeff’s Driving School
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Not using the Right Tool
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Command Line can be faster, simpler!
 <TAB> complete
 file names, keywords, and
 object names!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Statement & Script History – access with Up/Down Key
 Sensitive commands,
connect black-listed
 Defaults to last 100
 Avail from session to
session per OS user
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Use ALIAS feature to create new Commands
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Get your files, whichever way you want them
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Custom Formats, just add JavaScript
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Auto-Replace/Spell Checking in SQLcl
 Uses SCRIPT/JS
 Looks for ‘bad’ text
 Replaces before
sending to JDBC
 Shows corrected SQL
with Output
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Digging around the Connections Tree
Tree Basics:
 use the keyboard to navigate
 use connection folders
 hide things! OR
 don’t use the tree at all!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Way: Trim the Tree
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Way: Using Database Search
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Way: Ctrl+Click into the Object
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Way: Try the Schema Browser
Right-click on your Connection, open the schema browser
 drop down pickers vs tree
 full features
 client side filtering
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Loading Scripts/Copy/Pasting Code
Code your frequently
used SQL and
scripts directly into
the product:
Code Snippets
 …or Auto-Replace
 Reports
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 Automatic = suggestions as
you type
 Manual = suggestions as you
ask for them (ctrl+space)
 drag and drop from tree to
generate code
Wrong Way: Manual Coding
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 Adjust delay
 Suppress automatic
suggestions
OR
 Turn off completely and
use keyboard, on demand
with CTRL+Spacebar
Wrong Way: Getting Mad at the Pop-ups
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Bonus: Get Help/Examples with Commands!
 peak into Docs for sample code
on your function/command
 click on ‘book’ to go straight
to the DOCS page for that
function/command
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right way: keyboard through SQL History
Wrong Way: F8/Using the History Panel
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Session Trace to get SQL Developer’s SQL
Right way: use the Statements panel
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
I love it when a plan comes
together!!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Explain Plan
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Way: Use Cached Plans or DBMS_XPLAN or AutoTrace
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Plans/AutoTrace – generate & compare side by side!
Hit the drop-down control next to Plan Button to
access cached plans from v$sql_plan
Pin Plan, Gen Plan, Right-Click >
Compare for Side By Side View
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 enable things you want to see in
your plans, like
QBLOCK_NAME
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
PUT
THE
MOUSE
DOWN
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: 7 Clicks to get CSV
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
 Add Comment
 Execute via F5 (Script)
 Comment labels match grid
export formatter labels
 ONLY works in SQLDev…
& SQLcl 
Right Way: Write Straight to CSV + Spool
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Running on Default Preferences
 Open Object on Single Click
 Code Editor Font
 Grid in checkerboard
 Display NULL As
 Shortcut Keys
 PL/SQL Syntax Colors
Ten Minute Video
Right way: tweak SQLDev to work the way you want it to
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Ignoring the DBA Panel
 View Menu
 ‘DBA’
 Adding new
things every
release
 Not JUST for
developers
anymore
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Watch Database Activity
 agent-less
 ZERO DB objects
 a ‘fancy’ report
 no history
● no alerts
● drill-downs
We’re making more of
these 
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wrong Way: Data In and Out of Excel
 XLS vs XLSX
 Importing
 External/SQLDR
 Ctrl+C vs Shift+…
 Multiple tables to
different workbooks
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Right Way: Some Excel Tips
 XLSX faster than XLS
 CSV faster than XLSX
 CSV => External Table
better for large imports
 Ctrl+Shift+C => Copy
Data + Column Headers
 Export multiple tables to a
single XLSX file = use the
Database Export Wizard
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Tips in Blog/Video Format
 thatjeffsmith.com
 @thatjeffsmith
 youtube/user/thatjeffsmith
Oracle SQL Developer: You're Doing it Wrong!

Más contenido relacionado

La actualidad más candente

REST Enabling your Oracle Database (2018 Update)
REST Enabling your Oracle Database (2018 Update)REST Enabling your Oracle Database (2018 Update)
REST Enabling your Oracle Database (2018 Update)Jeff Smith
 
Oracle SQL Developer: 3 Features You're Not Using But Should Be
Oracle SQL Developer: 3 Features You're Not Using But Should BeOracle SQL Developer: 3 Features You're Not Using But Should Be
Oracle SQL Developer: 3 Features You're Not Using But Should BeJeff Smith
 
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & TricksPennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & TricksJeff Smith
 
Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl Jeff Smith
 
Oracle Database Management REST API
Oracle Database Management REST APIOracle Database Management REST API
Oracle Database Management REST APIJeff Smith
 
Oracle REST Data Services: POUG Edition
Oracle REST Data Services: POUG EditionOracle REST Data Services: POUG Edition
Oracle REST Data Services: POUG EditionJeff Smith
 
Oracle SQL Developer Tips and Tricks: Data Edition
Oracle SQL Developer Tips and Tricks: Data EditionOracle SQL Developer Tips and Tricks: Data Edition
Oracle SQL Developer Tips and Tricks: Data EditionJeff Smith
 
Oracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksOracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksJeff Smith
 
SQLcl overview - A new Command Line Interface for Oracle Database
SQLcl overview - A new Command Line Interface for Oracle DatabaseSQLcl overview - A new Command Line Interface for Oracle Database
SQLcl overview - A new Command Line Interface for Oracle DatabaseJeff Smith
 
Oracle SQL Developer Data Modeler - for SQL Server
Oracle SQL Developer Data Modeler - for SQL ServerOracle SQL Developer Data Modeler - for SQL Server
Oracle SQL Developer Data Modeler - for SQL ServerJeff Smith
 
Oracle REST Data Services: Options for your Web Services
Oracle REST Data Services: Options for your Web ServicesOracle REST Data Services: Options for your Web Services
Oracle REST Data Services: Options for your Web ServicesJeff Smith
 
Oracle SQL Developer for SQL Server?
Oracle SQL Developer for SQL Server?Oracle SQL Developer for SQL Server?
Oracle SQL Developer for SQL Server?Jeff Smith
 
Oracle REST Data Services Best Practices/ Overview
Oracle REST Data Services Best Practices/ OverviewOracle REST Data Services Best Practices/ Overview
Oracle REST Data Services Best Practices/ OverviewKris Rice
 
Social Media - Why a Database Person Should Care
Social Media  - Why a Database Person Should CareSocial Media  - Why a Database Person Should Care
Social Media - Why a Database Person Should CareJeff Smith
 
Oracle SQL Developer Top 10 Tips & Tricks
Oracle SQL Developer Top 10 Tips & TricksOracle SQL Developer Top 10 Tips & Tricks
Oracle SQL Developer Top 10 Tips & TricksJeff Smith
 
Oracle SQL Developer for the DBA
Oracle SQL Developer for the DBAOracle SQL Developer for the DBA
Oracle SQL Developer for the DBAJeff Smith
 
REST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseREST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseJeff Smith
 
Oracle SQL Developer version 4.0 New Features Overview
Oracle SQL Developer version 4.0 New Features OverviewOracle SQL Developer version 4.0 New Features Overview
Oracle SQL Developer version 4.0 New Features OverviewJeff Smith
 
Pimping SQL Developer and Data Modeler
Pimping SQL Developer and Data ModelerPimping SQL Developer and Data Modeler
Pimping SQL Developer and Data ModelerKris Rice
 

La actualidad más candente (20)

REST Enabling your Oracle Database (2018 Update)
REST Enabling your Oracle Database (2018 Update)REST Enabling your Oracle Database (2018 Update)
REST Enabling your Oracle Database (2018 Update)
 
Oracle SQL Developer: 3 Features You're Not Using But Should Be
Oracle SQL Developer: 3 Features You're Not Using But Should BeOracle SQL Developer: 3 Features You're Not Using But Should Be
Oracle SQL Developer: 3 Features You're Not Using But Should Be
 
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & TricksPennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
Pennsylvania Banner User Group Webinar: Oracle SQL Developer Tips & Tricks
 
Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl Change Management for Oracle Database with SQLcl
Change Management for Oracle Database with SQLcl
 
Oracle SQLcl
Oracle SQLcl Oracle SQLcl
Oracle SQLcl
 
Oracle Database Management REST API
Oracle Database Management REST APIOracle Database Management REST API
Oracle Database Management REST API
 
Oracle REST Data Services: POUG Edition
Oracle REST Data Services: POUG EditionOracle REST Data Services: POUG Edition
Oracle REST Data Services: POUG Edition
 
Oracle SQL Developer Tips and Tricks: Data Edition
Oracle SQL Developer Tips and Tricks: Data EditionOracle SQL Developer Tips and Tricks: Data Edition
Oracle SQL Developer Tips and Tricks: Data Edition
 
Oracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksOracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & Tricks
 
SQLcl overview - A new Command Line Interface for Oracle Database
SQLcl overview - A new Command Line Interface for Oracle DatabaseSQLcl overview - A new Command Line Interface for Oracle Database
SQLcl overview - A new Command Line Interface for Oracle Database
 
Oracle SQL Developer Data Modeler - for SQL Server
Oracle SQL Developer Data Modeler - for SQL ServerOracle SQL Developer Data Modeler - for SQL Server
Oracle SQL Developer Data Modeler - for SQL Server
 
Oracle REST Data Services: Options for your Web Services
Oracle REST Data Services: Options for your Web ServicesOracle REST Data Services: Options for your Web Services
Oracle REST Data Services: Options for your Web Services
 
Oracle SQL Developer for SQL Server?
Oracle SQL Developer for SQL Server?Oracle SQL Developer for SQL Server?
Oracle SQL Developer for SQL Server?
 
Oracle REST Data Services Best Practices/ Overview
Oracle REST Data Services Best Practices/ OverviewOracle REST Data Services Best Practices/ Overview
Oracle REST Data Services Best Practices/ Overview
 
Social Media - Why a Database Person Should Care
Social Media  - Why a Database Person Should CareSocial Media  - Why a Database Person Should Care
Social Media - Why a Database Person Should Care
 
Oracle SQL Developer Top 10 Tips & Tricks
Oracle SQL Developer Top 10 Tips & TricksOracle SQL Developer Top 10 Tips & Tricks
Oracle SQL Developer Top 10 Tips & Tricks
 
Oracle SQL Developer for the DBA
Oracle SQL Developer for the DBAOracle SQL Developer for the DBA
Oracle SQL Developer for the DBA
 
REST Enabling Your Oracle Database
REST Enabling Your Oracle DatabaseREST Enabling Your Oracle Database
REST Enabling Your Oracle Database
 
Oracle SQL Developer version 4.0 New Features Overview
Oracle SQL Developer version 4.0 New Features OverviewOracle SQL Developer version 4.0 New Features Overview
Oracle SQL Developer version 4.0 New Features Overview
 
Pimping SQL Developer and Data Modeler
Pimping SQL Developer and Data ModelerPimping SQL Developer and Data Modeler
Pimping SQL Developer and Data Modeler
 

Similar a Oracle SQL Developer: You're Doing it Wrong!

All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperJeff Smith
 
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...DataWorks Summit
 
10 Building Blocks for Enterprise JavaScript
10 Building Blocks for Enterprise JavaScript10 Building Blocks for Enterprise JavaScript
10 Building Blocks for Enterprise JavaScriptGeertjan Wielenga
 
Kellyn Pot'Vin-Gorman - Awr and Ash
Kellyn Pot'Vin-Gorman - Awr and AshKellyn Pot'Vin-Gorman - Awr and Ash
Kellyn Pot'Vin-Gorman - Awr and Ashgaougorg
 
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan WielengaCoding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan WielengaJAXLondon_Conference
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL IntegrationOracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL IntegrationChris Muir
 
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration UtilityOracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration UtilityNoel Sidebotham
 
IOUG at Coors Field ASH and AWR in EM12c!
IOUG at Coors Field ASH and AWR in EM12c!IOUG at Coors Field ASH and AWR in EM12c!
IOUG at Coors Field ASH and AWR in EM12c!Kellyn Pot'Vin-Gorman
 
Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016Kellyn Pot'Vin-Gorman
 
Module 1: JavaScript Basics
Module 1: JavaScript BasicsModule 1: JavaScript Basics
Module 1: JavaScript BasicsDaniel McGhan
 
New data dictionary an internal server api that matters
New data dictionary an internal server api that mattersNew data dictionary an internal server api that matters
New data dictionary an internal server api that mattersAlexander Nozdrin
 
What is DevOps?
What is DevOps?What is DevOps?
What is DevOps?jeckels
 

Similar a Oracle SQL Developer: You're Doing it Wrong! (20)

All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
 
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...
Big Data Management System: Smart SQL Processing Across Hadoop and your Data ...
 
UKOUG
UKOUG UKOUG
UKOUG
 
AWR and ASH in an EM12c World
AWR and ASH in an EM12c WorldAWR and ASH in an EM12c World
AWR and ASH in an EM12c World
 
Session at Oredev 2016.
Session at Oredev 2016.Session at Oredev 2016.
Session at Oredev 2016.
 
10 Building Blocks for Enterprise JavaScript
10 Building Blocks for Enterprise JavaScript10 Building Blocks for Enterprise JavaScript
10 Building Blocks for Enterprise JavaScript
 
Imworld.ro
Imworld.roImworld.ro
Imworld.ro
 
Kellyn Pot'Vin-Gorman - Awr and Ash
Kellyn Pot'Vin-Gorman - Awr and AshKellyn Pot'Vin-Gorman - Awr and Ash
Kellyn Pot'Vin-Gorman - Awr and Ash
 
Slovenian Oracle User Group
Slovenian Oracle User GroupSlovenian Oracle User Group
Slovenian Oracle User Group
 
AWR and ASH Deep Dive
AWR and ASH Deep DiveAWR and ASH Deep Dive
AWR and ASH Deep Dive
 
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan WielengaCoding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
Coding for desktop and mobile with HTML5 and Java EE 7 - Geertjan Wielenga
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL IntegrationOracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
 
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration UtilityOracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
Oracle Warehouse Builder to Oracle Data Integrator 12c Migration Utility
 
IOUG at Coors Field ASH and AWR in EM12c!
IOUG at Coors Field ASH and AWR in EM12c!IOUG at Coors Field ASH and AWR in EM12c!
IOUG at Coors Field ASH and AWR in EM12c!
 
Marcin Szałowicz - MySQL Workbench
Marcin Szałowicz - MySQL WorkbenchMarcin Szałowicz - MySQL Workbench
Marcin Szałowicz - MySQL Workbench
 
Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016Database as a Service, Collaborate 2016
Database as a Service, Collaborate 2016
 
Module 1: JavaScript Basics
Module 1: JavaScript BasicsModule 1: JavaScript Basics
Module 1: JavaScript Basics
 
Developer day v2
Developer day v2Developer day v2
Developer day v2
 
New data dictionary an internal server api that matters
New data dictionary an internal server api that mattersNew data dictionary an internal server api that matters
New data dictionary an internal server api that matters
 
What is DevOps?
What is DevOps?What is DevOps?
What is DevOps?
 

Último

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 

Último (20)

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 

Oracle SQL Developer: You're Doing it Wrong!

  • 1. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQLDevYou’re Doing it Wrong Jeff Smith Senior Principal Product Manager Jeff.d.smith@oracle.com || @thatjeffsmith Database Tools, Oracle Corp
  • 2. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | thatJeffSmith on • 60+ Videos • Feature demos • Tips & Tricks • Short & Long Form – SQL Developer – SQLcl – Data Modeler – ORDS
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SQL Developer, Major Feature Areas  PL/SQL IDE  SQL editor  GUI for browsing and managing database objects  Ad Hoc reporting  Database Design & Data Modeling  Database Administration  3rd Party RDBMS Migrations to Oracle  Deploy and Administer Oracle REST Data Services  REST Enablement of the Database  Command Line Interface
  • 4. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 6 SQL Developer Snapshot Time Tested Launched in 2005 An Industry Standard 5M+ Oracle DBAs & Developers Always Improving Quarterly Releases 4
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |   Top 15 Download on OTN  Telling Your Friends  5,000,000+
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Project Raptor  Early Adopter on OTN 2005 1.1  File Based PL/SQL editing  Reports  Ships with 11gR1 1.5.x  Localizations - Japanese, Spanish, Italian, German, French, Portuguese, Chinese, & Koreans  Ships with 11gR2 SQLDev v1.0  SQL Worksheet  Procedure Editor  The world takes notice! 1.5  Schema Copy/Diff/Export  Thick connections  Versioning  TimesTen 2.1  Unit Testing  Data Modeler Viewer  Unshared SQL Worksheets 2007 201020092006 3.0  Full Data Modeler  View > DBA  SQL Tuning Advisor  Query Builder 2008 2011 2012 3.1  New Database DIFF  PDF Reports  RMAN  Data Pump 2013 3.2  APEX Listener / ORDS Support  Database 12c Support  Schema Service Support 4.0  Java 7  ASH/AWR/ADDM  Color Coded Connections  Command line Interface 4.0.3  Optimized Code Insight  Oracle Big Data Appliance 2014 2015 2016 4.1  ORDS Included/Full GUI  instance Viewer  SQLcl  Copy PDB to DBaaS  Larry live demos PDB relocate @ OOW 4.2  Real Time SQL Monitoring  Top SQL Report  Formatter & Other Editor Enhancements  Easier RESTful Services Development 2017 SQLcl  New CLI  Modern SQL*Plus Release History
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2017 2017.2  Bug Fixes  Sharding  Data Guard 17.3 & 17.4  Bug Fixes Quarterly Releases!!! 2018 Release History 18.1  Autonomous Data Warehouse Support  New Welcome Screen/Connections  SQL Injection Detection  PL/Scope SQL Statement Support  Better Formatting  KILL ALL THE BUGS! 18.2/3  PL/SQL Injection Detection  Cloud data Loads  Nested Connections
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | You’re doing it wrong. All wrong. Do you even SQLDev? Provocative Statement!
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Huge Product, Most Folks are Self-Taught… …it’s our fault, not yours.  PL/SQL IDE  SQL editor  GUI for browsing and managing database objects  Ad Hoc reporting  Database Design & Data Modeling  Database Administration  3rd Party RDBMS Migrations to Oracle  Deploy and Administer Oracle REST Data Services  REST Enablement of the Database  Command Line Interface
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Jeff’s Driving School
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Not using the Right Tool
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Command Line can be faster, simpler!  <TAB> complete  file names, keywords, and  object names!
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SQL Statement & Script History – access with Up/Down Key  Sensitive commands, connect black-listed  Defaults to last 100  Avail from session to session per OS user
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Use ALIAS feature to create new Commands
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Get your files, whichever way you want them
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Custom Formats, just add JavaScript
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Auto-Replace/Spell Checking in SQLcl  Uses SCRIPT/JS  Looks for ‘bad’ text  Replaces before sending to JDBC  Shows corrected SQL with Output
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Digging around the Connections Tree Tree Basics:  use the keyboard to navigate  use connection folders  hide things! OR  don’t use the tree at all!
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right Way: Trim the Tree
  • 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right Way: Using Database Search
  • 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right Way: Ctrl+Click into the Object
  • 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right Way: Try the Schema Browser Right-click on your Connection, open the schema browser  drop down pickers vs tree  full features  client side filtering
  • 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Loading Scripts/Copy/Pasting Code Code your frequently used SQL and scripts directly into the product: Code Snippets  …or Auto-Replace  Reports
  • 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Automatic = suggestions as you type  Manual = suggestions as you ask for them (ctrl+space)  drag and drop from tree to generate code Wrong Way: Manual Coding
  • 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Adjust delay  Suppress automatic suggestions OR  Turn off completely and use keyboard, on demand with CTRL+Spacebar Wrong Way: Getting Mad at the Pop-ups
  • 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Bonus: Get Help/Examples with Commands!  peak into Docs for sample code on your function/command  click on ‘book’ to go straight to the DOCS page for that function/command
  • 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right way: keyboard through SQL History Wrong Way: F8/Using the History Panel
  • 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Session Trace to get SQL Developer’s SQL Right way: use the Statements panel
  • 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | I love it when a plan comes together!!
  • 30. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Explain Plan
  • 31. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right Way: Use Cached Plans or DBMS_XPLAN or AutoTrace
  • 32. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Plans/AutoTrace – generate & compare side by side! Hit the drop-down control next to Plan Button to access cached plans from v$sql_plan Pin Plan, Gen Plan, Right-Click > Compare for Side By Side View
  • 33. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  enable things you want to see in your plans, like QBLOCK_NAME
  • 34. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | PUT THE MOUSE DOWN
  • 35. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: 7 Clicks to get CSV
  • 36. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |  Add Comment  Execute via F5 (Script)  Comment labels match grid export formatter labels  ONLY works in SQLDev… & SQLcl  Right Way: Write Straight to CSV + Spool
  • 37. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Running on Default Preferences  Open Object on Single Click  Code Editor Font  Grid in checkerboard  Display NULL As  Shortcut Keys  PL/SQL Syntax Colors Ten Minute Video Right way: tweak SQLDev to work the way you want it to
  • 38. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Ignoring the DBA Panel  View Menu  ‘DBA’  Adding new things every release  Not JUST for developers anymore
  • 39. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Watch Database Activity  agent-less  ZERO DB objects  a ‘fancy’ report  no history ● no alerts ● drill-downs We’re making more of these 
  • 40. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Wrong Way: Data In and Out of Excel  XLS vs XLSX  Importing  External/SQLDR  Ctrl+C vs Shift+…  Multiple tables to different workbooks
  • 41. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Right Way: Some Excel Tips  XLSX faster than XLS  CSV faster than XLSX  CSV => External Table better for large imports  Ctrl+Shift+C => Copy Data + Column Headers  Export multiple tables to a single XLSX file = use the Database Export Wizard
  • 42. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | The Tips in Blog/Video Format  thatjeffsmith.com  @thatjeffsmith  youtube/user/thatjeffsmith