Previous Topic

Next Topic

Database Maintenance Issues

If your query used to run quickly and is now slower, or the speed of the query changes depending on the constants specified in the where clause, your problem can be poor database maintenance.

To optimize performance, set up maintenance procedures that run DBA utilities.

The following features are especially useful in tracking performance problems:

For discussions of maintenance issues, see the chapters "Maintaining Databases," "Maintaining Storage Structures," and "Using the Query Optimizer."

Previous Topic

Next Topic

Optimization and Performance

The optimization feature collects statistics that are used by the query optimizer to determine the best query execution plan (QEP) to use for your queries.

Follow these optimization guidelines:

To perform optimization, use the optimizedb command or, in VDBA use the Optimize Database dialog.

Previous Topic

Next Topic

Table and Index Modification and Performance

You can modify a table or index to:

Use the Shrink B-tree Index option (or modify to merge statement) to:

Use the Change Location option (or modify to relocate statement) to move your tables to balance disk access.

To perform modification, use the modify statement or, in VDBA use the Modify Table Structure and Modify Index Structure dialogs.

Previous Topic

Next Topic

System Modification and Performance

The system modification feature modifies system catalogs to predetermined storage structures.

To perform system modification, use the sysmod command or, in VDBA, use the System Modification dialog

Previous Topic

Next Topic

Verification and Performance

Use the verification utility to:

To perform verification, use the verifydb command or, in VDBA, use the Verify Database dialog.


© 2007 Ingres Corporation. All rights reserved.