Toad for Oracle
Martin RapettiBusiness Development Manager
2 Confidential Database Performance Monitoring
Agenda
• Toad For Oracle– Toad for Developers– Toad for Database Administrators
• Oracle Database Monitoring & Performance Diagnostics– Foglight for Oracle
3 Confidential Emerging Markets
TOAD
4 Confidential Emerging Markets
Toad
Toad® is a comprehensive database tool for development and
administration that enables you to perform daily tasks efficiently and
accurately. It has grown over the past 15 years into the most advanced
and widely-used tool of its kind. Toad provides tremendous value to
DBAs, Developers, Development Managers and Analysts by providing the
following key functions:
– Browse multiple Oracle databases and view and administer database and schema objects efficiently – Write, debug and tune code accurately – Smooth workflow allows users to easily move from one task to another – Tasks can be automated and scheduled – Extensive reporting capabilities deliver quantifiable data and documentation – Toad World community membership for access to Toad resources and expertise
Oct. 1998 v5 – Initial Quest
release.Yahoo! Groups
and Toadsoft.com established
June 1999 v6.1 – Already has 70 distinct screens
Feb. 2000 v6.3 – Debugger, SQL
Modeler, Oracle 8 object support
Dec. 2000 v6.5 – DBA Module
April 2001 v7.0 – Toad Reports
May 2003 v7.5 – Team Coding,
Data Grid support for advanced data
types
Toad™ for Oracle Release History
July 2004 v8.0 – XML Support, Code
Xpert, Script Debugger,
Rebrand to Toad for Oracle
June 2005 v8.5 – JIT debugging, Citrix, RAC and enhanced 10g
support
Oct. 2006 v9.0 – Merged Editor, improved Code
Xpert integration, ADM, ADDM AWR
Mgmt.
Nov. 2007 v9.5 – Integration with SQL Optimizer
v7.2, Debugger, Profiler, Code Xpert updates, StatsPack
Browser, Oracle 11g support
Sept. 2008 v9.7 – Data Generator, RMAN scripts,
Trace File Browser, Subversion
support, Toad AppDesigner,
StatsPack and AWR Advisories
October 2009 v10.0 – Unicode
Support, Data Generator, new
Data Grids, Improved ERD multi-tasking,
enhanced Health Check, New
Licensing system
Dec. 2009 v10.1 –
Toad Data Modeler
included with all Toad for
Oracle Editions, 11gR2 support,
more automation
April 2010 v10.5 –
Enhanced Editor, more automation,
Auto Optimize, DBMS_ OUTPUT
debug, TFS support,
improved CRM RAC in Health,
contextual Spotlight
integration
Sept. 2010 v10.6 –
Performance improvements,
enhanced Editor and Code
Road Map, Actions in
Project Manager, Toad
Idea Pond, Support for TFS
2010 and Perforce
Sept. 2011 v11.0 – New
Code Analysis, Editor
productivity updates,
enhanced DB Health Check, production DB
protection, improved reporting
April 2012 v11.5 –
Enhanced Query Builder, Code Analysis with custom rules and naming
conventions, APEX support, Exadata Health
Checks and community
collaboration
Oct 2012 v11.6 – Code
Analysis enhancements
Enhanced Code Tester for Oracle
integration,Reports and
Documentation localized in East Asian LanguagesWeb application for remote script
executionCloud based script
sharing
Jun 2013 v12.0
– Forum window with Connected Intelligence
Jump searchMultiple Schema
Compare & Sync
Team Coding enhancements
Windows 8
Oracle 8i Oracle 9i
Oracle 10g R1(Nov. 2003)
Oracle 10g R2 Oracle 11g R1 (June 2007) Oracle 11g R2
6 Confidential Emerging Markets
Toad ® for Oracle
Toad for Oracle is a productivity toolset that provides efficient and accurate development and administration to Oracle database
professionals of all skill and experience levels. It is the most widely-used tool of its kind on the market.
Which version is right for me
• Toad for Oracle Freeware ( available from Toadworld.com )
• Toad for Oracle BASE edition• Toad for Oracle Professional edition • Toad for Oracle Xpert edition ( includes SQL Optimizer for Oracle )• Toad for Oracle Development Suite• Toad for Oracle DBA Suite ( Exadata, RAC and non-RAC versions
available )
Recommended Toad® edition by job function
AnalystApplication
DeveloperPL/SQL
DeveloperDatabase
Administrator
BI Suite Xpert Edition Development Suite DBA SuiteAn integrated solution that improves decision making by enabling users to fully
leverage their BI environments and
corporate information.
Build code with a focuson ensuring standardization and that the most optimal
code possible is being used.
Employ a best-practices approach to database development, which
encompasses code quality, performance and maintainability.
Includes Toad Data Modeler and SQL Optimizer for Oracle
A complete productivity toolset that automates maintenance, boosts
performance and Mitigates the risks
associated with changes.
Includes Toad for Oracle Xpert plus Benchmark
Factory and Code Tester for Oracle
Includes Toad for Oracle Xpert, Spotlight on Oracle,
Benchmark Factory and Backup Reporter (RAC and
Exadata Editions avail.)
Includes Toad Data Point, Toad Decision Point and
Intelligence Central
Help guarantee application success by employing a database development best practices methodology that encompasses
code quality, performance and maintainability.
• Ensure high quality code is delivered to production
• Maximize SQL performance, to reduce bottlenecks and avoid service interruptions
• Reduce maintenance costs through coding standards and testing
• Collaborate among team members and leverage their expertise and existing work
• Maximize productivity to meet deadlines through automation, templates and intuitive interfaces
Toad for Developers
11 Confidential Emerging Markets
• Toad for Oracle Xpert Edition (includes Quest SQL Optimizer for Oracle):
Ensure efficient & accurate development, utilising a best practices workflow
& validate database code for the best-possible performance
• Quest Code Tester for Oracle : Perform thorough, automated functional code testing
• Benchmark Factory for Databases Oracle Edition: Validate code against performance SLAs and test code for performance and
scalability before deployment
• Toad Data Modeler : visually create database structures and provide documentation or make changes to existing models
Toad® Development Suite
12 Confidential Emerging Markets
Demo SQL Profiles
13 Confidential Emerging Markets
• QCTO is a tool that automates the process of building & running tests for Oracle PL/SQL program units
• Rather than write test code & manually verify results, you describe the expected behaviours of a program
• QCTO stores those behaviours as test cases in a repository
• It generates the test code as a PL/SQL package• It runs your tests & automatically verifies results
Code Tester for Oracle
14 Confidential Emerging Markets
CREATE OR REPLACE FUNCTION betwnstr ( string_in IN VARCHAR2 , start_in IN PLS_INTEGER , end_in IN PLS_INTEGER , inclusive_in IN BOOLEAN DEFAULT TRUE) RETURN VARCHAR2 DETERMINISTICISBEGIN RETURN (SUBSTR (string_in, start_in, end_in - start_in +1)); END;
Code Tester for Oracle – SUBSTR
15 Confidential Emerging Markets
Look deeper at what we have
string_in start_in end_in
abcdefg 2 4abcdefg 2 100abcdefg 0 4NULL 2 4abcdefg -1 -4abcdefg 3 NULL
Are you thinking. What are the expected outcomes ?
Code Tester for Oracle – SUBSTR
16 Confidential Emerging Markets
Code Tester for Oracle
• Things to notice
– I specify what my program should do– I do not write any test code–Code Tester tells me where/if my code fails to work as expected
– I can re-run the tests whenever needed
Ref : http://www.toadworld.com/platforms/oracle/w/wiki/8243.plsql-obsession.aspx
Toad for DBA’s
Improve operational efficiency to lower costs through a systematic approach that automates
maintenance, ensures optimal performance and mitigates the impact of planned changes.
• Ensure maintainability through task automation, reducing the risk of inconsistencies
• Maximize performance by accurately diagnosing and efficiently resolving inefficiencies
• Understand the impact of changes to reduce risk before deployment
• Work more productively and be more proactive with workflow automation, consistent processes and greater accuracy
26 Confidential Emerging Markets
• Toad for Oracle Xpert Edition (includes Quest SQL Optimizer for Oracle)
simplify database administration through task automation and validate code to ensure
the best-possible performance
• Toad DB Admin Module
compare and synchronize database schema, objects and data and assess your risk for
security vulnerabilities
• Spotlight on Oracle
visualize database components in real time and pinpoint performance problems quickly
so you can easily eliminate bottlenecks
• Benchmark Factory for Databases (Oracle Edition)
replay database workload to test performance under production-like conditions or run
standard benchmarks like TPC-H , Scalable Hardware, etc
• Backup Reporter for Oracle
Shows the status of your RMAN backups across all the managed databases
• Toad Data Modeler
visually create database structures and provide documentation or make changes to existing
models
Toad® for Oracle DBA Suite
27 Confidential Emerging Markets
Demo SQL Profiles
30 Confidential Emerging Markets
Backup Reporter for Oracle ( added to DBA Suite 11.5 )
• Read-only reporting tool for reporting on the status of your RMAN backups across all the managed databases as well as providing reports, health check advisories & policy violations
36 Confidential Emerging Markets
Use Toad World – realize the power of connected intelligence
Login to the newly-redesigned Toad World community
ToadWorld.com
• Connect with peers and world-renowned subject-matter experts
• Share knowledge and become one of the experts
• Get help and access resources from inside Toad for Oracle
Foglight Database Monitoring for Oracle
38 Confidential Database Performance Monitoring
Challenges that Customers Face with Database Performance Monitoring• Database Administrators and Managers are challenged with
establishing consistent visibility across heterogeneous database environments, as well as delivering deep insight into transaction analysis.
• The Major pain points include:– Lack of visibility into the health of the database environment– Inability to diagnose and analyze real time and historical performance issues – Being Proactive - fixing problems before they affect users– Clear and consistent reporting (automated)– Proving that the source of problems is not tied to the database (if a problem
isn’t in the database)– Productivity of the staff (cross training DBAs across multiple platforms)– Each database platform is monitored by a separate tool– Native tools are real time only and cumbersome– Ensuring consistent service levels
39 Confidential Database Performance Monitoring
• Database Performance Monitoring solutions enable database administrators to gain control of their database environments through:
– Complete visibility into the health of the environment– Diagnostic capabilities into performance problems– Delivering a proactive approach to fixing problems before they affect
the users
Why Foglight
40 Product Marketing
Foglight for Databases Architecture
41 Product Marketing
Foglight Performance Suite
42 Confidential Database Performance Monitoring
Foglight Database Monitoring
Foglight Database main features
– Cross platform management– Static threshold & baseline deviation alerting– Robust alarm management– Deep dive problem diagnostics – both real time & historical– Easy to interpret technical visualizations
Foglight Database Performance Suite main features
– Dimensional analysis of query performance– Granular wait state analysis– Transaction level comparisons– Performance Advisories– Query tuning & optimization
43 Product Marketing
Foglight uses Workload baseline deviation
• Intelligent Baseline Alerting– Continuously learns and profiles the behavior for each metric– Builds an adaptive baseline representing “normal” performance– Continuously detects unusual behavior
Baseline Deviations
44 Product Marketing
Global view
45 Product Marketing
Take a look at an alarm
46 Product Marketing
Correlate with other activity
47 Product Marketing
Diagnose deeper
48 Confidential Database Performance Monitoring
• In Summary
– Foglight provides ONE global view giving you consistent monitoring across your DBMS platforms —Oracle, SQL Server, DB2, and Sybase.
– Our built-in workflows reduce the costs of managing multiple tools and improve triage across teams
– Time to resolution is quick - Just a few clicks away from identifying the issue
– Componentised solution so can extend to bring in additional cartridges such as virtualization, storage, Application
Foglight for Databases
49 Confidential Database Performance Monitoring
http://www.quest.com/foglight-for-cross-platform-databases/