472,354 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,354 software developers and data experts.

Speeding Up Access and Jet on a Network



If you have not seen it, this recent Microsoft Knowledge Base article is
worth reading:

http://support.microsoft.com/kb/889588

"How to optimize Office Access and Jet database engine network performance
with Windows 2000-based and Windows XP-based clients"

It is interesting how the 8.3 file format lives on and causes so many
slowdowns. Some fixes are simple registry tweaks. But the article does
explain the general observations that, for Access applications at least,
WinXP has been slower than Win2K, which has been slower than WinNT4.

Here are some of the suggestions for better performance:

Use short 8.3 file names and folder names in the first place. Apparently
Access calls the GetShortPathNameW API function for each append query when
there is a long file name (why?).

If you have long file names, convert your table links to use equivalent
short names (this latter probably requires enabling short name file
generation in NTFS on the server, which is the default situation).

In Win XP and Win 2K, enable long file name caching on the client machine,
i.e. set InfoCacheLevel to hex 10 (decimal 16) to cache all file names, not
just 8.3 file names. Why this isn't the default?

In Win XP, do not flush each single record individually on append queries,
i.e. on the client computer set DisableFlushOnCleanup to 1. Again, why isn't
this the default?

Connect using a mapped drive instead of a UNC path.

Turn off the file sharing violation notification delay, i.e. set
SharingViolationDelay and SharingViolationRetries to zero in the registry
for your server machine.

Put the back end on NTFS versus DOS.

Disable short name file generation in NTFS, i.e. set
NtfsDisable8dot3NameCreation to 1 on the server (not sure how this works
with converting long file name links to equivalent short names on the
client, as suggested above; perhaps no short names improves the call to
GetShortPathNameW?).

On Win 2003 Server, disable file aliasing, i.e. set NoAliasingOnFileSystem
to 1 in the registry.


Nov 13 '05 #1
8 3274
Crikey! (or something ruder). Do I have to tell my clients to do all
this to their machines? Fortunately we only use Access in preparing
and analysing the data (only??) and network performance isn't of the
essence here.
David

Nov 13 '05 #2
And I thought tweaking a SQL Server back-end was involved :-)

--
This sig left intentionally blank
Nov 13 '05 #3

"Stephen K. Young" <s k y @ stanleyassociates . com> wrote in message
news:35*************@individual.net...


If you have not seen it, this recent Microsoft Knowledge Base article is worth reading:

http://support.microsoft.com/kb/889588

"How to optimize Office Access and Jet database engine network performance with Windows 2000-based and Windows XP-based clients"


Click, whirr/hmmm. Saved.

Lots of good information there.

Apparently, 10 years after the introduction of the long file name,
Microsoft's programmers have yet to discover the usefulness of their
own extension to the O/S.
Nov 13 '05 #4
"Stephen K. Young" <s k y @ stanleyassociates . com> wrote in
news:35*************@individual.net:
Connect using a mapped drive instead of a UNC path.


This makes absolutely no sense, as mapped drives are resolved to UNC
paths.

Also, mapped drives ARE STUPID USER-HOSTILE HOLDOVERS FROM ANCIENT
DAYS OF DOS.

Maybe a mapped drive is a workaround for the problem of
non-top-level shares. That is, I've long known that putting MDBs in
top-level shares (instead of several directory levels down within a
share) is a big performance improvement.

They don't mention that one.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #5
"Chris2" <ra******************@GETRIDOF.luminousrain.com> wrote in
news:aJ********************@comcast.com:
Apparently, 10 years after the introduction of the long file name,
Microsoft's programmers have yet to discover the usefulness of
their own extension to the O/S.


All I ever needed to know about long file names I learned from
examining the registry entries created by Office 97's installer --
they used the short filenames.

If MS doesn't trust them, then I don't trust them.

I also never use spaces in file names, but that's so I don't have to
worry about typing quotation marks at the command line.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #6
> Connect using a mapped drive instead of a UNC path.


O-kay...

Now I would like to know the rationale behind this. Mapped drive are so
troublesome.
Nov 13 '05 #7
"Saintor" <sa******@REMOVETHIShotmail.com> wrote in
news:mL*********************@weber.videotron.net:
Connect using a mapped drive instead of a UNC path.


O-kay...

Now I would like to know the rationale behind this. Mapped drive
are so troublesome.


Microsoft has been known to post completely incorrect information on
their website.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #8
"Stephen K. Young" <s k y @ stanleyassociates . com> wrote:
If you have not seen it, this recent Microsoft Knowledge Base article is
worth reading:

http://support.microsoft.com/kb/889588


Also see the Access Performance FAQ page at
http://www.granite.ab.ca/access/performancefaq.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Angel Faus | last post by:
Hi all, We've got an Oracle database in a Web application. Intermedia Text queries are an important part of the usage and work fine. The problem is that in order to generate a certain web...
10
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network...
9
by: Rob | last post by:
Scenario: O/S: Win XP Professional Back-end: Access 2002 on network server I have an Access 97 application, in production on our network, that takes appoximately 5 minutes to process monthly...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
5
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
10
by: ags5406 | last post by:
I've created an application that downloads data daily from a secure web site and stores that data in an Access database. Then there are different options for allowing the user to do keyword and...
1
by: maverickman4 | last post by:
background/setup info: so we have a network set up of about 23 computers including our server which is running windows 2003 standard. we have an incredible amount of traffic going to that server due...
13
by: evancater | last post by:
My client wants to make their Access 2007 database available to offices around the country with multi-user permissions set to control access to the tables and forms, etc. The easiest thing would be...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it so the python app could use a http request to get...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.