SQLab Getting Started
SQLab Getting Started
SQLab
Getting Started
Version 4.5
This guide contains proprietary information which is protected by copyright. The information in this guide is subject to
change without notice and does not represent a commitment on the part of Quest Software. The software described in this
guide is furnished under a license or nondisclosure agreement. This software may be used or copied only in accordance with
the terms of this agreement. No part of this guide may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying and recording, for any purpose other than the purchaser’s personal use without the
written permission of Quest Software.
Phone: 949.754.8000
Fax: 949.754.8999
[email protected]
www.quest.com
SQLab and SQLab Xpert are trademarks of Quest Software. Other trademarks and registered trademarks used in this
guide are the property of their respective owners.
SQLab Getting Started
Updated – October 2000
Software Version – 4.5
Table of Contents
i
SQLab Getting Started
ii
Before You Begin
This section covers the typographical conventions used in the SQLab Getting Started guide. Before
you start using SQLab, it’s important to understand the conventions used in the guide.
Typographical Conventions
The following kinds of formatting in the guide text identify special information.
Italic type Emphasized words, phrases, and sentences; also book titles
SELECT Code syntax in the text
MessageLog Code syntax examples
iii
SQLab Getting Started
Notes
The following note conventions are used in this guide:
Provides information that may affect whether a specific feature will work as you expect,
or alerts you to a possible adverse situation.
iv
Introducing SQLab
Quest Software’s SQLab and SQLab Xpert are easy-to-use Windows-based applications that provide
comprehensive SQL identification, analysis, and tuning for Oracle databases. SQLab and SQLab
Xpert perform in-depth analysis of SQL activity, allowing the DBA or developer to identify
inefficient SQL statements.
Using SQLab, you can analyze and tune online and batch transactions and the access to individual
tables. The products are especially useful for tuning applications such as Oracle Financials and other
purchased software, where access to the source code is not available. SQLab functionality includes
database reports and features that automatically provide comprehensive assistance with SQL
statement tuning.
For detailed instructions on using SQLab, see the SQLab User’s Guide.
The SQLab features described in this guide also apply in SQLab Xpert.
In This Guide
•= Introducing SQLab
•= Installing and Starting
•= Setting Up Background Options
•= About Quest Software
1
SQLab Getting Started
Overview
SQLab’s key component is its Tuning Lab. The lab facilitates use of standard Oracle tuning
techniques and allows you to execute SQL differently tuned versions of a SQL statement and
compare them. An automatic feature drops four commonly used Oracle hints into your statement and
compares the performance statistics. In the lab, you can “step” through an explain plan that has cost
information per step and automatically describe tables and views. You can obtain context-sensitive
help on operations and tuning advice. You can also examine graphs of multiple executions to
compare response time and other statistics including logical and physical reads.
This powerful analysis and tuning capability allows you to improve the performance of your
programs, stored database procedures and purchased software utilized by an application. You can
examine SQL statements currently cached in the Oracle shared SQL area or you can run a SQL
Collection that finds statements over a set period of time. In addition, SQLab allows you to tune SQL
statements across multiple database connections.
You can trace SQL activity by database object to resolve I/O bottlenecks and detect missing indexes.
You can easily identify how I/O is distributed across and within files and objects, allowing you to
determine the optimal placement for objects across multiple disks.
Often, there is insufficient time to rewrite existing production code even though its initial SQL
statements may not be well tuned. It takes time to locate and correct post-implementation problems
such as I/O bottlenecks and performance limitations that emerge after a system is complete.
An application’s performance is governed by the efficiency of its SQL statements. Often, a small
number of SQL statements create most of the database activity and the amount of activity correlates
to the execution path known as Oracle’s explain plan. The amount of work caused by a SQL
statement is directly related to the number of its buffer gets and disk reads.
SQLab allows you to quickly find such problems and tune your system across multiple connections.
Because SQLab is easy-to-use, system administrators and developers who do not have much Oracle
experience can tune a database system using limited support from consultants.
2
Introducing SQLab
SQLab supports improved application performance by assisting you in finding, analyzing and tuning
offensive SQL in application programs and stored database procedures. SQLab analyzes SQL in both
custom applications and in purchased software. The same approach is used for tuning both purchased
software and custom applications.
SQLab’s analysis and tuning capabilities can be used throughout the development, production, and
post-production phases of a project. The goal of tuning custom and purchased applications is to
improve the performance without adversely affecting the stability of the system. Major tuning steps
include monitoring the database, tuning the database environment, and analyzing and tuning SQL
statements. You can analyze and tune your application’s online and batch transactions and the access
to individual tables.
Tuning Programs
SQLab allows you to tune online and batch programs within an application. Using SQLab you can
find, copy or import the SQL from programs into its lab for analysis and tuning.
Tuning the SQL code in programs should be handled differently depending on whether it is online or
batch SQL. Online programs perform multiple small, random queries and their performance is
measured by response time. In contrast, batch programs perform larger queries less often and their
performance is measured by total throughput time. Online programs join a variety of tables, while
batch programs join specific sets of tables.
For components of a larger batch program, the order of transactions and their operations can affect
performance, even if they perform well on their own. Some programs combine online and batch
transactions. The two types of transactions should be tuned separately, and you can tune both types.
SQLab also allows you to compare execution statistics so that you can find the best tuning strategy.
3
SQLab Getting Started
To make extracting imbedded SQL from PL/SQL blocks, procedures, packages, functions, and
triggers less confusing, SQLab allows you to execute a single stored code and capture only SQL
resulting from that code.
For editing stored procedures and packages, use SQL Navigator from Quest Software. SQL
Navigator is an integrated server-side SQL & PL/SQL editor for Oracle developers. Contact Quest
Software or visit our web site www.quest.com for more information.
•= Purchased software was created for general system requirements—not for the specific
requirements of your system. It was not created for your specific business rules, pattern of usage,
or pattern of growth within your application.
•= Purchased software is created to run on databases other than Oracle. To run on multiple
databases, the software may not take advantage of advanced features in Oracle (like optimizer).
It is important to watch the performance of purchased software as the system that uses the software
grows. You may spend more time on pre-implementation tuning for purchased software than for
custom applications, and you may have less control over changes to the database objects in
subsequent versions.
4
Introducing SQLab
Instead of attempting to learn and understand the entire application, it is more effective to focus on
those SQL statements that dominate the database activity. You can establish control limits for your
system resource usage, and then when a transaction exceeds the limit, mark the transaction as being
“out-of-control.” These limits are usually expressed as a percentage of the total available CPU used
or the total time to complete the process. SQLab finds these types of statistics for you.
In most production databases, fewer than ten transactions account for over 80 percent of resource
usage. Often, a transaction that appears small may be executed so many times that it becomes a major
resource user within the system. For each of the problem transactions, examine its execution path.
SQLab’s comprehensive explain plan allows you to “step” through an execution and provides cost
information and context-sensitive help on operations for each step.
A set of common tables is used throughout most database applications. Access to these tables should
be monitored regularly to determine how the tables and indexes are being used. The location and the
condition of the tables and indexes should be reviewed from time to time to ensure load balancing
and to avoid I/O bottlenecks. SQLab uses a view that contains the relationship between the SQL
statements and the tables being used.
The number one cause of poor performance is missing indexes; a missing index implies that simple
access to a table will result in full table scans. Scans are time-consuming and I/O intensive since
database blocks read for full table scans do not cache very well in the buffer cache. If the number of
buffer gets and the number of disk reads on individual SQL statements are of the same order of
magnitude, this may indicate missing indexes. On a broader level, another indication is I/O to an
entire file, which is characterized by a high percentage of multi-block read requests.
The original indexing scheme may not match your ever-changing business profile. As tables grow,
the selectivity of the indexes changes. Some tables have too many indexes. Tables used as temporary
data containers as part of a batch process are especially susceptible to stagnation and can benefit
from periodic reorganization. You can reorganize indexes to avoid index stagnation or empty index
blocks.
5
SQLab Getting Started
Two types of multiple connection environments exist, and you can use SQLab with both:
SQLab’s multiple connection capability also supports multiple owners in a database. You may have a
production owner and a test owner for the same tables. You can check the code of one owner and
then connect to another owner on the same database for comparison. When you switch between them,
you can get the different synonyms and verify compliance or that the tuning works across both
owners. Switching connections is allowed in each of the following features:
Switching connections allows you to compare SQLab statistics for more than one instance. The
tuning session lab offers an additional level of granularity by allowing you to create multiple
scenarios of a statement each connected to a different instance. You can also switch connections
on a single scenario and immediately see the difference in the explain plan.
6
Introducing SQLab
Features
By going directly to the SGA, Recon gathers session data samples from the Oracle server without
impacting the currently running Oracle processes. The raw data samples are combined into high-level
performance data and are made available to the user in a number of different ways that make Recon
an efficient and valuable analysis tool.
The two major Recon features are Historical Collection and Current Session Activity.
Multiple Connections
SQLab allows connections to multiple databases, for quick comparison of SQL performance. This
allows you to collect SQL statements from a production environment to test them against
development environment. This feature also allows you to compare SQL for multiple owners in a
database. The Tuning Lab offers additional granularity by allowing you to create multiple scenarios
of a SQL statement, each connected to a different instance. You can also switch connections for a
single scenario to immediately see a corresponding explain plan.
7
SQLab Getting Started
SQLab’s SQL Collections feature record SQL statements over a preset time interval, allowing you,
for example, to trace the activity of a session. You can also submit a background SQL Collection to
the server job queue so that the collection continues after you have closed the application. You can
transfer a SQL statement’s syntax into the lab for tuning and save your collection results to the
repository for later reference.
The Tuning Session lab allows you to “step” through its enhanced explain plan that automatically
describes tables and views. The plan provides context-sensitive help on operations, tuning advice,
and cost information per step. SQLab’s explain plan is also enhanced with order of execution, rows
processed, table, view, join, and other data dictionary information. When SQLab Xpert is installed,
the Tuning Session lab also displays TKPROF-style trace statistics for the number of rows processed
at each execution step.
In the Tuning Session lab, you can describe and analyze tables, and you can reorganize indexes to
avoid stagnation or empty index blocks. The lab’s powerful comparison feature displays SQL
differences per FROM and WHERE clause; per plan optimizer and plan cost; per data; and per logical
and physical reads, ROWID gets, sort and scan rows, and response time.
8
Introducing SQLab
Reports
SQLab provides a variety of printed reports on all or selected objects for the connected database
instance. SQLab also provides reports on execution statistics and the Oracle environment. An
example of some of the reports is:
9
SQLab Getting Started
Xpert incorporates the advice you select by rewriting the syntax for the SQL statement and placing it
into a new tab folder in the tuning session lab or by writing new syntax for a schema object change
and placing it into SQLab’s editor. When you apply Xpert’s rewritten SQL syntax, the new statement
is automatically explained in the tuning session lab. By applying Xpert’s advice in a lab tuning
session, you can utilize the multiple connection and comparison features to examine various tuning
scenarios until you find the best solution.
The About SQLab box will read SQLab with Xpert if you have the Xpert option. If you did
not purchase SQLab Xpert, you may purchase the Xpert add-on component separately by
contacting Quest Software sales.
While SQLab assists you in identifying and tuning offensive SQL statements, SQL Impact can tell
you which program(s) in your source contain the SQL statement. SQL Impact can also tell you which
database objects are used by the SQL statement. The following feature allows you to utilize these
SQL Impact functions while working in SQLab.
10
Introducing SQLab
At this point, you can click the Launch SQL Impact button to open SQL Impact’s Programs
Containing Given SQL query in which the current SQL statement displays. By running the query, you
can view information on its database access and you can open its source code for editing. Once in
SQL Impact, you can continue working in SQL Impact or resume work in SQLab. This new feature is
useful when searching for programs or applications “responsible” for submitting a SQL statement
and when searching for programs, applications, and database objects that need the SQL code
changed.
11
SQLab Getting Started
System Requirements
SQLab is available as a 32-bit product. Installation is similar for both products and requires Oracle’s
SQL*Net. For SQLab 32-bit, you must have a 32-bit version of SQL*Net installed. For SQLab 16-
bit, you must have a 16-bit version of SQL*Net installed.
Before installing, check for minimum hardware and software requirements. We recommend that you
test the SQL*Net connection and validate its access string before trying to use SQLab. To test the
SQL*Net connection, run the tnsping.exe or nettest.exe program. If you can see the orawin\orainst
directory on your system, then you can install SQLab successfully.
When installing the SQLab tables, at least 1MB of free space is needed in any tablespace other than
SYSTEM. We recommend a SORT_AREA_SIZE between 500K and 2MB depending on the size of the
SHARED_POOL.
Hardware
•= A computer with an Intel 80486 or compatible processor
•= Minimum 25 MB hard disk space; 50 MB may be needed for best performance
•= Minimum 64 MB of RAM for Windows 95/98/2000 or minimum 80 MB RAM for
NT Workstation/Server 128 MB may be needed for best performance
Software
•= Oracle 7.1.6 (7.3 or higher is recommended)
•= Windows 98/95/2000/NT
•= Oracle SQL*Net for Windows 2.0 or higher with the appropriate network driver
12
Installing and Starting SQLab
This section covers information on system requirements and procedures for installing SQLab. Before
installing, check that your system has the minimum hardware and software required.
The first time that you connect to a database instance using SQLab, SQLab looks for its own objects
on the instance. If the objects do not exist or if the version of the objects is not current, SQLab
automatically creates or upgrades its objects.
In This Section
•= How To Install SQLab
•= Starting SQLab: Connecting to Your Database Instance
•= Creating or Upgrading SQLab Objects on Your Database
•= Troubleshooting Installation
13
SQLab Getting Started
Installing SQLab
The SQLab installation files are available on one compact disc or on several 3 ½” diskettes. Before
installing the files, close all active windows on your computer.
To abort the installation process at any point, press the Esc key or click the Cancel button
on the screen.
2 For Windows 98, 95, or NT 4.0 click the Start|Run menu item.
3 Enter the appropriate drive letter in the Run Window and click OK.
Install Over Existing Copy installs the new version of SQLab in the same directory as a
previous version. Existing repository data and sqlab.ini settings remain intact during the
installation.
If a previously installed copy was manually removed yet still shows in the
registry, the installation program displays the directory where the copy previously
existed.
Install In Directory Below suggests an installation path and creates a directory for the
installation.
Browse allows you to choose a directory in which to install SQLab.
Any additional SQL scripts and files that you kept in a previous directory can be
moved manually to the new directory.
14
Installing and Starting SQLab
When the installation is complete, select either to read the release notes, run SQLab, or
finish the installation.
15
SQLab Getting Started
In Services Setup, add a service for your application to connect to by selecting a name
from the TNSNames List Field.
16
Installing and Starting SQLab
2 Enter a User Id and Password for the newly defined Nickname and Service Name. You
can give a service any name that is meaningful in your environment, for example, “Oracle
Development” or “Personal Oracle.”
3 In the Service Name field, enter a connect string for Oracle. For SQL*Net version 2, use
the connect descriptor defined in the TNSNAMES.ORA file.
4 To save the service that you have defined, click the Save button.
To remove a defined service, highlight the name in the Defined Services list, and click
the Delete button.
To exit the Defined Services Setup window without connecting to an Oracle service,
click the Close button.
Select the Save Password check box when defining a service and your Password will be
saved in an encrypted format.
The first user to connect to the database instance with SQLab should have full
DBA privileges for installation of the SQLab objects to be successful.
The first time that SQLab is run against an Oracle instance on which SQLab objects do not
exist, you will be prompted to install the objects.
The first time a new version of SQLab is run against an Oracle instance on which older
SQLab objects already exist, you will be prompted to reinstall or to upgrade the SQLab
objects.
17
SQLab Getting Started
2 Using the drop list box of defined instances select an instance in the Nickname field. The
connect string that you have already defined will display in the Service field.
3 Enter the login information in the User ID and Password fields. To save your login
information for the next time you have to connect, click the Save Password check box.
4 To connect SQLab to your database instance, click the Connect button. The SQLab desktop
opens.
18
Installing and Starting SQLab
19
SQLab Getting Started
You are encouraged to use the default size that SQLab provides for repository and other SQLab
objects:
Install Server-side Objects The server-side objects are the objects that SQLab on the
selected Oracle instance. These objects must be installed for
the application to function.
Install SQLab Repository Tables The SQLab Repository tables must be installed if you want to
setup an application repository. You can leave this option
unchecked and install these tables at a later date if needed.
Setup Non-DBA Users to use SQLab Select this option if you wish to grant user privileges to non-DBA
users at the time of installation. Once the application is installed,
you can grant access at a later date.
Setup Oracle Application Views When this option is checked the setup program checks if Oracle
applications are installed on the currently connected instance. If
the setup program determines that they are it will install the
appropriate views.
Tablespace/Initial Size Allocation Select a tablespace in which to install the SQLab objects. This
list displays the available tablespaces in the instance and the
amount of free space in the tables. Since SQLab's repository
objects are used for storing SQL and can grow to an unknown
size, make sure the tablespace you choose has enough
available space.
Recommended Size The recommended space allocation for the repository and other
SQLab objects. The space allocation shown here is sufficient to
store 300 KB of collected SQL text and 300 KB of collected
explain plans.
Initial Allocation Size If you have a high number of SQLab users, you should increase
the size of the initial allocation.
20
Installing and Starting SQLab
Upgrade Recreates only the SQLab objects that have changed since the
previous installation. Previoulsy saved data, such as collected
statements, registered users and tuning sessions in the
repository are retained.
If you drop the repository objects, you will lose the data saved in the repository.
21
SQLab Getting Started
Troubleshooting Installation
The following table provides explanations and actions to take for installation errors. Error messages
that occur during installation include the name of the file and the exact SQL execution in which the
error occurred. Call Quest Technical Support immediately with the information required.
Error Explanation/Action
The message “ORA - 00900 invalid SQL This usually occurs during the installation process
statement” displays during installation. if the PL/SQL procedural option has not been
installed. The SQLab installation scripts are
written in PL/SQL and can not be interpreted by
Oracle when the installation process tries to add
objects to the database and the procedural option
has not been installed. To verify that it is
installed, check if a plsql directory under
$ORACLE_HOME exists. Also, to check if PL/SQL
has been linked into the RDBMS kernel, start
sqlplus or sqldba. If the procedural option is
installed and linked, it appears in a banner, for
example:
Oracle7 Server Release 7.1.3.00 -
Production Release
22
Installing and Starting SQLab
The following table provides explanations and actions to take for product authorization errors.
Error Explanation/Action
An “Illegal Serial Number” message This usually occurs after you have entered your
displays. The serial number validation connection information in the Connect window,
failed.
and attempted to connect to an oracle instance.
The license number is kept in /QUEST/SQLAB.INI
or where SQLab was installed. Check the number
in the license block of the SQLAB.INI file by
opening up the file in a text editor such as the
Windows Notepad. Make sure that the license
number is present. The number must be entered
correctly and be valid. Call Technical Support if
you have any questions about the validity of your
license key. You can update the file when you
receive a new code, rather than reinstall the
product.
A “Serial number validation failed when Check that the license code is valid in SQLAB.INI.
selecting from SYS.Dual” message If it is not valid, correct it or try a new code. Call
appears.
Technical Support to get another demo license
number.
23
SQLab Getting Started
The following table provides explanations and actions to take for connection errors.
Error Explanation/Action
24
Installing and Starting SQLab
Error Explanation/Action
SQLab does not return any rows in the SQL If you have updated Oracle on the server from
Collection result set after connecting. 7.1 to a later version and SQLab does not return
rows in the SQL Collection, issue the following
SQL command in sqlplus or from the tuning
session lab. Then reinstall SQLab on the PC.
>drop public synonym sqlab_version;
A “This demo version of SQLab expired or Call your sales representative for a license
will expire….” message appears. extension if you want to continue evaluating the
product.
An Ora-942: “Table or view does not exist” This error sometimes occurs after the database
message appears. has been exported and then imported again.
Select the Drop SQLab DB Objects options from
the File|Admin menu. This will drop all the
objects that SQLab previously created. Then you
can reinstall SQLab.
An Error 1 or ORA-1749 “You may not grant You cannot log in as the user SYS during a first
revoke /privilege to/from self” message time installation. You must log in as the user
appears.
SYSTEM or another user that has DBA privileges.
When trying to connect, an Error 2 is The user who logged on may have DBA
generated. privileges but not have Alter User privileges. To
check, run the following select statements to
verify user privileges. To check if the login user
has DBA privileges, type:
Select * from dba_role_privs;
25
SQLab Getting Started
Error Explanation/Action
A “Cannot find ORA7WIN.DLL” message This error usually occurs if you have an earlier
appears. version of SQLab and the installation program
had not been updated to look for ORA71WIN.DLL,
ORA72WIN.DLL, or ORA73WIN.DLL. It still looks
for the ORA7WIN.DLL. Copy one of the previous
DLLs, preferably the latest one, to ORA7WIN.DLL.
The program will recognize it at connect time
and connect to your instance.
An ORA-1031 “Insufficient Privileges” This error occurs when connecting to your
message appears. instance for the first time. After the first connect,
you can grant privileges using the User
Registration window.
This error usually occurs if you are logged in as a
user who does not have DBA privileges. Make
sure the user you are logging in as, including the
user SYSTEM, has been assigned the DBA role.
You can check this by executing the following
SQL statement in sqlplus, sqldba, or the server
manager. To check if the user has the DBA role,
type:
Select * from dba_role_privs;
An ORA-3121 “No interface driver This error usually occurs for one of two reasons:
connected” message appears. the SQL*Net driver is not loaded into memory,
or a mismatch of the driver version exists. Take
the following steps:
1. Verify that your connect string used in the
Connect window is valid for the version of
SQL*Net that you are using, for example,
@Txxxx for SQL*Net version 1.x, and the
alias found in your
c:\orawin\network\admin\tnsnames.ora file
for SQL*Net version 2.x.
2. Check for the existence of a C:\ORAWIN
directory. Its existence indicates that 16 bit
SQL*Net should be installed. Make sure that
this directory path is in your path statement.
26
Installing and Starting SQLab
Error Explanation/Action
After connecting to the Oracle instance, you This error occurs when SQLab tries to create the
are prompted to select a tablespace to packages but pmerr.sql script file is missing from
install SQLab tables, views and stored
the SQLab directory. Re-install the product from
objects. An error message appears: Create
package errors, installation error! Call the diskettes. Then run the pmdrop.sql script and
Technical Support (error 8). re-connect to the same tablespace. Try installing
the tables, views and stored objects again.
A GPF error appears immediately after This is a bug that will be corrected in a future
clicking on the Connect button. version. The GPF occurs if the number of SQL
statements in the cache is large (for example,
more than 30k). It can occur if a PC does not
have enough RAM. To bypass the GPF, edit the
\quest\sqlab\sqlab.ini file as follows:
show_sql_activity=NO
27
SQLab Getting Started
28
Setting Up Background Options
This section covers setting up background options in SQLab. SQLab’s Collection function allows
you to collect SQL over a preset period of time as a background process. The SQLab background
collection feature relies on the Oracle DBMS_JOB package to run the background process. Your
database must be configured to enable background processes so you can install and use the
background Collection feature.
An Install Background Collection command is available from the File|Admin menu. This
option can be installed only if the Oracle DBMS_JOB package was previously installed.
In This Section
•= Background Collection Option
29
SQLab Getting Started
If the background Collection is not installed when you install SQLab, you may install the background
options at a later time. When SQLab creates its server objects, it looks for the Oracle procedure
DBMS_JOB. If the package does exist, SQLab will check the database initialization parameters
job_queue_interval and job_queue_processes.
If one of these parameters is set to zero, you will be prompted to install the background Collection
option. However, the background Collection cannot be used unless the above parameters are
modified to valid nonzero values. The current values can be obtained by:
To modify these parameters, edit Oracle’s initialization file (default is ini.ora). The database must be
restarted for the changes to take effect.
30
About Quest Software
This section covers information about Quest Software, about other Quest Software products, and
about contacting technical support. Quest Software provides training for their products.
In This Section
•= Overview
•= Contacting Quest Software
•= Quest Technical Support
31
SQLab Getting Started
Overview
Quest Software, Inc., a publicly held company, provides innovative software solutions that enable
businesses to optimize enterprise-wide application and database implementations via Enterprise
Report Management solutions and a complete suite of Database Management tools for Oracle DBA’s
and developers. With Headquarters in Irvine, CA, Quest Software also has offices throughout the
U.S. in Chicago, Dallas, New York, San Francisco and Washington D.C., European offices in the UK
and Germany, and in the Pacific Rim in Australia. More information regarding Quest Software can
be found at www.quest.com or by calling 949.754.8000
Phone 1.949.754.8000
Fax 1.949.754.8999
Phone 1.949.754.8000
Fax 1.949.754.8999
E-mail [email protected]
E-mail [email protected]
32
A P P E N D I X A
Index
A F
Analyzing Features
Impact of changes......................................... 11 Multiple connections ...................................... 7
Offensive SQL................................................ 5 Performance, analysis, comparison, and tuning8
Applications Product integration ....................................... 10
Maintaining legacy, custom............................ 2 Product Integration ....................................... 10
Performance ................................................... 3 Repository ...................................................... 8
Shared SQL area analysis ............................... 7
B
SQL Cache collection..................................... 7
Background collector SQLab integrated with SQL Impact.............. 10
Setting up ..................................................... 29 Xpert add-on component .............................. 10
Batch programs, tuning ...................................... 3
H
C Hardware
Connect to an instance...................................... 17 Requirements for installation ........................... 12
In SQLab ...................................................... 17 I
Connections
Connecting to an instance............................. 17 Impact analysis ................................................. 11
Defining your instances in SQLab................ 16 Index................................................................... 1
Disconnecting from an instance.................... 18 Indexes
Introduction .................................................... 6 Performance.................................................... 5
Multiple.......................................................... 7 Installation ........................................................ 13
Setting up tracing ......................................... 18 Choosing tablespace for SQLab objects ....... 20
Connecting to instances ................................ 16
D Removing SQLab objects ............................. 21
Disconnecting instances ................................... 18 Sort area size ................................................ 12
Dropping SQLab objects.................................. 21 SQL*Net, testing connection ........................ 12
Steps for installing SQLab............................ 14
E System requirements..................................... 12
Editing database procedures............................... 4 Uninstalling SQLab ...................................... 15
Environments, use SQLab with multiple ............ 6 Upgrading SQLab................................... 14, 20
Errors O
Connection ................................................... 24
Installation.................................................... 22 Offensive SQL
Validation code ............................................ 23 Analyzing........................................................ 5
Tuning ............................................................ 5
Online programs, tuning ..................................... 3
A-1
SQLab Getting Started
P SQLab
Connecting to instances ................................16
Performance Features...........................................................7
SQLab supports improved .............................. 3 Installation ....................................................13
Tuning table access ........................................ 5 Integration with SQL Impact ........................10
Product Integration Introduction ......................................................1
I Watch ......................................................... 10 Multiple connect feature .................................6
Instance Monitor........................................... 10 System requirements.....................................12
SQL Impact .................................................. 10 Tuning offensive SQL.....................................2
SQL Navigator ............................................. 10 SQLab’s Repository
Toad ............................................................. 10 Overview ........................................................9
Purchased software, tuning................................. 4 SQLab's editor
Q Overview ........................................................9
System requirements.........................................12
Quest Software
Contacting Quest Software ........................... 32 T
Contacting Technical Support ...................... 32 Tables
R Tuning access .................................................5
Troubleshooting
Requirements for installation
Connection errors .........................................24
Hardware ....................................................... 12
Installation errors..........................................22
Software ........................................................ 12
Validation code errors ..................................23
S Tuning
Access to tables ..............................................5
Software requirements, SQLab ........................... 12
Across multiple connections ...........................6
SQL
Batch programs...............................................3
Area analysis .................................................. 7
Database procedures .......................................4
Cache collection ............................................. 7
Offensive SQL ................................................5
Monitoring...................................................... 7
Online programs .............................................3
SQL Impact, launching..................................... 10
Oracle .............................................................4
SQL Navigator ................................................... 4
Oracle Financials ............................................4
SQL statements
Purchased software .........................................4
Locating in source code................................ 10
Reasons for .....................................................2
SQL*Net, testing connection............................ 12
Source code ..................................................10
U
Upgrading SQLab.............................................14
A-2