The information in this article applies to:
SYMPTOMSDisk-intensive database operations (such as record updates) seem to take longer in Microsoft Access version 2.0 than in version 1.x. CAUSE
Typically poor performance disk-intensive database operations, such as
locking, depend on the environment. For example, a network that has heavy
network traffic could cause a performance decrease. Disk operations
performed on databases that are opened nonexclusively, or shared, take
longer than operations on databases that are opened exclusively, because
lock checking occurs for each operation in a shared database.
RESOLUTION
To speed up non-exclusive operations, open the database exclusively
whenever possible.
This partial code construction allows other users to edit records as soon as the query is finished running. If transactions are not used, or the CommitTrans statement is after the myrs.close statement, the read locks on the index pages are not released as quickly, thereby not allowing other users to commit changes to their data. The cost in using this method is that there will be a slight pause at the CommitTrans stage when all the record read locks are released. These read locks would otherwise be gradually released when the system had idle time. REFERENCES
For more information about optimizing performance, please see the
following article in the Microsoft Knowledge Base:
Additional query words: reading writing caching
Keywords : kbusage GnlOthr |
Last Reviewed: April 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |