Results 1 to 3 of 3
  1. #1
    harryklein is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Aug 2018
    Posts
    48

    performance issues on VPN


    Hi All,
    I am creating an application in Excel VBA that uses Access tables.
    It is in use since a couple of month and works fine even with relatively complicated queries.
    Recently I added a functionality that returns 150-200 rows and in case I use it via VPN, it gets uselessly slow.
    I don't experience issues with other applications on VPN.
    Is there any way to find out where is the bottleneck?
    Thank you

  2. #2
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Access doesn't work very well over a VPN, unless the connection is lightening fast and more stable than a thing that horses live in.
    It's due to the way in holds open the comms using SMB protocol.

    If you do a google search for Access over WAN there are a number of articles explaining in more detail, and how to resolve/improve things.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    not enough information to comment

    There are a number of ways to transfer data - so suggest

    a) show your vba code
    b) show the sql to the query you are using
    c) confirm that all fields in the query that are used for criteria or sorting are indexed
    d) explain what 'uselessly slow' means. 2 seconds might be 'uselessly slow' in some situations

    Other than that, the normal requirement for any app is to return as little information as possible since VPN can be relatively slow compared with a LAN, so your other apps are probably adhering to this requirement whilst 150-200 rows does not. Transferring individual rows is a completely different animal from transferring files

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Performance of access
    By tcox in forum Access
    Replies: 5
    Last Post: 01-07-2016, 08:43 AM
  2. Linked DB performance
    By vicsaccess in forum Database Design
    Replies: 22
    Last Post: 10-28-2015, 08:49 PM
  3. Database performance issues
    By smikkelsen in forum Access
    Replies: 3
    Last Post: 03-10-2011, 05:53 PM
  4. db Performance Over Network
    By dbuck in forum Access
    Replies: 2
    Last Post: 09-20-2010, 09:58 AM
  5. Performance Issues with Replica databases
    By accessgenie in forum Access
    Replies: 1
    Last Post: 12-05-2009, 10:03 AM

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