Results 1 to 3 of 3
  1. #1
    bginhb is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    May 2011
    Location
    Huntington Beach, CA, USA
    Posts
    47

    Query Performance

    I'm working on improving the performance of an Access 2003 application. There are design issues with the database but I don't see any clear way get the Users to agree to a rewrite at this time.

    I'm frankly surprised at how little information is available about "best practices" when designing indexes for key tables in Access applications ... hopefully someone can enlighten me.



    I think I've read most of the info provided by Access on this subject but I'm left with the feeling that I don't really understand how it works so please bear with me.
    1. A work table is an important aspect here. The table is rebuilt for every run so first it is emptied then filled using an Append query.
    2. This table is then updated many times (based upon some data conditions external to the table) but only a few selected records take part in each update.


    The selection is usually based on three columns/fields.

    Questions:
    Should each of the columns involved in the selection be indexed? I would think yes.
    Would one or more multi-field indexes perform better? What would be the negatives of a multi-field index approach?

    Thank you for any assistance,
    bginhb

  2. #2
    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
    see http://www.accessmvp.com/strive4peac...Chapter_04.pdf
    I would delete the Work table at the end of each run, and
    You should do compact and repair to regain space used by Access.

  3. #3
    bginhb is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    May 2011
    Location
    Huntington Beach, CA, USA
    Posts
    47
    Thanks for directing me to this excellent resource Orange. Unfortunately in some areas it appears that Access has changed so much that the material addresses capabilities that no longer exist or are hidden from view.

    I refer specifically to the table defaults settings which no longer seem to be available with 2007. I suppose that I could save my accdb as an mdb then open it with 2003 but I don't know if my settings would remain in effect if I then converted back to accdb. Does anyone know?

    bginhb

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

Similar Threads

  1. Coded Loop v SQL Update Query Performance
    By bginhb in forum Programming
    Replies: 5
    Last Post: 01-21-2012, 03:02 PM
  2. Query Performance
    By GBa in forum Queries
    Replies: 3
    Last Post: 01-03-2012, 03:33 PM
  3. Query performance on different computer
    By nickevans1979 in forum Queries
    Replies: 2
    Last Post: 07-26-2011, 03:16 PM
  4. Replies: 3
    Last Post: 03-01-2011, 09:59 PM
  5. Update Query Performance Issue
    By Amber_1977 in forum Queries
    Replies: 2
    Last Post: 12-07-2010, 08:36 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