Access software size and users

%3CLINGO-SUB%20id%3D%22lingo-sub-2890293%22%20slang%3D%22en-US%22%3EAccess%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2890293%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20in%20business%20and%20producion%20Access%20software.%20Simultaously%20users%20is%20max%2030%20and%20size%20about%20200%20to%20400%20mb.%20But%20system%20crash%20sometimes%20(%202%20times%20a%20day)%20and%20make%20backup%20copy.%20Is%20there%20way%20to%20test%20what%3C%2FP%3E%3CP%3Ehappened%20when%20system%20crash%3F%20Before%20crash%20system%20slows%20and%20size%20is%20expanding%2C.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMatti%20Haapaniemi%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2890293%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2890389%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2890389%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Matti%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESome%20questions%20about%20your%20system%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EWhat%20files%20does%20your%20Access%20application%20consist%20of%3F%3C%2FLI%3E%0A%3CLI%3EIs%20the%20application%20split%20into%20frontend%20and%20backend%20file%3F%3C%2FLI%3E%0A%3CLI%3EDoes%20each%20user%20have%20his%20own%20frontend%20file%3F%3C%2FLI%3E%0A%3CLI%3EWhich%20file%20exactly%20is%20inflating%3F%3C%2FLI%3E%0A%3CLI%3EAre%20there%20any%20error%20messages%20before%20Access%20crashes%3F%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CFONT%20size%3D%22-1%22%3E%3CFONT%20face%3D%22Verdana%22%3EServus%3CBR%20%2F%3EKarl%3CBR%20%2F%3E*********%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2FAccessDevCon.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2FAccessDevCon.com%3C%2FA%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.donkarl.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.donkarl.com%3C%2FA%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2892285%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2892285%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20One%20file%20in%20server%20Access%202019%20contains%2010%20tables%3CBR%20%2F%3EOne%20file%20in%20workstations%20contains%20200%20queries%2C%20100%20forms%2C%2030%20reports%20%2C%20120%20macros%3CBR%20%2F%3E2.%20Backend%20in%20server%20and%20frontend%20in%20workstations%3CBR%20%2F%3E3.%20One%20frontend%3CBR%20%2F%3E4%2C%20File%20in%20server%20is%20inflating%20(maybe%20one%20of%20reports%20is%20doing%20this)%3CBR%20%2F%3E5.%20No%20error.%20Just%20slowing%20and%20stop%20system.%20New%20backup%20file%20is%20coming%20to%20server.%3CBR%20%2F%3E%3CBR%20%2F%3EMatti%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2892674%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2892674%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1197445%22%20target%3D%22_blank%22%3E%40Matti_Haapaniemi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20you%20mean%20one%20frontend%20for%20each%20user%20on%20their%20own%20workstation.%3C%2FP%3E%3CP%3EAre%20you%20using%20a%20persistent%20connection%20to%20the%20BE%20file%3F%20If%20not%2C%20I%20would%20recommend%20it%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20the%20frontend%20contain%20any%20tables%20e.g.%20'temp'%20tables%20that%20are%20being%20written%20to%20on%20a%20regular%20basis%3F%3C%2FP%3E%3CP%3EIs%20Compact%20On%20close%20enabled%20in%20the%20FE%3F%20If%20so%2C%20disable%20it%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20way%20you%20could%20test%20what%20happens%20before%20a%20crash%20is%20to%20test%20for%20available%20connections.%3C%2FP%3E%3CP%3ESee%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fwww.mendipdatasystems.co.uk%2Favailable-connections%2F4594418530%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAvailable%20Connections%20-%20Mendip%20Data%20Systems%3C%2FA%3E%3C%2FP%3E%3CP%3EIf%20the%20number%20of%20available%20connections%20drops%20significantly%2C%20the%20FE%20will%20slow%20dramatically%20and%20then%20crash.%20If%20that%20is%20the%20cause%2C%20you%20can%20take%20remedial%20action%20to%20close%20objects%20when%20not%20in%20use%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2895021%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2895021%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1007894%22%20target%3D%22_blank%22%3E%40isladogs%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEach%20user%20has%20own%20frontend.%3C%2FP%3E%3CP%3EWe%20have%20localnetwork%201%20gb%20to%20server.%3C%2FP%3E%3CP%3EAll%20tables%20are%20in%20server%20not%20frontend.%3C%2FP%3E%3CP%3ECompactOn%20Close%20disabled.%3C%2FP%3E%3CP%3EBut%20available%20connections%20is%20intresting.%20we%20have%20lot%20of%20queries%20and%20reports%20and%20users%3C%2FP%3E%3CP%3Ekeep%20all%20open.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20try%20to%20test%20but%20error%20comes%20(form%20and%20report%20is%20copies9%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Matti_Haapaniemi_0-1635417005990.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F320760i164364E3691EAD1E%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Matti_Haapaniemi_0-1635417005990.png%22%20alt%3D%22Matti_Haapaniemi_0-1635417005990.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2895823%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2895823%22%20slang%3D%22en-US%22%3EThat%20sounds%20like%20a%20missing%20reference%20issue.%3CBR%20%2F%3EDAO%20is%20part%20of%20a%20standard%20reference%20library.%20For%20ACCDB%20files%2C%20you%20need%20the%20Microsoft%20Office%20xx.0%20Access%20Database%20engine%20object%20library.%20For%20older%20MDB%20files%2C%20use%20the%20Microsoft%20DAO%203.6%20Library.%3CBR%20%2F%3E%3CBR%20%2F%3EOnce%20that%20is%20installed%20the%20code%20should%20then%20run%20successfully.%3CBR%20%2F%3EYou%20should%20soon%20notice%20why%20its%20a%20Good%20idea%20to%20close%20forms%20and%20reports%20when%20not%20in%20use%20as%20well%20as%20setting%20recorders%20to%20nothing%20when%20you%20finish%20using%20them.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2899508%22%20slang%3D%22en-US%22%3ERe%3A%20Access%20software%20size%20and%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2899508%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1007894%22%20target%3D%22_blank%22%3E%40isladogs%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20working%20and%20when%20I%20test%20available%20connections%20are%20about%20230.%20Thats%20not%20a%20problem.%3CBR%20%2F%3EWhat%20you%20mean%20setting%20recorders%20to%20nothing%20%3F%3CBR%20%2F%3EOur%20system%20consist%20two%20main%20tables%20and%20users%20update%20these%20sometimes%2030%20users%20simultaneously%2C%3CBR%20%2F%3EWe%20use%20same%20forms%20for%20viewing%20and%20editing.%20All%20is%20fine%20when%20users%20amount%20is%20about%2010.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi

 

We have in business and producion Access software. Simultaously users is max 30 and size about 200 to 400 mb. But system crash sometimes ( 2 times a day) and make backup copy. Is there way to test what

happened when system crash? Before crash system slows and size is expanding,.

 

Matti Haapaniemi

10 Replies

Hi Matti,

 

Some questions about your system:

  1. What files does your Access application consist of?
  2. Is the application split into frontend and backend file?
  3. Does each user have his own frontend file?
  4. Which file exactly is inflating?
  5. Are there any error messages before Access crashes?

Servus
Karl
*********
http://AccessDevCon.com
https://www.donkarl.com

Hi

1. One file in server Access 2019 contains 10 tables
One file in workstations contains 200 queries, 100 forms, 30 reports , 120 macros
2. Backend in server and frontend in workstations
3. One frontend
4, File in server is inflating (maybe one of reports is doing this)
5. No error. Just slowing and stop system. New backup file is coming to server.

Matti

@Matti_Haapaniemi 

I hope you mean one frontend for each user on their own workstation.

Are you using a persistent connection to the BE file? If not, I would recommend it

 

Does the frontend contain any tables e.g. 'temp' tables that are being written to on a regular basis?

Is Compact On close enabled in the FE? If so, disable it

 

One way you could test what happens before a crash is to test for available connections.

See Available Connections - Mendip Data Systems

If the number of available connections drops significantly, the FE will slow dramatically and then crash. If that is the cause, you can take remedial action to close objects when not in use

 

@isladogs 

 

Each user has own frontend.

We have localnetwork 1 gb to server.

All tables are in server not frontend.

CompactOn Close disabled.

But available connections is intresting. we have lot of queries and reports and users

keep all open. 

I try to test but error comes (form and report is copies9

 

Matti_Haapaniemi_0-1635417005990.png

 

That sounds like a missing reference issue.
DAO is part of a standard reference library. For ACCDB files, you need the Microsoft Office xx.0 Access Database engine object library. For older MDB files, use the Microsoft DAO 3.6 Library.

Once that is installed the code should then run successfully.
You should soon notice why its a Good idea to close forms and reports when not in use as well as setting recorders to nothing when you finish using them.

@isladogs 

 

Now working and when I test available connections are about 230. Thats not a problem.
What you mean setting recorders to nothing ?
Our system consist two main tables and users update these sometimes 30 users simultaneously,
We use same forms for viewing and editing. All is fine when users amount is about 10.

Sorry that was a typo caused by autocorrect
It should have been...set recordsets to nothing.

 

It may be that you have hit the limit of what Access can handle in terms of users working simultaneously on the same table. Perhaps it would be best to consider moving the BE to SQL Server.

Almost 20 years ago, we added a feature to one of my databases for schools for teachers to record tutor group / class attendance. At that time the BE was in Access. The feature worked well in testing but in practice the database dramatically slowed to a crawl as anything up to 80 users simultaneously tried entering data to the same tables. It also led to crashes and corruption. This was seriously bad news both for users and for the program admins. The feature was withdrawn whilst we moved the BE to SQL Server. It took a while to convert but we never looked back. After that, no more slowdowns or crashes and no more corruption.

Ok. I test sql server but is Access good Frontend program ? What is best user interface program ?

Yes. Access makes an excellent FE for use with a SQL Server BE. Try the Express version. Its free and has a 10GB file size limit

One question more.
Is it enough only making ssma to copy tables to sql server ?
We use hyperlink in our system and that not working in SQL.
Is there anything else to know?