Results 1 to 8 of 8
  1. #1
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313

    Performance and Size of Table, SQL Server

    I have an "audit" table (inserts only) that is housed on my Access Backend. We're writing about 15,000 records per day to it. Two questions:

    1. Will performance degrade as the table gets bigger?


    2. Would moving the table to SQL Server 2008 R2 improve performance?

    Thanks for your help, Eddie

  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
    Is performance bad now, or is this a hypothetical question?
    How big are these audit records?

  3. #3
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    It is hypothetical. I just implemented the audit table and watching it grow. The table has about 250 columns. Is this significant? Eddie

  4. #4
    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
    Can you tell us more about the audit table/record layout?
    250 columns is rare.

  5. #5
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    I'm not sure what else to tell you. Has only the Primary Key, no other indexes. When the operational table is changed, Access inserts a "Before" image of the record into the Audit table. I have about 125 users in the system. Almost all of the real data resides on SQL Server. I have the Audit table in the Access Backend because I can manipulate it better there. If I can get significant performance improvement by putting it on SQL Server, I might do that. In the meantime, if a table with over 250,000 rows would affect performance, I could keep only the most recent two weeks of audit trail. However, I would like to keep the history for about six months.

  6. #6
    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
    If you use SQL Server as the backend, then transaction processing (beginTrans/EndTrans and possible Rollback should be almost automatic. Haven't done this with Sql server( and don't use sql server myself), but have done lots with ADABAS and Oracle in the past. I think, if you get some of the sql server people to respond, you will find a lot of your effort for this Audit log can be done in sql server by setting a few options.

    I found this while typing ( dated but thedatabase server stuff is good)
    http://cdn.ttgtmedia.com/searchDataM...oft_Office.pdf

  7. #7
    EddieN1 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2011
    Posts
    313
    I started to put the transaction logging in SQL Server with something like a Trigger. However, i couldn't save/access some information that is very important to me. I have about 15 different forms/datasheets that update various parts of the primary table. One I look at the audit trail and examine a change, I want to know what Form was used to make the change. SQL Server won't know that without A LOT of program changes on my part. I have already built the audit logic and it contains the Form that was used to make the change.

  8. #8
    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
    When you design the various transactions, you can identify the transaction type. You can also identify what forms initiate the transactions and such. Irecall working with the transaction logs and identifying specific units of work by the various users. Users, transactions, before and after images, BeginTrans, CommitTrans etc.

    If you know your system, and which Forms initiate which transaction(s), you could do a mapping of these. However, b ased on what you have said and where you are currently, it could be a lot of work.

    Someone familiar and experienced with SQLServer may be able to advise you on the specifics.

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

Similar Threads

  1. Linked Table query performance issue
    By patneel in forum Access
    Replies: 1
    Last Post: 07-31-2012, 12:09 PM
  2. Replies: 3
    Last Post: 07-19-2012, 09:27 AM
  3. Replies: 7
    Last Post: 04-05-2012, 07:38 AM
  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