Page 1
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL DeveloperFor the DBA
Jeff [email protected] || @thatjeffsmithSenior Principal Product ManagerDatabase Development Tools Group
Oracle Confidential – Internal/Restricted/Highly Restricted
Page 2
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle SQL Developer Overview
Database IDE
4 Million+ Users Worldwide
Windows, OS X, *NIX
Third Party Database Migrations
Data Modeling, Design
Oracle REST Data Services (ORDS) Interface
Page 3
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Version 1.1 – 2006
Version 1.2 - 2007
Version 1.5 - 2008
Version 2.1 - 2009
Version 3.0 - 2011
Version 3.1/3.2 - 2012
Version 4.0 - 2013
Version 4.0.3 – 2014
Version 4.1 - Production
History of Database Administration Features
Page 4
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
1. Manage DatabaseWhere We Started
Page 5
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Where We Started2. Reports
Page 6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Accessed from the View menu
• Add Existing Connections
• Intended for HIGHLY privileged users
Where We Are NowThe DBA Panel, debuted in v3.1
Page 7
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database ConfigurationSee AND Change Stuff
Page 8
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database StatusJust the basics
Page 9
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Database StatusRefreshing reports is boring, can’t you do something better?
Page 10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
No:
agents
DB objects
alerts
history
$$$
Database StatusDB Instance
Page 11
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• No SYS
• Will show currently executing jobs
Data PumpWizards for Export & Import
Page 12
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Data PumpCurrent Job Running
Page 13
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Data Pump – Scheduled JobsIn the Connections Tree
Page 14
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
PerformanceAdded in version 4.0
Page 15
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
The Blog Post
PerformanceLet’s Do Some Demo
Page 16
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
“This will create the database jobs and server directory and scripts required to kick off RMAN backup and recovery operations initiated from SQL Developer.”
• Requires a SchedulerCredential
RMAN – Kick off Backup & Recovery Actions from the ClientConfiguring RMAN Actions
Page 17
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
When I hit ‘Apply’ a new ‘SQLDEV_JOB_XXXXXX.sh’ script is written to the server and EXECUTED.
The work will get logged to a file of the same name (with a .LOG suffix), and you’ll see a ‘BUSY’ throbber widget in SQL Developer telling you the job is running.
When it’s finished you can check the log directly in SQL Developer.
RMAN ActionsWhat we put on the server
Page 18
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Resource ManagersPrevent users from hogging all the resources
Page 19
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SchedulerAdmin stuff, like defining Windows
Page 20
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Auditing!
• Configure Settings
• View Audit Trails
1. Logins
2. Privs
3. Objects
4. Statements
SecurityUsers, roles, passwords – all that stuff, but ALSO:
Page 21
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
StorageTablespaces, temp, archive logs…
Page 22
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Oracle Multitenant Support
– Manage Pluggable Databases
• Data Redaction
– Manage Redaction Policy
• SQL Translation Framework
– Translating non-Oracle SQL to SQL
Database 12c Feature Support
Page 23
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Container Databasemanagement
• Accessed via theDBA panel
• Available in version3.2.20.09 and higher
Multitenant
Page 24
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
ALTER PLUGGABLE DATABASE PDB2_CLONE UNPLUG INTO ‘PDB2_CLONE.XML’;DROP PLUGGABLE DATABASE PDB2_CLONE KEEP DATAFILES;
Plugging stuff…
Page 25
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Copy/Move up to Oracle Cloud Service
• Packs up PDB
• Chunks it up to our Database Public Cloud Service
• View Progress as it goes up
• Automatically Plugged in & Started Up
• Connect immediately (setup SSH Tunnel)
Page 26
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
RedactionOne policy per table
Page 27
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Translation FrameworkInstall translator from SQL Developer
Page 28
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
SQL Translation FrameworkManage Translations via the Profile
Page 29
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Tune your application SQL w/o changing the source code?
What else could this be used for?Substitute SQL when it comes in from the application
Page 30
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• Real Time SQL Monitoring
• Monitor Sessions
• Database Diff– Side by side comparison
between source and target
• Reports
–Data Dictionary Views
–Quality Assurance, Grants/Privileges, Sessions
–User Defined – Customize and Share Reports
Database AdministrationOther stuff not in the DBA Panel
Page 31
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Wait! One more thing…Something that’s not GUI?
Page 32
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
• SQL Developer on OTN– www.oracle.com/sqldeveloper
• Feature Exchange– sqldeveloper.oracle.com
• Forums– https://forums.oracle.com/forums/forum.jspa?forumID=260
• Oracle Learning Library– www.oracle.com/oll
SQL Developer Resources
Page 33
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |