DAO: General Performance Tips

HomeOverviewHow Do IFAQSampleTutorialODBC Driver List

This article offers tips for improving the performance of your MFC DAO applications. Use these tips as your starting point, and benchmark your changes. Keep in mind that these tips will often help, but there are no absolutes. Weigh everything in the context of your database and your application. Topics covered include:

How you improve performance in a database application depends on what kind of performance improvement you need. You might need some of the following kinds of performance improvements more than others:

Best Tip

The design of your data is usually a bigger factor in performance than the design of your code:

Also:

Recordset Types

Selecting Records

ODBC

For more information about working with ODBC data sources, see the articles Database Topics (DAO) and DAO External: Working with External Data Sources.

Caching and Double Buffering

Opening Databases

Attached Tables

SQL

Transactions

Locating Records

Other Tips