Previous Topic

Next Topic

Book Contents

Book Index

Oracle - Database Explorer is Slow

The Database Explorer runs a number of queries on the Oracle system views. If you have a large database these queries can be quite slow. This is because the standard Oracle system views (all_tables etc) are complicated multi-table joins, which are slow on Oracle systems with a large number of objects.

This is particularly true with the Functions, Procedures and Packages display, which uses all_objects (which is very slow).

There are a number of solutions to this problem:

Using Queries on the Base System Tables

Queries that use the Base System Tables are given in the Oracle config file oracle.cfg file. They have been commented out so, by default, are not used.

Except for one query (Synonyms on Table) these queries only affect:

To implement these queries:

Note that these are "simpler" queries and may give slightly different results to the standard queries:

If there are any problems with these queries, you can revert back to the standard queries by commenting out the fast queries.

Queries Still Slow?

If the queries that populate the schema-lists (in the Object Tree) are still very slow, you can speed them as follows.