Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402

    Split Database issues

    Hi Guys



    i have been having issues recently with an the linked database that our end users connect to growing to 1.5GB in size very fast.

    this database has been split, each user (10 in total) has a front end form connected by linked tables to the backend database.

    this has been working really well over the last 5 - 6 months but recently, the backend database size is growing to nearly 2GB 2 - 3 times a day with requires me to compact and repair the backend frequently.

    is it possible that querys running on the front end forms can be coursing the backend database to grow this fast?

    when i compact and repair the database is shrinks back to arount 7MB

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    I seem to remember complaints about something similar a few years back. It seemed to be (according to the person with the issue) related to a service pack on a certain Server product and or a feature built into a server product.

    Do you have any saved query objects on the BE file?

    I would start by taking a copy of the bloated BE and compare the system tables in it to the system tables in a copy that has been compacted.

  3. #3
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi itsme

    no the backend only holds the tables, no query objects are held there at all
    the backend is held on 2008R2 server, this will be upgraded to 2012R2 very soon, it may be best for me to manage the situation as i am, and check when the upgrade has completed.

    if not a service pack issue, not sure what i can do other than upscale this database to sql server, this fills me with dread really as i am a relative Noob at this

    Steve

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    If you do not want to look at the System tables, you could try importing the tables to a new, blank DB. You could do an afterhours cutover. The whole thing should not take more than an hour. The fun part would be showing up first thing the next morning to ensure there is not a need to rollback.

    If you do an import, you will want to study the existing relationships and referential integrity rules. You can use advanced options of the Import Wizard to bring these settings over to a new database. However, importing these may also import any corruption that you are trying to purge.

  5. #5
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi ItsMe

    I would love to check the system tables, but to be honest, im not sure what i would be looking for,
    i will follow your advise to see if i can see anything obvoius

    Kind regards

    Steve

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    A bloated table might identify one or two tables that are causing the issue. I would look for an ID of an object within the bloated table.

  7. #7
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi ItsMe

    thanks for getting back,

    i will check the system tables to see if i can find the issue

    Kind regards

  8. #8
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    do you have Make Table queries? or something that is processing via temp tables? if so - it is doubtful these temp tables should be in the back end at all - - move them to the front end. Just a thought.

  9. #9
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi NTC
    Yes their are quite afew, I hadn't considered that. First thing Monday morning when I'm back in the office I will move these to the front end form

    Many thanks for the suggestion
    Steve

  10. #10
    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,850
    As NTC pointed out, your backend only contains tables. If the backend is growing considerably, what cause the backend to grow:

    a) data entry -seems too rapid a pace ; very rare
    b) adding new tables; make table queries <------------------ Issue??
    c) adding/storing images/blobs within the database

    What exactly is the purpose of the make table queries?

  11. #11
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi orange

    I have temp tabled that hold data imported from csv files, these are then appended into the correct table if certain conditions are met, on Monday morning when I'm back at work I will move the temp tables into the front end as NTC suggested.

    It's odd though that when I embed the linked tables back into a copied front end the database runs really well and the file size increase in minimal

    I will update the front end and see how that runs

    Kind regards
    Steve

  12. #12
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by NTC View Post
    do you have Make Table queries? <snip>
    Quote Originally Posted by sdel_nevo View Post
    Hi NTC
    Yes their are quite afew, <snip>
    The preferred method (better) is to create the table once. Then just delete the data in the table and use an append query to add the new data.

    Constantly creating and deleting tables:
    1) is slower
    2) is a good indicator that the tables are needed.
    3) is a good method to cause corruption of your database. Not IF, just WHEN.

  13. #13
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi ssanfu

    Many thanks for the details,that may be the way to go

    Kind regards
    Steve

  14. #14
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 8 Access 2013
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    705
    Quote Originally Posted by sdel_nevo View Post
    Hi orange

    I have temp tabled that hold data imported from csv files, these are then appended into the correct table if certain conditions are met, on Monday morning when I'm back at work I will move the temp tables into the front end as NTC suggested.

    It's odd though that when I embed the linked tables back into a copied front end the database runs really well and the file size increase in minimal

    I will update the front end and see how that runs

    Kind regards
    Steve
    Stve,

    I would not put the temp table in the front end either. You will have the same issue with the front end.

    The Best Practice method for me is to use a work/scratch back end in the same folder as the front end on the local PC. You can delete and recraete it, copy a new empty one each time, each time or use VBA code to compact it.
    Boyd Trimmell aka Hitechcoach
    Database Architect and Problem Solver
    Microsoft MVP - Access Expert
    25+ years specializing in Accounting, Inventory, and CRM systems
    "If technology doesn't work for people, then it doesn't work."

  15. #15
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by HiTechCoach View Post
    ...I would not put the temp table in the front end either....
    Wouldn't selecting Compact and Repair on close within the options of the frontend be sufficient? I suppose there is not a guarantee that the user will ever close their application.

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 11-27-2013, 09:51 AM
  2. Help - Having Issues With Database
    By hurly1223 in forum Access
    Replies: 3
    Last Post: 06-05-2013, 03:18 PM
  3. Database split issues
    By whufnagel in forum Access
    Replies: 1
    Last Post: 02-16-2013, 09:47 AM
  4. Split Form Issues
    By tylerg11 in forum Forms
    Replies: 1
    Last Post: 03-12-2012, 10:42 PM
  5. Setfocus Split Form Issues
    By cksm4 in forum Programming
    Replies: 6
    Last Post: 10-13-2010, 02:46 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