copyright © 2006 quest software toad tips & tricks for dba’s bert scalzo, domain expert,...

16
Copyright © 2006 Quest Software Toad Tips & Tricks for DBA’s Bert Scalzo, Domain Expert, Oracle Solutions [email protected]

Upload: mavis-evans

Post on 16-Dec-2015

224 views

Category:

Documents


1 download

TRANSCRIPT

Copyright © 2006 Quest Software

Toad Tips & Tricks for DBA’s

Bert Scalzo, Domain Expert, Oracle Solutions

[email protected]

2

About the Author …Domain Expert & Product Architect for Quest Software

Oracle Background:• Worked with Oracle databases for over two decades (starting with version 4)• Work history includes time at both “Oracle Education” and “Oracle Consulting”

Academic Background:• Several Oracle Masters certifications• BS, MS and PhD in Computer Science• MBA (general business)• Several insurance industry designations

Key Interests:• Data Modeling• Database Benchmarking• Database Tuning & Optimization• "Star Schema" Data Warehouses• Oracle on Linux – and specifically: RAC on Linux

Articles for:• Oracle’s Technology Network (OTN)• Oracle Magazine,• Oracle Informant• PC Week (eWeek)

Articles for:• Dell Power Solutions

Magazine• The Linux Journal• www.linux.com• www.orafaq.com

3

Books by Author … Coming in 2008 …

4

Agenda

• Quick Toad History

• Toad options & bundles for DBA’s

• How to leverage Toad for DBA’s

• Key Database Admin Interfaces & Utilities

• Some non-obvious yet very useful tidbits

• Some slides, but mostly live demo of Toad …

History

Oct ‘98

v5Initial Quest

release.Yahoo! Groups and

Toadsoft.com established.

June ‘99

V6.1Already has 70

distinct screens.

Feb ’00

V6.3Debugger, SQL

Modeler, Oracle 8 object support.

v6.5DBA Module.

April ‘01

v7.0Toad Reports.

Dec ‘01

v7.2Script

Manager, SQL*Loader

Wizard.

Oct ‘02

v7.4Project

Manager,QSR.

May ‘03

v7.5Team Coding,

Data Grid support for

advanced data types.

Nov ‘03

v7.6Session Browser,

new toolbars.

v8.0XML Support,

CodeXpert,Script Debugger.

Rebranded –Toad for Oracle

June ‘05July ‘04

v8.5JIT Debugging,

Citrix, RAC, enhanced 10g

support.

v8.6Re-designed

Modeler, M/D Brower,New Reporting Engine.

Oct ’05

Dec ‘00 Apr ‘02

v7.3HTML Schema

Generator, CMD Line Support.

Original Toad Freeware

Toad for Oracle Freeware Update July ‘05

v9.0Single Merged

Editor.Improved

CodeXpert integration.

ASM, ADDM, AWR Mgt

Oct ’06

v9.1Policy Manager.Action Recall.

Toad TipsVista support.

Jun ’07

v9.5Integration with

SQL Optimizer 7.2Debugger, Profiler,

Code Xpert enhancements.

StatsPack BrowserOracle 11g

support.

Nov ’07

v9.6Debugger into

Standard, Schema Browser merged with DB Browser, integration with QCTO and TDM,

Vulnerability Assessment in Health Check

Apr ’08

Alternatives

1. Freeware

2. Toad for Oracle

3. Toad for Oracle +

DB Admin Module

4. Toad DBA Suite

for Oracle

Lacks several dozen key DBA oriented features!!!

1. Toad For Oracle Xpert2. Toad DB Admin Module3. Toad Data Modeler4. Benchmark Factory5. Spotlight on Oracle!!!

TOAD DBA Suite for Oracle

TuningChecklist

DB Menus

New DB BrowserEliminates need

for most of these!

Outline

•Options•General•Startup•Executables•Windows•RMAN Templates

•DB Browser•Reload from tnsnames•Right Hand Mouse Menu•Tree-view of non-schema objects•Subset portion of Schema Browser•Server & Multi-Select Cumulative Totals

Outline

•Session Browser•What happened to Kill/Trace screen•Configure, configure, configure•New top-level “Waits” tab•“Wait” hyper-links (displays info)•Long-Ops

•Script Runner•Organize your scripts•Load into Editor•Run in place & via Quest Script Runner•Place useful scripts into main menu list•Combine scripts to create new ones

Outline

•Health Check•Can do multiple databases at once•New Vulnerability Assessment (VA)•New un/select by major category•User can adjust the “Params”•Can schedule & email results

•Log Miner•Filter•Options -> Undo Operation•Send SQL to Editor•Use “Save As” for undo commands•***VERY POWERFUL UTILITY***

Outline

•TKPROF Interface•Local files & FTP interface•Handy – but see next item

•Trace File Browser•For those who prefer wait event analysis based upon drilling into “Oracle Instrumentation Data”•Why pay for $$$ for Hotsos Profiler ???•Tree-view into trace file•SQL Statement, Explain Plan, Raw Data•Query Summary graph•Trace file header•Open in external editor – but why

Outline

•Stats Pack Browser•Nice, simple GUI to massive info pool•Offers Wait Event Advice (to 10 events)•Can run standard stats pack report•Can schedule collections•Can manage snapshots

•AWR Browser•Same as above•But must have OEM diagnostic pack•Must use another screen for reports•ADDM/AWR Reports•That screen also offers Baseline mgmnt

Outline

•UNIX Monitor•Database Monitor•Database Probe•Index Monitoring•HTML Schema Doc Generator•DBMS Redefinition Wizard•Compare Data•Compare Schemas•Compare Databases•SGA Trace Optimization•Top Session Finder•RAC – Toad does ASM & RAC too !!!

16

Thank youPlease offer any questions or comments

Remember:

• Like the old Prego spaghetti sauce TV commercial – “It’s in there”…

• Toad’s DBA options & bundles makes Toad = SQL Developer + OEM

• Test Drive Today: The Evaluation Copy Activates All Toad Features!!!

Toad World: The single web portal for all things Toad …

http://www.toadworld.com