Results 1 to 6 of 6
  1. #1
    Leo W is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Aug 2022
    Location
    Netherlands
    Posts
    3

    Question How to prevent "unknown database design" errors caused by damage?

    I have an Access-database running with multiple users.



    It had one back-end combined with dozens of front-ends of which 5 to 10 would be active simultaneously.
    Occasionally, we had a damaged file that would block one of the front-ends. Which was then replaced.
    When the damage occurred in the back-end it could double in size, but would still function. It was repaired and compressed once a week.
    Over the years the back-end had grown to be close to 0.5 Gb and recently after two events close after each other it even passed 2.0 Gb.

    To prevent running into the size limit of Access again, I decided to split the back-end into three separate databases with the largest, after compression, now being reduced to 0.21 Gb.

    Following this action, two days ago, there have been multiple damaged files, all in the new, smaller, back-ends blocking the complete function of the database for everyone.
    The error that is shown is "unknown database design" followed by one of the back-ends.
    The damage may be repaired by Access, but not always. I then have to reinstall a back-up.

    What is causing these errors and how can I prevent these from happening?
    Will returning to a single back-end reduce these errors?

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    It could be you're running against the limits of Access there. Maybe time to upgrade to another back-end database system like MySQL, MariaDB or SQL server (express or standard)?

  3. #3
    Leo W is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Aug 2022
    Location
    Netherlands
    Posts
    3
    We are indeed in the process of out-phasing this MS-Access application. But the new programs or updates that need to take over the current functionality may still take 2 years (or more) to all be in place.
    In the mean time I'm juggling to keep everything running.

    Would it be possible to work with different types of back-ends? For instance 2x MySQL and a third BE still as Access?
    Two of the three back-ends contain only one large table each. These might easily be changed to another format.
    The third back-end contains dozens of smaller files which are constantly used/updated. I wouldn't want to convert all these.

  4. #4
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    You only need one back-end server. On 1 server you can place several databases, and of course 1 database can contain several tables. For documentation on MySQL see https://dev.mysql.com/doc/refman/8.0...ize-limit.html.
    MySQL also is better with working with several simultanious connections. So once you have a MySQL database, I don't see the point of keeping some backends on MS Access. Just put all your tables in one database again, as it was before.
    Create the database and then upload all tables from the different tables into this one BE table. Normally the front-end in Access can remain the same if you don't change the datastructure. Just link the tables to the new backend.

    If you upgrade to SQL server, the process is pretty quick and smooth. Best use the SQL server import data task to do this (much better than the Access upgrade wizzard). Of course, you'll have to do some tuning afterwards to speed things up. With MySQL, I don't know the possibilities, but I bet there is an easy way too.

  5. #5
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,471
    Have you tried to see what is causing the corruption? Can you reduce the size of the backend files by deleting or archiving old data? Are you having multiple users editing the same records? I agree that you would be better going to SQL but if you can find out what process is causing the issues, maybe try to optimize that.

  6. #6
    Leo W is offline Novice
    Windows 10 Access 2013 32bit
    Join Date
    Aug 2022
    Location
    Netherlands
    Posts
    3
    This weekend nothing went wrong, but there was hardly any activity.
    Just realized, the first 3 days it always crashed, for the first time of the day, between 09:30 and 10:00, every day (business starts at 08:00).
    With no additional crashes on Thursday or Friday.
    I'll ask the different departments for their morning routines.

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

Similar Threads

  1. Replies: 16
    Last Post: 04-22-2019, 03:56 PM
  2. Budget database design with many "autofill" fields
    By chelonidae in forum Database Design
    Replies: 4
    Last Post: 10-19-2017, 12:03 PM
  3. Replies: 1
    Last Post: 09-03-2014, 03:27 AM
  4. "Unknown" message error while opening a query
    By falahsalih in forum Access
    Replies: 7
    Last Post: 05-23-2014, 04:58 PM
  5. Replies: 2
    Last Post: 12-02-2010, 02:35 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