Results 1 to 9 of 9
  1. #1
    tagteam is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    501

    Access table or Sql Table

    I have a database table that is at 450,000 rows and will probably grow by 50,000 per year. It is currently around 330MB. Should I try to move this table to Sql and use access as the front end



    OR

    Is it better to keep them in access and just split them into different tables or maybe 5 years per table?>
    Thanks

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Assuming table grows by 50,000 records a year, the 2GB Access limit will be used up in 39,993 years.

    Another way to look at it: 450,000 rows used 330MB. That means 6060.6 * 450,000 rows to use up 2GB.

    Somebody double check my math!
    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
    tagteam is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    501
    Other than the need for space are there good advantages for using SQL?

    1. With SQL you can set some permissions I believe
    2. Will there be better speed?
    3. Does it get more complex when you start to work with SQL or can you just use queries like normal?
    Thanks

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I have never set up a SQL database. So sorry, cannot authoritatively answer those questions. I will say I have seen enough discussions about SQL backend to indicate speed and complexity are comparable with Access backend. Speed has more to do with the file server/network software and hardware than the database.
    Last edited by June7; 05-25-2014 at 10:02 AM.
    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
    tagteam is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    501
    Thanks for your input. I am mainly concerned because I need to add some fields to the database and my client is not the kind that likes to archive old data. Seems like if it was in SQL Server then it would be able to grow so much that I wouldn't have to worry about splitting the database in the future.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Maybe depends which version of SQL. I think the freebies (MySQL and SQLServerExpress) also have file size limits.
    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
    tagteam is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    501
    Yeah, 10GB for SQL Server Express 2008 R2 but I have access to my clients full SQL server that they use for their accounting system. I was also thinking it might be nice because that is already on a good backup schedule and rotation. I was thinking that if I can learn to SQL server as the back end then I can have larger data sets and maybe do more with security. Seems like I could offer my clients a better service overall if the data was in a more advanced database.

    Thanks for your input.

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Quote Originally Posted by tagteam View Post
    Other than the need for space are there good advantages for using SQL?

    1. With SQL you can set some permissions I believe
    2. Will there be better speed?
    3. Does it get more complex when you start to work with SQL or can you just use queries like normal?
    Thanks
    1) Yes
    2) It depends
    3) You can simply use Access queries against SQL Server linked tables. You of course gain the potential to use SQL Server tools like stored procedures, views and functions to speed up processes that take too long using Access tools alone.

    By the way, have you done a compact/repair on the back end? It may not really be that large.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    tagteam is offline Expert
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Posts
    501
    Yes, I compact/Repair once every couple of weeks. The main reason I am trying to determine the best way is I am going to start adding more fields to the database and I am concerned it might start to fill up faster.

    I also really like the idea of being able to do some work with the permissions to block off sections of the data. Right now I have to link another access db and put a password on that one.

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

Similar Threads

  1. Replies: 20
    Last Post: 04-11-2014, 07:07 AM
  2. Replies: 1
    Last Post: 10-15-2012, 02:41 PM
  3. Replies: 2
    Last Post: 10-09-2012, 03:20 PM
  4. Replies: 2
    Last Post: 12-22-2010, 01:46 PM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 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