Welcome to Embarcadero® DB Optimizer™ 3.5

Last Updated: March 23, 2012

DB Optimizer Home | DB Optimizer Documentation | Embarcadero Technical Support | www.embarcadero.com

Thank you for using Embarcadero DB Optimizer, an enterprise SQL development and optimization tool that gives database developers and administrators the perfect environment for building the best performing SQL code. This application easily identifies inefficient SQL code and boosts developer productivity by ensuring SQL is right before it becomes a problem in mission-critical applications. DB Optimizer also provides a rich SQL IDE with code completion, real-time error checking, code formatting and sophisticated object validation tools. Lastly, DB Optimizer provides advanced project and data source management tools.

What's New in DB Optimizer

What's New in DB Optimizer 3.5

What's New in DB Optimizer 3.0

Release Notes

System Requirements

DBMS Support

Important Advisory Notes

Upgrade Notes

Bug Fixes

What's New in DB Optimizer 3.5

The following briefly outlines the changes in DB Optimizer 3.5. For a detailed description of these changes see the DB Optimizer Quick Start Guide available at a docs.embarcadero.com/products/db_optimizer.



VST diagrams


What's New in DB Optimizer 3.0

User Interface Changes

Object Indexing Enabled by Default

Previous versions of DB Optimizer had the option to create an index of schema objects on a data source in order to provide code completion and semantic validation of object names in the SQL Editor, but this was disabled by default, because it could affect data source performance. In DB Optimizer 3.0, the speed and efficiency of Object Indexing has been significantly improved, so this functionality is now enabled by default. This option can still be disabled from the preferences window (available from the Preferences > Data Source Indexing option).

New Actions on Oracle Sessions During Profiling

While profiling an Oracle data source, the Sessions tab in the profiling editor has two new context menu actions on rows in the session grid:

MS SQL Server and Sybase ASE Profiling Improved

Profiling on Microsoft SQL Server and Sybase Adaptive Server Enterprise are now more efficient, contributing less than 2% load on the profiled data source under most conditions. Furthermore, more accurate data is collected.

Improved User Interface for the Tuning Editor

The dedicated Input tab of the Tuning Editor has been removed, allowing the user to specify statements for tuning directly within the Overview tab. In the top-right of the Tuning Editor, there is an input selection button, to add statements for tuning from the following sources:

To view or modify a tuning statement, or to bind variable values within the statement, double-click on the statement in the grid or right-click and select Edit. from the context menu.

Oracle RAC Profiling

All instances of an Oracle Real Application Cluster (RAC) can be profiled using a single profiling session (and a single connection to the cluster). To enable this functionality for a RAC data source, you must access the Profile Configurations dialog, in one of the following ways:

Within the Profile Configurations dialog, check the box for Real Application Cluster (RAC) mode. Within a RAC profiling session, the filter bar at the top of the profiling editor includes an Instances filter, which allows you to view profiling results for individual instances in the cluster, or show results for sessions from all cluster instances. Furthermore, several tabs from the Profiling Details view will show the ID of the instance on which the selected statement/event/session was observed.

Profiling Alerts

During profiling, alerts can be triggered based on thresholds set on the number of:

These alerts can produce a system notification (from the Windows status tray) and/or generate an email to be sent to one or more addresses. This allows you to begin a profiling session, continue with other work, and return to DB Optimizer when the alert has fired to investigate the underlying cause. Alerts can be set up from the preferences page available from the menu item at Preferences > Profile Alerts. Alerts may be configured per data source and multiple alerts may be configured for a profiling session. In order to generate email messages for alerts, the mail server options must be specified on the Email Settings page under the Profile Alerts preferences, and one or more recipients must be specified on the Email Contacts page.

Profiling Reports

The results of a profiling session can now be exported as an HTML or PDF document that can be saved for later, shared, and printed. Within the Profiling Editor, the Export Report button is located in the top right, between the filter options and the Help button. By default, the report is generated for the entire duration of the profiling session. To restrict the report to a particular time interval, click and drag on the profile session chart. To clear the selection, click once on the chart outside the selection.

Support for Common Table Expressions on Oracle and MS SQL Server

The SQL Editor and Tuning Editor now both support common table expressions (CTEs) for Oracle and SQL Server. This includes syntax highlighting and checking in the editor, as well as generation of explain plans for CTEs from the SQL Editor and the Tuning Editor.p>

Improved Visual SQL Tuning for Oracle

The Visual SQL Tuning (VST) diagram for Oracle 10g and 11g now has the option of showing Explain Plan details in addition to the column relationships. The explain plan display can be toggled on/off by clicking the leftmost button that appears when hovering over the SQL Analysis diagram. The additional nodes shown in the Explain Plan overlay provide details on the flow of the query plan, with operations (such as nested loops, sorts, and joins) showing connecting tables and other operations.

Release Notes

System Requirements

Before installing EmbarcaderoŽ DB OptimizerT, verify that your environment meets the following requirements.

Hardware Requirements

The following are the minimum hardware requirements:

Supported Operating Systems

DB Optimizer is supported on the following operating systems:

Other Requirements

DB Optimizer requires a Java 6 VM to run:

DBMS Support

SQL execution and SQL tuning with DB Optimizer is supported on the following DBMS platforms and versions:

SQL profiling with DB Optimizer is supported on the following DBMS platforms and versions:

* On Microsoft SQL Server 2000, the Profiling feature is only supported if Service Pack 3 (SP3) is installed.

Note: DB Optimizer does not access in any way, shape or form any of the information, tables or views licensed under Oracle's diagnostic pack.

Upgrade Notes

Bug Fixes

Use your browser Find feature to locate a particular bug number or click a link below to see the issues addressed in a specific build.

Bugs Fixed in DB Optimizer 3.5

Bugs Fixed in DB Optimizer 3.0

Bugs Fixed in DB Optimizer 3.5
OPT-3167 Profiling a Sybase 15.0.2 data source no longer breaks down when bad procedure data is received from the procedure text collection.
OPT-2964 Profiling a data source no longer breaks down when data source name is longer than 30 characters. Instead, the following message displays, "The data source name exceeds 30 characters. Please disconnect and rename the data source before profiling."
Bugs Fixed in DB Optimizer 3.0
OPT-2642 Profiling Details for a DB2 data source now correctly reports elapsed time in the Execution Statistics section of the Profiling Details tab.
OPT-2646 Performance of a tuning job for an Oracle 9i data source has been increased. Semantic validation and query analysis are now performed more efficiently.
OPT-2647 Error in tuning job while generating cases, "object caching: could not retrieve the following object because it doesn't exist or is not qualified properly: object name" no longer displayed.
OPT-2668 The Profiler now correctly uses SYSTDATE for Oracle 8 and SYSTEMSTAMP for Oracle 9 and higher.
OPT-2696 On Oracle 9, tuning performance and semantic validations of constraint queries has been inproved.
OPT-2716 SQL Parser no longer displays error "Encountered Unexpected Token" when tuning well formed SQL.
OPT-2779 TOP keyword in Sybase 12.5.3 and higher is now recognized by the SQL Parser.
OPT-2782 Sybase object resolution no longer fails for databases created by users with SA_ROLE when tuning as sa.
OPT-2786 Tuning error for SQL Server 2008 that appeared when the database was created by a user with SA_ROLE who is not the sa, has been fixed.

Embarcadero Technologies Technical Support

If you have a valid maintenance contract with Embarcadero Technologies, our Support team will assist you with any problems you have with our applications. Our maintenance contract also entitles registered users of Embarcadero Technologies products to download free software upgrades during the active contract period.

Evaluators receive free technical support for the term of their evaluation. To download evaluations of Embarcadero Technologies products go to the www.embarcadero.com.

To contact Support, go to Support.