Results 1 to 12 of 12
  1. #1
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94

    Splitting databases and processing speed

    I've a very large Access database I support. I have about 25 users. Some tables have hundreds of thousands of records.

    I've always found that keeping the database "un-split" gives the fastest processing speed. I know Microsoft recommends splitting the database to put tables in the back end and design in the front end.

    I just had a reason to pull out a portion of design into a small mini-database, with links to the tables in the primary database. The result, the small DB runs terribly slow, it isn't going to be workable.



    Are there some other parameters/options I should be aware of that would make this other mini-database run queries and reports faster?

    Thanks!

  2. #2
    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,726
    How do you have the 25 users working on the same large data base without getting conflicts/locks? Is this read only? You don't get any corruption errors?

  3. #3
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94
    Quote Originally Posted by orange View Post
    How do you have the 25 users working on the same large data base without getting conflicts/locks? Is this read only? You don't get any corruption errors?
    Access has full record-level locking for multi-user. No difference if it were split or combined. No, obviously, it is not read only. My corruptions are very rare, often something more on a server failure level.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    There are some thoughts here:

    http://www.granite.ab.ca/access/performancefaq.htm

    I personally would never have an un-split multi-user application.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94
    Quote Originally Posted by pbaldy View Post
    There are some thoughts here:

    http://www.granite.ab.ca/access/performancefaq.htm

    I personally would never have an un-split multi-user application.
    Thanks for the link. Lots pertaining to older releases... I'll also look for stuff more current.

  6. #6
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94
    Quote Originally Posted by KathyL View Post
    Thanks for the link. Lots pertaining to older releases... I'll also look for stuff more current.
    In going through that list, I found something, and have tested it. It may help reduce just a little bit of processing time. It is the Name Auto-Correct feature. Default is ON.

    Microsoft says you can turn it off: http://support.microsoft.com/?kbid=200600

    Makes sense to not track potential design changes of a user in a multi user environment, which are only going to fail anyway, because one has to have exclusive access to make changes. So why the default is ON, I do not know.

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    That feature is historically so buggy that most of us turn it off for every database anyway. I'd love them to change the default to off. I've heard the persistent connection can be very helpful too.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94
    Quote Originally Posted by pbaldy View Post
    That feature is historically so buggy that most of us turn it off for every database anyway. I'd love them to change the default to off. I've heard the persistent connection can be very helpful too.
    What do you mean by "persistent connection"?

  9. #9
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  10. #10
    KathyL is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Aug 2010
    Posts
    94
    This morning, I finished a very long test. I decided I'd test the frontend/backend concept using my large database. For many years, I've just not bought into arguments that this was better.

    I made copies, and split the database. I have some benchmark test tools I've used previously, by designing a form, and upon a button command, it will run a series of form loads and a half dozen queries. I have start/end times, and display the resulting seconds for each test.

    Tested 3 ways:
    1. Single DB, tables, forms and queries all in one DB. Like original.
    2. Split frontend/backend. Tables on backend on server. Forms/queries in front end, but 2nd DB also on server.
    3. Split frontend/backend. Tables on backend on server. Forms/queries in front end, but 2nd DB placed on local client PC.

    Fastest process. by far, is still the single DB (original mode)

    In comparing the front/end/backend tests, placing the front end on the client PC gave responses slightly faster. For example, server front end gave times of 12.51, 14.57, 12.67, 15.54 seconds. Times for front end on PC were 13.11, 11.12, 11.03, 11.05.

    My single DB gave times of 9.6, 9.14, 9.78, and 9.2 seconds. Obviously the fastest.

    Anyone care?

  11. #11
    byterbit is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Location
    Noou Yauk
    Posts
    32
    I care, and good work.
    I did it your way for 10 years, but often had corruption errors. I bought into the splits after solving horrid corruption issues on a new client,and have stayed with it for the last 4 years. However I am now getting clients screaming "too slow !" with a 60 MB 100,000 record app on a server ( with the front ends on the server too; dont ask about that)
    I'm on the forum today looking into the idea of porting into SQL Server /MYSQL for the back and staying with Access for the front. It will either be linked tables or no more bound forms; that is the question.

  12. #12
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Even Tony Toews (Paul's link) admits the system is slower when split. He and we still recommend splitting to FE/BE. Most developers find that somewhere around 10 simultaneous users pretty much maxes out a pure Access solution. We then start moving to an SQL or some other variation server backend for both speed and dependability.

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

Similar Threads

  1. splitting databases
    By combine21 in forum Access
    Replies: 3
    Last Post: 12-02-2010, 11:27 AM
  2. Table Setup advice for invoice processing...
    By Delta729 in forum Database Design
    Replies: 1
    Last Post: 11-23-2010, 11:52 AM
  3. Using data in external file for conditional processing
    By jkellygarrett in forum Import/Export Data
    Replies: 0
    Last Post: 09-17-2009, 01:01 PM
  4. New Database - Batch processing
    By stevo2820 in forum Database Design
    Replies: 0
    Last Post: 04-30-2007, 02:22 AM
  5. I have Problem in processing Dlookup Function
    By Katada in forum Programming
    Replies: 2
    Last Post: 04-23-2006, 12:07 AM

Tags for this Thread

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