Results 1 to 4 of 4
  1. #1
    birbjo is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    4

    Thumbs up ODBC-Why such difference in execution time?

    Hi!
    I have a Access-db that is connected to our SQL-server-db(Financial system) via an ODBC-connection. When I execute a specific query, I have the result on my screen, in Access, after approx 40 seconds.
    However, the data has now been copied over to a NEW SQL-server.
    So I made a copy of my Access-db, and "re-linked" to the same tables(on the new server), this time with a newer ODBC-driver. When I execute the same query now, it takes some 26 minutes to finish..???



    Even if I use the older ODBC-driver, running the same query still take around 26 minutes....

    I have no clue of WHERE to find the explanation for this extreme difference in execution-time.....our DBA doesn't know anything about ODBC and Access, so I can't get any help from him....

    Does anybody have an idea of WHAT might cause this issue?
    Most grateful for any suggestions!
    BR
    Björn from Sweden

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    Please provide more detail.

    Why a new server? NEW SQL-server.
    Why a different Access database(front end)?
    Why different ODBC drivers?

    What is the query SQL?

  3. #3
    birbjo is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2014
    Posts
    4
    Why a new server? NEW SQL-server.
    We upgraded our financial system and did that by a new installation on new servers, including a new database-server. All the data was then copied an retrofited into the new servers.

    Why a different Access database(front end)?
    I'm using the Access-database as a gateway into the "billions" of tables in the finacial system. So by doing a copy of the Access-db, and then relinking all these tabels, i have the same set of queries accessible, now pointing to the new server.

    Why different ODBC drivers?
    Well, new ODBC-drivers hade been published since 2012, when I did this procss the last time, so I obviously wanted to use the new drivers...

    Björn


    Quote Originally Posted by orange View Post
    Please provide more detail.

    Why a new server? NEW SQL-server.
    Why a different Access database(front end)?
    Why different ODBC drivers?

    What is the query SQL?

  4. #4
    Micron is offline Virtually Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    I'm not a wiz with architecture so much, but one time I had a similar problem with ODBC and I discussed with the IT guy. Turns out resources were allocate-able (if that's a word) and someone had set it up to reserve more than what they should have. Once I got more processing resources, the issue went away. You'd think that newer server/driver should be faster, but if nothing's changed in the queries my money's on the configuration of the hardware.
    Last edited by Micron; 11-24-2017 at 10:15 PM. Reason: spelin
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Calculate time difference
    By desireemm1 in forum Access
    Replies: 19
    Last Post: 10-27-2014, 12:06 PM
  2. Replies: 5
    Last Post: 07-24-2014, 07:54 AM
  3. time difference calculation help
    By JayRab in forum Access
    Replies: 5
    Last Post: 02-03-2014, 01:32 PM
  4. Time Difference
    By jlclark4 in forum Queries
    Replies: 4
    Last Post: 10-13-2011, 09:23 AM
  5. Time difference
    By jguidry in forum Programming
    Replies: 1
    Last Post: 11-15-2008, 12:41 PM

Tags for this Thread

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