1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can an Access database be too large?

Discussion in 'MySQL' started by TheMrAnderson, Feb 5, 2008.

  1. #1
    The ASP pages in my online shop crash out about once a day and my IT company tell me it is probably because the Access database is too large and I should change to SQL. The Access database is 147MB. Is this too large?
     
    TheMrAnderson, Feb 5, 2008 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #2
    shallowink, Feb 5, 2008 IP
  3. TheMrAnderson

    TheMrAnderson Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There's about 6,000 visitors on the site per day which i reckon relates to about 12 folk at any moment are browsing the online shop at any given time. The site doesn't necessarily crash out when its busy though, so it doesn't seem to be related to the number of users. What do you mean by records? Sorry if this is a dim question but my IT guy left my company to go work for another and i'm just doing my best to cope!
     
    TheMrAnderson, Feb 5, 2008 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    The number of rows in the database, also called records. The filesize limit is one, but total # of rows/records in the DB could play apart as well. Averaging 12 users is high for MS Access (I would assume it's ok though cause I doubt any are running hard queries). But if the crashes occur at off peak times it might not be the factor. This is just my opinion, if your site is growing and has that many visitors already, you probably should look to get off of Access. Other thing would be to look at your log files and see what's going on prior to the crashes. It might provide some clues as to what the problem is.
     
    shallowink, Feb 5, 2008 IP
  5. LittleJonSupportSite

    LittleJonSupportSite Peon

    Messages:
    386
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sounds like we have some bad coding.

    Was this home brew system or purchased scripts etc?

    Have a look at the error logs and see what is causing the fault.

    You might find that some drop down is causing an infinite loop in a query or something silly like that.
     
    LittleJonSupportSite, Feb 5, 2008 IP
  6. TheMrAnderson

    TheMrAnderson Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Home brew really. Chap that did the code used to work in an engine test place doing data logging code etc and then started out doing websites in about 1999. So he taught himself over the years how to do online shop stuff. I also used to do programming in an engineering environment and i modify his code as i need, so yes its all a bit added on here there and everywhere. The same basic code used to run a gifts business website which could handle an order per minute but with a much smaller database (about 1/100th).
     
    TheMrAnderson, Feb 5, 2008 IP
  7. TheMrAnderson

    TheMrAnderson Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Also, there's about 340,000 rows/records in the database. Is that ridiculous?
     
    TheMrAnderson, Feb 5, 2008 IP
  8. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It is not rediculous but Access is not an enterprise database solution and whilst it can physically cope with both very large file sizes and moderate numbers of concurrent users it really isnt what it was designed for and will slow or crash much more readily than an SQL solution designed to take these levels of traffic.

    Depending on how well coded the site is there shouldnt be the greatest amount of change needed to migrate from Access to an SQL server (MS SQL, MySQL, Oracle etc)
     
    AstarothSolutions, Feb 5, 2008 IP
  9. TheMrAnderson

    TheMrAnderson Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    yes my ex-IT guy still does little jobs on the side for me and i keep discussing the crashing problem with him. he has tried various things but he is now suggesting moving to SQL. From what you guys are saying it sounds like he is right. My difficulty is that he often seems to do things by trial and error (that's why i'm now asking on this forum) and he's talking serious money to change over to SQL which i can't afford just now.
     
    TheMrAnderson, Feb 5, 2008 IP
  10. LinketySplit

    LinketySplit Peon

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    The size of your database is nothing extreme.
    Access is intended as a user and developer friendly, multi-user database system. Unfortunately, it is riddled with bugs and if you're not making hourly backups of your database, susceptible to corruption.

    You should consider migrating to a content management and data base system that are more robust and designed for use in web environments. These alternatives will make your life easier if you invest in the migration.
     
    LinketySplit, Feb 5, 2008 IP
  11. amara5591

    amara5591 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #11
    I have been running an online shop using Access database for around 10 years. I have split the product database from customer database (ie. two files ) - So the databases doe not grow that much. I can flush the old customers from time to time from system.
    Also you can download the database and verify and compress using MS Access and then upload again. That should reduce your problems. By the way I am also now migrating to MSSQL - writing code now.
     
    amara5591, Jun 26, 2014 IP
  12. jancok13

    jancok13 Greenhorn

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #12
    use sql yog man
    you never access the file if > 20MB
    CMIIW
     
    jancok13, Jul 25, 2014 IP
  13. MichaelDavis

    MichaelDavis Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #13
    I can speak with a lot of experience about Access. As stated above the file size limit on an Access DB is 2GB. Access is a great rapid development tool to build demo or test systems. But once your "proof of concept" is built out you are best moving your data to a MySQL or MS SQL database. Access just gets too buggy and is not reliable for a production system. Prepare yourself for lots of "compact and repairs" w/ Access...
     
    MichaelDavis, Jul 26, 2014 IP
  14. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #14
    How are Access a "great rapid development" tool? I don't understand it. It probably takes me longer to map out a proper setup in Access than it takes to make a few PHP-files and a MySQL-database.
     
    PoPSiCLe, Jul 26, 2014 IP
  15. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #15
    This thread is 6 years old...
     
    jestep, Aug 5, 2014 IP