![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a client with Windows 2003 Server running Terminal Services through FortiClient (VPN). My application is Access 2002 with split front / back end. Front ends are loaded separately in each user's workspace on the same drive as the backend. Recently we have experienced unacceptable and intermittent delays when running two queries in the program. The queries haven't been changed, but both include sum() functions. Using the same set of data the queries can run from as fast as 1 second up to 62 seconds during a 10 minute testing period. There is no pattern to the differences. If they were always slow, I could accept the need to look at the design of the queries, but that isn't the case. The underlying tables contain around 40,000 records, but the queries filter back to less than 30. I'm monitoring the times by writing lines to a text file at various check points in my code. The behaviour is the same regardless of how many users are logged on at the time. The queries run fine on my test environment using a basic cat 5 LAN cable with the front and back ends on different PC's! I also have the program running at another client site using LAN without the TS and they have no problems at all. The Jet files are the latest updates. There seems to be a problem on either the client's server or TS setup. Has anyone else experienced similar problems? Any ideas will be welcome. -- Bob Darlington Brisbane |
#3
| |||
| |||
|
|
Further to my previous post, all users are using TS connections to access the program. And this morning I noticed a 'Not Responding' message in the application title bar. It goes away when the process eventually completes. |
#4
| |||
| |||
|
|
"Bob Darlington" <bob (AT) notheredpcman (DOT) com.au> wrote in news:4dd6f698$0$15070$afc38c87 (AT) news (DOT) optusnet.com.au: Further to my previous post, all users are using TS connections to access the program. And this morning I noticed a 'Not Responding' message in the application title bar. It goes away when the process eventually completes. Sounds like a memory/caching issue. I assume the fields being selected on are appropriately indexed? -- David W. Fenton http://www.dfenton.com/ contact via website only http://www.dfenton.com/DFA/ |
#5
| |||
| |||
|
|
Recently we have experienced unacceptable and intermittent delays when running two queries in the program. The queries haven't been changed, but both include sum() functions. Using the same set of data the queries can run from as fast as 1 second up to 62 seconds during a 10 minute testing period. There is no pattern to the differences. If they were always slow, I could accept the need to look at the design of the queries, but that isn't the case. |
#6
| |||
| |||
|
|
On Fri, 20 May 2011 17:55:35 +1000, "Bob Darlington" bob (AT) notheredpcman (DOT) com.au> wrote: Recently we have experienced unacceptable and intermittent delays when running two queries in the program. The queries haven't been changed, but both include sum() functions. Using the same set of data the queries can run from as fast as 1 second up to 62 seconds during a 10 minute testing period. There is no pattern to the differences. If they were always slow, I could accept the need to look at the design of the queries, but that isn't the case. What I have noticed many years ago was a difference in timing in running reports. The variable was closing and opening Access and running the report again in which case the first time you opened it took 40 seconds then the second and subsequent times it took 20 seconds. Or something like that. Or maybe the variable was opening and closing the report. Of course I was designing this complex report so I really noticed the difference in times it took to open the report. Just thinking out loud here if this behavior is somehow relevant to your case. Tony -- Tony Toews, Microsoft Access MVP Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/ For a convenient utility to keep your users FEs and other files updated see http://www.autofeupdater.com/ |
#7
| |||
| |||
|
|
I have a client with Windows 2003 Server running Terminal Services through FortiClient (VPN). My application is Access 2002 with split front / back end. Front ends are loaded separately in each user's workspace on the same drive as the backend. Recently we have experienced unacceptable and intermittent delays when running two queries in the program. The queries haven't been changed, but both include sum() functions. Using the same set of data the queries can run from as fast as 1 second up to 62 seconds during a 10 minute testing period. There is no pattern to the differences. If they were always slow, I could accept the need to look at the design of the queries, but that isn't the case. The underlying tables contain around 40,000 records, but the queries filter back to less than 30. I'm monitoring the times by writing lines to a text file at various check points in my code. The behaviour is the same regardless of how many users are logged on at the time. The queries run fine on my test environment using a basic cat 5 LAN cable with the front and back ends on different PC's! I also have the program running at another client site using LAN without the TS and they have no problems at all. The Jet files are the latest updates. There seems to be a problem on either the client's server or TS setup. Has anyone else experienced similar problems? Any ideas will be welcome. -- Bob Darlington Brisbane |
#8
| |||
| |||
|
|
I have a client with Windows 2003 Server running Terminal Services through FortiClient (VPN). My application is Access 2002 with split front / back end. Front ends are loaded separately in each user's workspace on the same drive as the backend. Recently we have experienced unacceptable and intermittent delays when running two queries in the program. The queries haven't been changed, but both include sum() functions. Using the same set of data the queries can run from as fast as 1 second up to 62 seconds during a 10 minute testing period. There is no pattern to the differences. If they were always slow, I could accept the need to look at the design of the queries, but that isn't the case. The underlying tables contain around 40,000 records, but the queries filter back to less than 30. I'm monitoring the times by writing lines to a text file at various check points in my code. The behaviour is the same regardless of how many users are logged on at the time. The queries run fine on my test environment using a basic cat 5 LAN cable with the front and back ends on different PC's! I also have the program running at another client site using LAN without the TS and they have no problems at all. The Jet files are the latest updates. There seems to be a problem on either the client's server or TS setup. Has anyone else experienced similar problems? Any ideas will be welcome. -- Bob Darlington Brisbane |
#9
| |||
| |||
|
|
I've seen incredibly slow results on large recordsets using aggregate functions. Functions running against a large number of records will be slow. Try breaking your query into several queries. First get the data, then run your sum() function. The difference can be astounding. I remember 1 developer building a complex query that took 5 minutes to open a report. After I broke the query into 2 pieces, the time reduced to 4 seconds. In the first case she ran an AVG() against 158,000 records. After breaking it into 2 queries, she was running against 30 records. -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.accessmvp.com http://access.mvps.org Co-author: "Access Solutions", published by Wiley "Bob Darlington" <bob (AT) notheredpcman (DOT) com.au> wrote in message news:4dd61e7a$0$13392$afc38c87 (AT) news (DOT) optusnet.com.au... I have a client with Windows 2003 Server running Terminal Services through FortiClient (VPN). My application is Access 2002 with split front / back end. Front ends are loaded separately in each user's workspace on the same drive as the backend. Recently we have experienced unacceptable and intermittent delays when running two queries in the program. The queries haven't been changed, but both include sum() functions. Using the same set of data the queries can run from as fast as 1 second up to 62 seconds during a 10 minute testing period. There is no pattern to the differences. If they were always slow, I could accept the need to look at the design of the queries, but that isn't the case. The underlying tables contain around 40,000 records, but the queries filter back to less than 30. I'm monitoring the times by writing lines to a text file at various check points in my code. The behaviour is the same regardless of how many users are logged on at the time. The queries run fine on my test environment using a basic cat 5 LAN cable with the front and back ends on different PC's! I also have the program running at another client site using LAN without the TS and they have no problems at all. The Jet files are the latest updates. There seems to be a problem on either the client's server or TS setup. Has anyone else experienced similar problems? Any ideas will be welcome. -- Bob Darlington Brisbane |
#10
| |||
| |||
|
|
"Bob Darlington" <bob (AT) notheredpcman (DOT) com.au> wrote in news:4dd6f698$0$15070$afc38c87 (AT) news (DOT) optusnet.com.au: Further to my previous post, all users are using TS connections to access the program. And this morning I noticed a 'Not Responding' message in the application title bar. It goes away when the process eventually completes. Sounds like a memory/caching issue. I assume the fields being selected on are appropriately indexed? -- David W. Fenton http://www.dfenton.com/ contact via website only http://www.dfenton.com/DFA/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |