Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313

    Access 2010 Performance


    I am having a bizarre performance situations and welcome any suggestions. I'm running Access 2010 front end and SQL Server Express backend. I have about 20 operators on the system at any one time. All the forms and reports will be doing just fine and then, for no apparent reason, some of the operators forms will go really slow... like taking 1-2 seconds to go from field to field on a form. This might last 15-20 minutes, then it will start working fast again. I have not been able to find any common reason. If we open Task Manager at this time, it shows almost zero CPU time and maybe 2Gb of the 8Gb of memory being used. It happens to different operators who are using different parts of the system. Sometimes if the operator closes the database or Access itself and come back in, it clears up... other times it's still slow. Since it is slow on some workstations with different applications, I think it must be related to the workstation. However, we can't find anything. I thought maybe a virus scanner might kick off and slow things down, but if that were true, it should show up on Task Manager, right? I have run sp_whoisactive on SQL Server, but everything appears to be working fine. Any thoughts would be appreciated.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    If it were a virus, I would expect to see the Idle process high and also CPU usage high. The fact that it is only RAM would cause me to first look at memory leaks from code not closing and instantiating objects/classes to "Set Object = Nothing".

    However, it may also be the client trying to play well on the network. Maybe these are newer machines. Other things to look at may be how the client was joined to the network, check that the DNS has the appropriate Host file for client, consider ODBC drivers to SQL connection, and consider SQL connection.

    Shot in the dark....

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    Is the BE on a server? Could it be some high, sporadic network traffic? Each user has their own copy of the FE on their PC right?

  4. #4
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Yes, BE is on stand-alone server. Yes, each operator has his/her own FE on the workstation. Would network traffic be involved when the operator is tabbing from one field to the next?

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    I wouldn't expect it to be network traffic when tabbing, but unless there's some code doing something strange I can't see why tabbing should be the cause of "slow".

  6. #6
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Are you strictly using linked tables?
    Are your forms bound to linked tables?
    Do your queries join Access tables and SQL Server tables in the same query?
    Are you seeing any other network traffic issues such as slow internet speeds?
    Perform a ping to your server with /t and let it ping for a while. Tell us if you get anything nearing 100ms response time.

  7. #7
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Are you strictly using linked tables? Yes...
    Are your forms bound to linked tables? Yes...
    Do your queries join Access tables and SQL Server tables in the same query? No...
    Are you seeing any other network traffic issues such as slow internet speeds? Sometimes, but not always...
    Perform a ping to your server with /t and let it ping for a while. Tell us if you get anything nearing 100ms response time. Nothing more than 1ms... however, note that this happens only sporadically... not consistently...

  8. #8
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Just an update... had an operator report very slow process... closed down Internet Explorer, Outlook, and everything else. Task Manager showed very little activity. Access was still slow. Closed and re-opened Access and everything ran fast again. Emphasize Access 2010. Does anyone know of any patches from Microsoft that addresses this?

  9. #9
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    If your forms are bound to queries and tables that go against your SQL server then I'd say the network is probably the primary source of your woes.

    The other part of this is that the ACE engine can be held up while it waits for a response from the SQL server, so Access will appear to lock up while it waits for a response. This is typical for non-asynchronous applications.

    When the form is bound to a data source, switching between fields causes an update to the recordset which is propagated to your backend. If there is any network lag or the SQL server is simply too busy to handle your request then Access will just sit and wait until the connection either times out or it gets a response back from the server.

    You could switch over to an "Async" strategy which would require some VBA to bind your forms instead of just setting the record source.

  10. #10
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    Here's more information on this... yesterday an operator reported slow responses. When I pinged the SQL Server 10 times, all responses were less than 1 ms. Closed and re-opened Access and database, still slow. Closed Outlook and everything was fast again. Re-opened Outlook and everything stayed fast. Could this be an Office 2010 issue??? say, memory leak? All Office apps are up to date. Other thoughts?

  11. #11
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    I don't think it's related to office products, I restart my office machine maybe once every 2 - 3 weeks and don't have any appreciable slowdown over time regardless of process (outlook, excel, access primarily) on either my 2013 or 2007 machine. Have you got any antivirus or backup utilities working on the machines in question, or on the server side for that matter. I know you said your task manager isn't showing a spike in usage? Have you tried using unbound forms? It would be more coding for you but the transactions would be limited to specific events like an on click to force a save/update of a record rather than data having to be updated every time you exit a field/record.

  12. #12
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    This is one of those things that is quite inconsistent. It moves from operator to operator and starts and stops in a seemingly random manner.

  13. #13
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Look for a common denominator. If the slowness on your network is only related to forms in Access or a few forms in a specific Access file, adjust the form's demand for RAM.

  14. #14
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    I'm still struggling with this and am still looking for some help. Here is an update... I haven't been able to find a common denominator yet, however, here's some more details. When it slows down, there are two messages near the bottom that toggle back and forth... on the bottom right, it sometimes says "Running Query" (although no query is running on SQL Server or anywhere else I have found), on the bottom left, it sometimes says "Calculating". Near the top it usually says "Not Responding". Note that the database is not is a "hard loop" because it always eventually comes back.

    Is there an option, setting, or "hook" in Access that I can get to that will log internal events (not Form Events) that Access is taking that I could examine?

    Thanks for any ideas anyone might have.

  15. #15
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Perhaps how you connect to SQL Server and how you build and use your query objects within Access are the issue. This thread may help.
    https://www.accessforums.net/sql-ser...low-44024.html

Page 1 of 3 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 5
    Last Post: 01-07-2016, 12:49 PM
  2. Replies: 2
    Last Post: 08-29-2013, 01:19 PM
  3. Replies: 0
    Last Post: 07-31-2012, 12:25 PM
  4. Replies: 5
    Last Post: 11-17-2011, 03:04 PM
  5. Replies: 1
    Last Post: 11-17-2010, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums