SQL Developer for DBAs
Leighton L. Nelson
 Oracle DBA with over 10 years experience
 RAC SIG US Conference Events Chair & IOUG
Liaison
 Oracle 11g RAC Certified ...
 DBA Navigator
 Data Pump/Import & Export
 RMAN Backup & Recovery
 Security
 SQL Tuning Features
 SQL Monitoring
 S...
DBAs and the GUI
DBA Navigator Overview
DBA Navigator
DBA Navigator
Database Configuration
Database Configuration
Database Configuration
Instance Settings
FAST_START_MTTR_TARGET
Media Recovery Settings
LOG_ARCHIVE_FORMAT
SUPPLEMENT...
 Data Pump Components
 DBMS_DATAPUMP
 DBMS_METADATA
 expdp & impdp
 Data Pump processing occurs on server
 Files rea...
Data Pump - Wizard Driven Interface
Data Pump
RMAN Backup & Recovery
 RMAN scripts generated on local machine
 Executed manually or automatically via Scheduler
 Scheduled jobs require Data...
 ARCHIVELOG MODE
 Enables consistent backups when DB is open
 Generates archived log files
RMAN Backup & Recovery
 Configure RMAN Settings
RMAN Backup & Recovery
 View/edit generated scripts
 Cold backups will shutdown database!
 RMAN catalog not supported
 Schedule scripts via c...
Security
 Configure DB_AUDIT_TRAIL
 Audited
Objects/Privileges/Statement
s
 View failed login attempts
 Profiles/Roles...
SQL Tuning
 Explain Plans
 Autotrace
 Monitor Sessions
 SQL Tuning Advisor
 Real-Time SQL Monitoring
 Third-party ex...
SQL Tuning - SQL Tuning Advisor
SQL Tuning - SQL Report Monitor
Reports
 View Built-In Reports
 ASH and AWR
 Database Administration
 User Defined Reports
 Child Reports
 PDF Repor...
Reports - Built-in Reports
Reports - Archive Log Heat Map
http://ba6.us/CodeExamples/SQLD-HTMLHeatMap/2012-10-24-LogHeatMap-v4.sql
Oracle Database 12c
Clone/Create Pluggable Databases!
Oracle Database 12c
Plug/Unplug Database
Bonus Features
 Database Copy
 Import/Export
 Database Diff
 Explain Plan Diff
Summary
 Simplify ad-hoc tasks with GUI, automate
with commands
 Save Grid As Report
 Visualize Data using Reports
 OTN Virtual Developer Day Pre-Built VM
 Jeff Smith's blog
 http://www.thatjeffsmith.com
 SQL Developer OTN Forum
 ht...
 @leight0nn
 leighton.nelson@mercy.net
 http://blogs.griddba.com
Contact Info
Upcoming SlideShare
Loading in...5
×

SQL Developer for DBAs

3,524

Published on

Presented at Kscope 13.

Published in: Technology, News & Politics
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,524
On Slideshare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Introduced in SQL Developer 3.0User should have DBA roleDatabase ConfigurationDatabase StatusData PumpRMAN Backup/RecoveryResource ManagerSchedulerSecurityStorage
  • Go to View -> DBAIf DBA is not available make sure DBA Extension is enabledGo to Preferences -> Extensions -> Check box “Oracle SQL Developer – DBA Navigator 11.2.0.09.87”Add Connections from Connection Manager
  • View/Edit Initialization ParametersRight Click Initialization Parameters to Edit Recovery SettingsInstance Settings -> FAST_START_MTTR_TARGETMedia Recovery Settings -> LOG_ARCHIVE_FORMAT/SUPPLEMENTAL LOGGING
  • Cannot use Data Pump Connected as SYSExport DDL + Data, DDL only or Data onlySelect Export ModeDatabaseSchemasTablesTablespace
  • Wizard driven interface
  • Cannot use Data Pump Connected as SYSExport DDL + Data, DDL only or Data onlySelect Export ModeDatabaseSchemasTablesTablespace
  • Backup Jobs -> Perform Backups and Restores/RecoverySupports multiple backup options (Custom, Disk-based, Tape-based, Tablespace, Datafile, Archivelogs etc.)Supports multiple restore options (Tablespace, Datafile, Database, Archivelogs etc.)
  • RMAN scripts can be generated and executed manually or scheduled to run automaticallyAutomatic Job Scheduling Requires SYSDBA privileges Scheduled jobs require the creation of Database Credentials and RMAN Action JobsApplies to Oracle 11.1 and laterAction Jobs allow you to view log files and execute scripts on the database server.Credentials allow the execution of DBMS_SCHEDULER
  • RMAN scripts can be generated and executed manually or scheduled to run automaticallyAutomatic Job Scheduling Requires SYSDBA privileges Scheduled jobs require the creation of Database Credentials and RMAN Action JobsApplies to Oracle 11.1 and laterAction Jobs allow you to view log files and execute scripts on the database server.Credentials allow the execution of DBMS_SCHEDULER
  • RMAN scripts can be generated and executed manually or scheduled to run automaticallyAutomatic Job Scheduling Requires SYSDBA privileges Scheduled jobs require the creation of Database Credentials and RMAN Action JobsApplies to Oracle 11.1 and laterAction Jobs allow you to view log files and execute scripts on the database server.Credentials allow the execution of DBMS_SCHEDULER
  • server.Credentials allow the execution of DBMS_SCHEDULER
  • server.Credentials allow the execution of DBMS_SCHEDULER
  • View/Edit Audit Settings (DB_AUDIT_TRAIL)View Failed Login Attempts -> Save Grid As ReportFind/Highlight in Grid (Persist Settings)Users -> Create Like Object Grants Missing
  • Tools -> Monitor SQLDrill down on SQL Details to view Real-time reportSave Report as Active HTML ReportMaster/Detail Session InformationEnable Session TracingKill Sessions
  • Requires Database Tuning license option in EEUser requires ADVISOR and ADMINISTER SQL TUNING SET privileges
  • Tools -> Monitor SQLDrill down on SQL Details to view Real-time reportSave Report as Active HTML ReportMaster/Detail Session InformationEnable Session TracingKill Sessions
  • Built-in DBA Reports provide quick Access to canned queriesSQL Wrapped in XML formatReports Can be Copied and Edited or Created from ScratchCharts provides visualization of dataUse “Save Grid As Report” from existing queries to create User Defined ReportsReport Output OptionsTableChartGaugePL/SQL Output
  • Generate ASH and AWR Reports -EE Edition requires Diagnostics and Tuning Pack License
  • Reports can be used to provide Data Visualization features-Heat Map by David Mann(ba6.us)
  • Database CopyImport/ExportDatabase Diff
  • Database CopyImport/ExportDatabase Diff
  • SQL Developer for DBAs

    1. 1. SQL Developer for DBAs Leighton L. Nelson
    2. 2.  Oracle DBA with over 10 years experience  RAC SIG US Conference Events Chair & IOUG Liaison  Oracle 11g RAC Certified Expert  Co-author Expert Oracle Enterprise Manager 12c (Apress) About Me
    3. 3.  DBA Navigator  Data Pump/Import & Export  RMAN Backup & Recovery  Security  SQL Tuning Features  SQL Monitoring  SQL Tuning Advisor  DBMS Scheduler  Reports  Oracle Database 12c Overview
    4. 4. DBAs and the GUI
    5. 5. DBA Navigator Overview
    6. 6. DBA Navigator
    7. 7. DBA Navigator
    8. 8. Database Configuration
    9. 9. Database Configuration
    10. 10. Database Configuration Instance Settings FAST_START_MTTR_TARGET Media Recovery Settings LOG_ARCHIVE_FORMAT SUPPLEMENTAL LOGGING Flash Recovery Settings DB_RECOVERY_FILE_DEST DB_RECOVERY_FILE_SIZE DB_FLASHBACK_RETENTION_TARGET
    11. 11.  Data Pump Components  DBMS_DATAPUMP  DBMS_METADATA  expdp & impdp  Data Pump processing occurs on server  Files read/written in path specified by dir object  Privileges required on directory object  Require DBA role and/or  DATAPUMP_EXPORT_FULL_DATABASE  DATAPUMP_IMPORT_FULL_DATABASE Data Pump
    12. 12. Data Pump - Wizard Driven Interface
    13. 13. Data Pump
    14. 14. RMAN Backup & Recovery
    15. 15.  RMAN scripts generated on local machine  Executed manually or automatically via Scheduler  Scheduled jobs require Database Credentials and RMAN Action Jobs RMAN Backup & Recovery
    16. 16.  ARCHIVELOG MODE  Enables consistent backups when DB is open  Generates archived log files RMAN Backup & Recovery
    17. 17.  Configure RMAN Settings RMAN Backup & Recovery
    18. 18.  View/edit generated scripts  Cold backups will shutdown database!  RMAN catalog not supported  Schedule scripts via cron or Enterprise Manager Cloud Control 12c  DBMS_SCHEDULER jobs require additional configuration RMAN Backup & Recovery
    19. 19. Security  Configure DB_AUDIT_TRAIL  Audited Objects/Privileges/Statement s  View failed login attempts  Profiles/Roles  Users  Create Like
    20. 20. SQL Tuning  Explain Plans  Autotrace  Monitor Sessions  SQL Tuning Advisor  Real-Time SQL Monitoring  Third-party extensions  MR Trace  Hotsos Profiler
    21. 21. SQL Tuning - SQL Tuning Advisor
    22. 22. SQL Tuning - SQL Report Monitor
    23. 23. Reports  View Built-In Reports  ASH and AWR  Database Administration  User Defined Reports  Child Reports  PDF Reports
    24. 24. Reports - Built-in Reports
    25. 25. Reports - Archive Log Heat Map http://ba6.us/CodeExamples/SQLD-HTMLHeatMap/2012-10-24-LogHeatMap-v4.sql
    26. 26. Oracle Database 12c Clone/Create Pluggable Databases!
    27. 27. Oracle Database 12c Plug/Unplug Database
    28. 28. Bonus Features  Database Copy  Import/Export  Database Diff  Explain Plan Diff
    29. 29. Summary  Simplify ad-hoc tasks with GUI, automate with commands  Save Grid As Report  Visualize Data using Reports
    30. 30.  OTN Virtual Developer Day Pre-Built VM  Jeff Smith's blog  http://www.thatjeffsmith.com  SQL Developer OTN Forum  https://forums.oracle.com/forums/forum.jspa?forumI D=260&start=0  Oracle SQL Developer Exchange  https://apex.oracle.com/pls/apex/f?p=43135:1  Oracle Learning Library  https://apex.oracle.com/pls/apex/f?p=44785:1 Useful Links
    31. 31.  @leight0nn  leighton.nelson@mercy.net  http://blogs.griddba.com Contact Info

    ×