Chapter 13 Optimizing Performance

The Microsoft Jet database engine provides a variety of administrative services designed keep your database running smoothly. This chapter explains Microsoft Jet configuration settings, and how to repair and compact databases. It also covers performance enhancements in Microsoft Jet 3.5 and unsupported tuning functions.

Configuration Using the Registry

Repairing Databases

Compacting Databases

Performance Enhancements in Microsoft Jet 3.5

Unsupported Tuning Functions

Using the Code Examples in This Chapter

You can use the code examples in this chapter to help you understand the concepts discussed, or you can modify them and use them in your own applications.

The code examples are located in the JetBook\Samples subfolder on the companion CD-ROM. The code examples for Microsoft Access 97 are in JetSamples.mdb, and the corresponding code examples for Microsoft Visual Basic version 5.0 and other applications that support Visual Basic for Applications are referenced in JetSamples.vbp. Both JetSamples.mdb and JetSamples.vbp use tables and queries in NorthwindTables.mdb, also located in the JetBook\Samples subfolder.

To use the code examples, copy the sample files to your hard disk. Be sure to copy NorthwindTables.mdb as well so that you can use the code examples to work with data.

See Also For more information about copying and using the code examples from the companion CD-ROM, see “Using the Companion CD-ROM” in the Preface.