By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,054 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

Why Access reports are slow on some RD but fast on others

P: 6
Using server 2008 r2 with Remote Desktop Hosting;
With five users connected, each having their own frontend and sharing a backend.

Well, I have run extensive testing regarding this issue and have found the following:
The slower sessions of the database compared to the faster sessions have these characteristics. ((A slower session or faster session has nothing to do with the general response, but as indicated below primarily just with generating reports))
1. After login to the database, the faster session will bring the dashboard up about 4 times faster than the slow session
2. The reports will display about 4 times faster than the slower session
3. Opening various forms though, all come up about the same speed, regardless whether I am in a slow session or fast session
4. After a reboot or deleting the cache, the faster session randomly happens on the second, third or fourth remote desktop session.
5. After I have five sessions running, usually there are only one or two that are fast.
6. If I close the database in a faster session and then reopen it, it becomes slow.
7. I have not been able to get more than one or two sessions into this fast mode, and again if I close the database and reopen within a given session it becomes slow.
8. Once they are all opening slow again, it seems I have to reboot or empty the cache in order to get to another fast session, though only after the second, third or fourth remote desktop session.
9. Looking at the memory using RamMap, a portion of the database resides in memory as well as a portion of Microsoft access. Also each of the frontends for each remote desktop session remains in memory.
10. Since when I have all five remote desktop sessions open with each running the database and only one or two of them fast, I think the issue lies more with each individual sessionís use of Microsoft Access specifically regarding the generation of reports. In other words each session is looking at the same database in memory cache but only a couple are able to produce the reports fast.

I have done some research into this but have not found anything about this scenario and do not currently have the skill set in Server 2008 r2, to know where to go from here.
Any suggestions or ideas would be most helpful!!
Jun 16 '14 #1
Share this Question
Share on Google+
9 Replies

Expert Mod 2.5K+
P: 3,482

Is this an Access Question or a Server 2008 Question?

From the Access side, whenever you have the DB FEs connected to a network, you will experience degradation in speed, and I think it is simply the nature of the MS Access DB system.

One thing that I have done with my DB, is to copy the FE to the User's system every time they open the DB (they don't click a shortcut to the DB, but a shortcut to a Command Script. The command Script copies the DB to the user's local folders, then opens it from there.

There is still some degradation in speed, but the network connection now only has to work with the data from the BE. This also helps me, because as I make updates to the FE, I know that hte user will always have the latest version.

Here is a sample of the Command Script, which is saved as [FileName].cmd:

Expand|Select|Wrap|Line Numbers
  1. @ECHO OFF
  2. IF NOT EXIST %userprofile%\Documents\[DB Folder\DBName].accde MKDIR %userprofile%\Documents\[DBFolder] COPY [\\NetworkPath\DBPath\DBName].accde %userprofile%\Documents\[DBFolder\DBName].accde /Y
  3. START /I "MSAccess.exe" %userprofile%\Documents\[DBFolder\DBName].accde
Hope this hepps!
Jun 17 '14 #2

P: 6
Thanks for responding Twinnyfo!

I agree and always have a fresh end of the Front-End copied to the user's computer each time they start the application.

The situation I am testing here has to do with Remote Desktop Connections to a 2008 r2 server that is hosting Remote Desktop Services. Each user has a Virtual Desktop with their own documents folder where the front-end gets copied to and the backend is in a shared folder. So there is no degregation due to network speed.

As summarized in 10. above, each user's instance of the database works the same except that two of them have very fast generation of reports. SO, I think the question has to do with both MS Access and Server 2008 r2 running Remote Desktop Services. Apparently a couple instances are somehow started differently; not sure if it has to do with Jet/Ace or just what?

Jun 17 '14 #3

Expert Mod 2.5K+
P: 3,482
Unfortunately, that is a bit outside my realm of expertise. I know there are some 100 pound brains on this forum who should eventually find a solution for you....
Jun 17 '14 #4

P: 6
Well it turns out the issue has to due with having the Printer checked as a local resource in the Remote Desktop Connection properties.
Unchecking it allowed that session to display reports fast.
It may be that the latency involved in accessing the internet thru a satellite service was also part of the problem.
Still not sure why the problem was not happening with every session with Printer checked. But just happy to see what the issue was!!
Thanks everyone for those who read and twinnyfo for your reply!!
Jun 20 '14 #5

Expert Mod 2.5K+
P: 3,482

Glad you eventually found a solution. It's hard to understand why some things get affected by something so small and simple.

Hope to see you on here again, some time!
Jun 20 '14 #6

Expert Mod 5K+
P: 5,397
Reset the best answer based on the following:
(...)Still not sure why the problem was not happening with every session with Printer checked.(...)
which indicates that there is still an underlying issue that someone may yet find an answer for...
Jun 23 '14 #7

P: 6
Thanks ZMBD!

I did verify that the issue was primarily related to accessing the server thru a satellite internet service probably due to the latency.

When I was connected thru another non-satellite internet provider, having the printer checked for local resources was now just as fast as having it unchecked.
Jun 23 '14 #8

Expert Mod 5K+
P: 5,397
When you're using those satellite services we'll have to play Quake/Doom... I might stand a chance.

The latency would make sense if what you are seeing is something like a longish delay and then presto-report-out-of-hat magic trick. I'm not an IT-infrastructure type so I don't know how to help you there.... but it is sounding to be hardware and not Access related. NTL-I keep an eye out for anything.
Jun 23 '14 #9

P: 6
Thanks Zmbd!

Likewise, if I come across anything else that would address this issue further, will do so!
Jun 24 '14 #10

Post your reply

Sign in to post your reply or Sign up for a free account.