Results 1 to 9 of 9
  1. #1
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168

    Is Access 2010 performance based on records in a table or file size ?

    I have an Access 2010 database .. and will be adding about 25,000 records a day to it. So it will get pretty big fast .. so 9 million a year. Is this too big for Access ?? Or is it more a issue of file size .. I know that Access 2010 can go up to 2 GB.



    I am interested in how I can maximize my performance and not have the database go crazy on me.

    The data is as follows .. One table. The other tables will be small, just this one will increase in size really.

    Id .. Autonumber (primary key)
    When .. datetime
    Radio .. integer (indexed .. w duplicates)
    Group .. integer (indexed .. w duplicates)
    Type .. text 4
    TransType .. text 2

    I am considering a purge of old records if needed .. like only keeping the most previous 5 million records or some reasonable number. Like .. then I would think I should try to number my records backwards (using long int rather than autonumber and number records backwards on import) .. ie record 1 would be the most recent one and only keep the last X number of them for performance reasons.

    Looking for thoughts ?

    Click image for larger version. 

Name:	Untitled.png 
Views:	10 
Size:	16.1 KB 
ID:	17023

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Is 9 million records too much for Access? - depends on how much data is stored in each record.

    The sheer number of records can impact performance of some queries.

    Can reverse number records if you want but expect record purge could be managed otherwise.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    Quote Originally Posted by June7 View Post
    Is 9 million records too much for Access? - depends on how much data is stored in each record.

    The sheer number of records can impact performance of some queries.

    Can reverse number records if you want but expect record purge could be managed otherwise.

    I have posted 10 sample records above ... this will be exactly how each record will be. There will be no difference. Just looking for best way to optimize things.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    What is the size of the database at present? How long did it take to get to that size? How long will it take to reach 2GB? Is the number of records consistent for each import? How much does the db grow with each import. How many imports before hit 2GB? Do the math.

    Be sure to run Compact & Repair periodically.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    It is 7 MB total file size now (that is with all the forms etc ... ) with about 80,000 records in that table. That is about 3 days worth.

    Should I split the data and the forms ? I do make changes all the time to the forms etc. I think I will be fine for a while.

    Yes the number of records should be similar each import.

    Yes I will compact and repair .. but for now I will just let it grow and see. I only run one query on it .. and it takes about 1 sec to run right now. The one I posted yesterday.

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    A db for multiple simultaneous users definitely should be split. Otherwise, if there are a lot of forms/reports, will gain some data storage by splitting but possibly not enough to matter in your case.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    I ran the performance analyzer on it .. and made 2 changes. I think I am good .. I will just let things go for now and see how the performance is.

    Thank you ..

  8. #8
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    I actually have determined that I do not really have to capture the "when" field at all as I am really just interested in is the last date stamp and that is captured in another table. That will cut down on my imported data by well over 50%. So .. each record will be very small, so that will help but there will be lots of records but I think that I will be fine. But only time will tell .. and should be an interesting test of the performance of Access.

  9. #9
    edmscan is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2014
    Posts
    168
    I have been doing some thinking and reading .. and determined that each record should be about .. 12 bytes. I will only store the absolute minimum required data.

    The other tables in the database will have about 6500 and 450 records. So I am good there, as they are pretty small fields too. It is just this one table that will be big as far as records are concerned.

    So .. 9 million rows per year at 12 bytes a row, 108 million bytes .. and add 10% just because, gives me 120 MB approx for 1 years worth of data. Really .. I will want to archive at that point, who wants old data right ?

    So this will be interesting ... and maybe just for fun, I might just copy the database structure and make a table with 9 million rows in it .. and see how the performance is re running of my one query and form that will use that data. I restrict the form to 45 records as that is what will fit on one screen. It is more of how that one query will run on those 9 million records.

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

Similar Threads

  1. Access 2010 Performance
    By EddieN1 in forum Access
    Replies: 31
    Last Post: 02-03-2015, 09:00 PM
  2. size of databases in Access 2010
    By AzizSader in forum Forms
    Replies: 3
    Last Post: 11-19-2013, 11:41 AM
  3. Replies: 2
    Last Post: 03-20-2013, 04:25 PM
  4. Performance and Size of Table, SQL Server
    By EddieN1 in forum Access
    Replies: 7
    Last Post: 01-17-2013, 04:17 PM
  5. ACCESS 2010 DB size
    By jscriptor09 in forum Access
    Replies: 1
    Last Post: 02-21-2012, 10:32 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