ActiveBase Ltd. All Rights reserved ActiveBase Tuning Robot TM   Quick Tour Learn how ActiveBase Tuning Robot TM  expands ...
Introduction to ActiveBase Tuning Robot TM > ActiveBase Tuning Robot TM  software delivers a continuous optimization of yo...
Tuning Robot TM  Tuning Process Steps <ul><li>Step 1 - Problematic SQL Identification (‘Collector’): </li></ul><ul><ul><ul...
First usage example: Improving performance of large packaged applications <ul><li>> Large packaged applications (with thou...
How the Tuning Robot was configured: SQL classification and Parallel executions In an application tuning assignment, three...
Tuning Robot configuration Tuning Robot requires configuring two files: DB.Properties - defining analysis and benchmark op...
DB.Properties parameter settings > maxThreads=Number of parallel statement optimizations (e.g., maxThreads=2 – 2 threads a...
AWR.Properties parameter settings > jdbc.url= AWR statistics can be retrieved from production while tuned in pre-productio...
Summary <ul><li>> Automatic and continuous application performance Improvement while saving on expert DBA resources. </li>...
Upcoming SlideShare
Loading in …5
×

Tuning Robot Quick Tour

602 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
602
On SlideShare
0
From Embeds
0
Number of Embeds
213
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • ActiveBase Ltd.
  • ActiveBase Ltd.
  • ActiveBase Ltd.
  • ActiveBase Ltd.
  • ActiveBase Ltd.
  • ActiveBase Ltd.
  • ActiveBase Ltd.
  • Tuning Robot Quick Tour

    1. 1. ActiveBase Ltd. All Rights reserved ActiveBase Tuning Robot TM Quick Tour Learn how ActiveBase Tuning Robot TM expands ActiveBase SQL Expert TM functionality with an automatic AWR TOP-SQL collector and SQL benchmark scheduling capabilities.
    2. 2. Introduction to ActiveBase Tuning Robot TM > ActiveBase Tuning Robot TM software delivers a continuous optimization of your Oracle applications, saving time and expert resources. > Installed on a server, it automatically retrieves heavy ‘Select’ SQL requests from AWR (collector module), analyzes them using various Oracle ‘Hints’ (guaranteeing result set) and benchmarks them -> highlighting the best alternative. > Rule.xml file is automatically created for import into ActiveBase Performance TM , applying the improvements without touching application source-code or databases. It enables to verify improvements in pre-production and/or in production (when code fixing is not feasible) - resulting in x10-100 response time improvements. ActiveBase Ltd. All Rights reserved
    3. 3. Tuning Robot TM Tuning Process Steps <ul><li>Step 1 - Problematic SQL Identification (‘Collector’): </li></ul><ul><ul><ul><li>In Oracle10 and higher, the collector gathers and classifies SQL requests and binds from the AWR views. In Oracle8 or 9, problematic SQL requests are read from a user defined external SQL file. </li></ul></ul></ul><ul><li>Step 2 - SQL analysis process: </li></ul><ul><li>The Tuning Robot automatically searches for Oracle ‘Hints’, each producing a unique execution plan (alternatives). Especially effective in complex views. </li></ul><ul><li>Step 3 - Benchmarking Alternatives: </li></ul><ul><li>The Tuning Robot benchmarks the different alternatives found, by running the SQL with the hint on a database to find the best execution time, I/O or CPU savings. </li></ul><ul><li>Step 4 – Tuning audit trail: </li></ul><ul><li>The Tuning Robot provides detailed log files with best results. </li></ul><ul><li>  </li></ul>ActiveBase Ltd. All Rights reserved
    4. 4. First usage example: Improving performance of large packaged applications <ul><li>> Large packaged applications (with thousand of users) suffered performance degradation, especially after quarterly version upgrades. </li></ul><ul><li>> As SQL optimization is a tedious process requiring long hours of expert DBAs, it was used only to fix extreme SQL requests. </li></ul><ul><li>> The Tuning Robot was quickly installed, automatically identifying and tuning many of the top SQL requests without wasting expert DBA time. </li></ul><ul><li>> The resulting Tuning Robot rule.xml file was imported into ActiveBase Performance TM in the pre-production environment, where fixes were tested and validated against real usage scenarios. </li></ul>ActiveBase Ltd. All Rights reserved
    5. 5. How the Tuning Robot was configured: SQL classification and Parallel executions In an application tuning assignment, three parallel Tuning Robot batches where executed: Batch 1: Long running SQL requests with average elapse time > 10 sec. Batch 2: Medium running SQL requests with average elapse time between 1 – 10 seconds using a high parallelism degree to gain quick optimizations, where alternatives were compared based on elapse of 5 serial executions Batch 3: Short running SQL requests with average < 1 sec., compared based on elapse of 100 serial executions ActiveBase Ltd. All Rights reserved
    6. 6. Tuning Robot configuration Tuning Robot requires configuring two files: DB.Properties - defining analysis and benchmark options AWR.Properties - setup collector for collecting AWR statistics ActiveBase Ltd. All Rights reserved
    7. 7. DB.Properties parameter settings > maxThreads=Number of parallel statement optimizations (e.g., maxThreads=2 – 2 threads are tuning two statements in parallel). > maxRunningTime=Total tuning process elapse time. > analyzeLevel=Defines the number of hint combination investigated on the SQL statement. > maxAlternatives=Total amount of alternatives with unique execution plans analyzed > autoCancelPercent= automatically cancelling alternatives with execution time > X% from the best so far. > benchmarkOptions.executionsNumber = Execute each alternative x times for accurate execution statistics > sessionParameters = define ‘Alter session’ session parameters   ActiveBase Ltd. All Rights reserved
    8. 8. AWR.Properties parameter settings > jdbc.url= AWR statistics can be retrieved from production while tuned in pre-production. > time.start and time.end =define relevant time slice in the AWR > elapse.min and elapse.max = AWR statements running over x second and under y seconds > elapse.top= AWR top z statements > test.xml= name of the XML file containing the rules to be imported > sessionParameters = define ‘Alter session’ session parameters   ActiveBase Ltd. All Rights reserved
    9. 9. Summary <ul><li>> Automatic and continuous application performance Improvement while saving on expert DBA resources. </li></ul><ul><li>> Available for Windows, Linux and Unix platforms. </li></ul><ul><li>> Parallel tuning process for quick results. </li></ul><ul><li>> Possible different collection and benchmark environments. </li></ul><ul><li>> Easy, flexible and friendly configuration. </li></ul><ul><li>> Installation and configuration in less than a day. </li></ul><ul><li>> Centralized management with audit trail and reporting. </li></ul><ul><li>> Easy, clear and friendly GUI enables concise one-day training. </li></ul>ActiveBase Ltd. All Rights reserved

    ×