Select the product you need help with
How to optimize Office Access and Jet database engine network performance with Windows 2000-based and Windows XP-based clientsArticle ID: 889588 - View products that this article applies to. On This PageSUMMARYWhen you run a Microsoft Jet database engine-based program, such as Microsoft Office Access, on your Microsoft Windows 2000-based or Microsoft Windows XP-based computer, the program may appear slower and less responsive than you expect. This article contains information about how you can optimize network performance for Windows 2000-based and Windows XP-based computers. Doing this can make Office Access and Jet database engine-based programs more responsive. INTRODUCTIONAfter you upgrade your computer from a Microsoft Windows NT 4.0-based operating system to a Windows 2000-based operating system or to a Windows XP Professional-based operating system, you may experience a decrease in performance of Office Access or of Jet database engine-based applications. For example, you may experience the following symptoms:
MORE INFORMATIONThe network performance of Access and Jet database engine-based programs depends on the following criteria:
File server optimizationThe following methods describe how to optimize performance on the file server that stores the Access or Jet database engine-based database.Use 8.3 file name conventionsAccess calls the GetShortPathNameW function across the network on each append query if the database file name is longer than eight characters or if the database is located in a folder name that is longer than eight characters.This behavior occurs with file names and folder names that are longer than the 8.3 file naming convention limits specify. Long file and folder names can increase the time that is required for the query to be completed. If the name of your database file or of the folder where your database is located is longer than eight characters, rename the file name or the folder name. The file and folder names must be no longer than eight characters, and the file name extension must be no longer than three characters. The following is an example of a database path that includes a short, 8.3 convention file and folder names: \Folder_1\Folder_2\AccessDb.mdb The following is an example of a database path that uses long file and folder names:\FolderForFirstDatabase\FolderForSecondDatabase\ThisIsA_BigDatabase.mdb
For more information about long file names in Windows, click the following article number to view the article in the Microsoft Knowledge Base:
226403
Alternatively, if you are using a split database, you can replace the file and folder names of the front-end database links with the 8.3 convention equivalent. For example, assume that you have the following long file and folder name database path:
(http://support.microsoft.com/kb/226403/
)
Short (8.3) file names may change when copied
\FolderForFirstDatabase\FolderForSecondDatabase\ThisIsA_BigDatabase.mdb You can rename the links that are in the front-end database to the following short file and folder name equivalent: \Folder~1\Folder~2\Thisis~1.mdb The following example illustrates how to link to a database that has the long database path with the short file name conversion:Function mcrLink()
DoCmd.TransferDatabase acLink, "Microsoft Access", "\\ServerName\sharename\Folder~1\Folder~2\Thisis~1.mdb", acTable, "tblName1", "tblName1", False
End Function891176 Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
(http://support.microsoft.com/kb/891176/
)
Slower performance in Access-based or Jet database-based programs after you upgrade from Windows NT 4.0 to Windows 2000 or to Windows XP
Turn off the sharing violation notification delayYou can turn off the sharing violation notification delay to improve file server performance. To do this, follow these steps on the file server that stores the Access or Jet database engine-based program database.Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
150384
(http://support.microsoft.com/kb/150384/
)
Shared file access is delayed if the file is open on another computer
Move the back-end database file to an NTFS file system volumeIf the Access or Jet database engine-based program database is located on a file allocation table (FAT)-based volume, you can improve performance by moving the back-end database file to an NTFS volume. For more information about NTFS, click the following article number to view the article in the Microsoft Knowledge Base:100108 For more information about how to move Access or Jet database engine database files, search on “copy or move an Access file” in Access Help.
(http://support.microsoft.com/kb/100108/
)
Overview of FAT, HPFS, and NTFS file systems
Disable automatic short file name generationDisable automatic short file name generation on the NTFS file system. To do this, follow these steps on the file server that stores the Access or Jet database engine-based program database. Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
For more information automatic short file name generation on NTFS, click the following article numbers to view the articles in the Microsoft Knowledge Base: 121007
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/121007/
)
How to disable the 8.3 name creation on NTFS partitions
210638 If your Access or Jet database engine database file is located on a Windows Server 2003 file server, you can turn off file system aliasing. Aliasing is a feature that is included with Windows Server 2003. This feature lets multiple long file names or multiple short file names refer to the same file. Disabling file system aliasing can improve performance by increasing the server service caching that is available on the Windows Server 2003-based computer.
(http://support.microsoft.com/kb/210638/
)
How to disable automatic short file name generation
Important If your Windows Server 2003-based computer uses file system aliasing, such as mounting or reparse points, we do not recommend that you follow this procedure. To turn off file server aliasing, follow these steps on the Windows Server 2003 file server that stores the Access or Jet database engine database. Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows
Client optimizationThe following methods describe how to optimize performance on the client that will access the Access or Jet database engine-based database.Enable advanced file name cachingBy default, Windows 2000-based and Windows XP-based operating systems only cache short file names and short folder names. That is, file names and folder names that comply with the 8.3 convention. You can enable advanced caching on your Windows 2000-based or Windows XP-based computer so that it will also cache long file names and long folder names. This can improve performance when you access files over a network.For more information about how to enable advanced caching with Windows XP Service Pack 1 and earlier versions, click the following article number to view the article in the Microsoft Knowledge Base: 834350
For more information about how to enable advanced caching on Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/834350/
)
Your access to network resources is slower in Windows XP than in earlier versions of Windows
843418 Note Windows XP Service Pack 2 and Windows Server 2003 already include a type of advanced caching. However, you must set the InfoCacheLevel registry entry in the following registry subkey to a hexadecimal value of 0x10 for optimized performance:
(http://support.microsoft.com/kb/843418/
)
You may experience decreased performance when you access network resources or when you use Microsoft Access in Windows 2000
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRxSmb\Parameters Optimize append queries on Windows XP-based computersWindows XP-based computers flush the cache and write the whole database to the file server for each append transaction that occurs. You can optimize append queries by applying a hotfix and changing the Windows registry entry DisableFlushOnCleanup on your Windows XP-based computer. For more information about how to optimize append queries on Windows XP-based computers, click the following article number to view the article in the Microsoft Knowledge Base:825433
(http://support.microsoft.com/kb/825433/
)
Poor performance when you append data to a shared file-based database from a Windows XP-based client
Optimize the Access or Jet database engine-based database routines and methodsThe following recommendations can improve the performance of the routines and methods that are used by Access or Jet database engine-based programs.
Best practices for optimizing database performanceWe recommend the following best practices for optimizing Access or Jet database engine-based program performance:
REFERENCES
For more information about Access, Jet database engine and network performance, click the following article numbers to view the articles in the Microsoft Knowledge Base:
275085
(http://support.microsoft.com/kb/275085/
)
BUG: Slow performance on linked tables in Access 2002 and Office Access 2003
261000
(http://support.microsoft.com/kb/261000/
)
BUG: Slower performance on linked tables in Access 2000
209126
(http://support.microsoft.com/kb/209126/
)
Information about query performance in an Access database
288631
(http://support.microsoft.com/kb/288631/
)
Defragment and compact database to improve performance
209126
(http://support.microsoft.com/kb/209126/
)
Information about query performance in an Access database
290181
(http://support.microsoft.com/kb/290181/
)
Slow performance when user opens an object with Name AutoCorrect enabled in Microsoft Access
240434
(http://support.microsoft.com/kb/240434/
)
How to improve performance of applications using Jet 4.0
289533
(http://support.microsoft.com/kb/289533/
)
Where to find information about designing a database in Microsoft Access
870753
(http://support.microsoft.com/kb/870753/
)
Description of the Jet 4.0 database engine post-837001 hotfix package: July 21, 2004
303528
(http://support.microsoft.com/kb/303528/
)
How to keep a Jet 4.0 database in top working condition
208858
(http://support.microsoft.com/kb/208858/
)
Optimizing for client/server performance
239114
(http://support.microsoft.com/kb/239114/
)
How to obtain the latest service pack for the Microsoft Jet 4.0 database engine
891176
(http://support.microsoft.com/kb/891176/
)
Slower performance in Access-based or Jet database-based programs after you upgrade from Windows NT 4.0 to Windows 2000 or to Windows XP
PropertiesArticle ID: 889588 - Last Review: October 30, 2006 - Revision: 5.5 APPLIES TO
|


Back to the top








