Use the Analyze tool to view and collect statistics, validate structure and list chained rows for database structures such as tables, clusters and indexes.
Ways to open the Analyze Tool
From DB Navigator |
|
From the Explain Plan Tool |
|
Select the collection method.
Collection Method |
Description |
---|---|
Compute Statistics |
The entire object is scanned to gather data. The larger the object, the longer it takes to complete the analysis. Select this option only if the object is small. |
Estimate Statistics |
Sample by rows or percentage of the object. The accuracy of the statistics depends on the representatives of the sampling. This option suits large objects. |
Delete Statistics |
Delete the statistics gathered for the object. |
Use to verify the integrity of the selected object.
Select Cascade to additionally verify dependent objects. For example, if you validate the structure of a cluster and select Cascade, SQL Navigator checks all tables and indexes in the cluster.
|
Note: Oracle returns an error message if it encounters corruption in the structure of an object. To fix errors: Drop and recreate the object from the commands on the Object Menu. |
Use to identify migrated or chained rows in a table or cluster. Having a high percentage of chained rows can impair application performance. UPDATE statements that cause migration and chaining perform poorly. Queries that select migrated or chained rows must perform more I/O than those that do not. For these reasons, it is important to detect and correct them. See Oracle documentation on the possible ways of fixing chained-rows problems.
The Oracle DESCRIBE command reports the attributes, methods and arguments of an object type. The SQL Navigator Describe command works with more objects than does the SQL*Plus version of the command. You can describe not only procedures, functions, packages, synonyms, and object types, but also tables, indexes, clusters and objects.
Ways to open the Auto Describe Tool
From the View Menu |
|
From the Code Editor |
If the object is a text object (view, procedure, function, package or packaged procedure/function) and the Source Preview window is open then the object’s source is automatically previewed. |
|
TIP:
|
Tips to use the Auto Describe Tool
A quick way to construct a SELECT statement |
To drag column names into a Select statement
|
In the Code Editor |
To move the text cursor to the declaration of a variable (or Auto Describe it if it’s the name of an external database) press CTRL and point to the variable with the mouse. To return to the former position in the text, press Alt+Left Arrow. |
Describe Command or Auto Describe Tool
Use either the Describe command or the Auto Describe Tool to describe an object
View Menu | Auto Describe Tool |
Automatically see a description of any object you select. A dockable Describe window opens and stays on top of the application window. As you select various objects you will automatically see a description of the selected object in the Auto Describe window. |
Object menu | Describe |
Click the Describe command on the Object menu whenever needed. It opens a describe window for a single selected object and will not update automatically when you select another object. |
Benchmark Factory® is a highly scalable load testing, capacity planning and performance tuning tool capable of simulating thousands of users accessing your database, file, Internet and messaging servers. Benchmark Factory can simulate user transactions before and during application deployments, enabling performance issues to be addressed before end users are affected.
|
Note: Requires installation of Benchmark Factory. Benchmark Factory is installed independent of SQL Navigator. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center