|
-
Nov 8th, 2005, 11:09 AM
#1
Thread Starter
Member
Multi Users in Access
I developed an Access app that was originally designed for a small number of users.
Since then the popularity has grown and so have the number of users.
Has anyone had any experience with multiple users (>10) simultaneously accessing a table cause performance issues?
The app has a form with combo boxes that pull the items from a table in a backend db. Occasionally these combo boxes fail to retrieve the items.
I am thinking too many people are accessing the back end to support the combos, but not sure.
Please help.
-
Nov 8th, 2005, 11:21 AM
#2
Lively Member
Re: Multi Users in Access
I have had performance issues with 2 or more people using an access database.
It sounds like it is time to move to real a database server.
-
Nov 8th, 2005, 12:45 PM
#3
Re: Multi Users in Access
primfran,
You can have performance issues with Access, but mostly it is ones code that needs to adapt to better techniques. Bad techniques show up really quick while using Access.
Please read Database Problems in my signature for some help on this issue.
-
Nov 8th, 2005, 12:52 PM
#4
Re: Multi Users in Access
If users are doing updates to the data while having multiple users connected you are going to run into issues with Access. Access can only support 7-10 concurrent connections when your db is designed for updates. If your only reading or retrieving data then it supports allot more. This is a known issue with all versions of Access. You need to code your app to accomodate for this.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Nov 8th, 2005, 03:02 PM
#5
Hyperactive Member
Re: Multi Users in Access
Hello primfran,
Did you try using this:
VB Code:
DBEngine.Idle dbRefreshCache
Before you execute queries?
this can help you with Multi Users/Tasking.
The Idle Method forces the database engine to write data to disk, releasing locks on memory. (just WRITE idle and press F1 for help)
Best Regards,
ERAN
Eran Fox
ASSEMBLER,C,C++,VB6,SQL...
-
Nov 8th, 2005, 07:28 PM
#6
Re: Multi Users in Access
 Originally Posted by eranfox
Hello primfran,
Did you try using this:
VB Code:
DBEngine.Idle dbRefreshCache
Before you execute queries?
this can help you with Multi Users/Tasking.
The Idle Method forces the database engine to write data to disk, releasing locks on memory. (just WRITE idle and press F1 for help)
Best Regards,
ERAN
That is for DAO right? What if he uses ADO?
-
Nov 9th, 2005, 06:18 AM
#7
Hyperactive Member
Re: Multi Users in Access
 Originally Posted by dee-u
That is for DAO right? What if he uses ADO?
Hello dee-u,
Yes you are right!
VB Code:
DBEngine.Idle dbRefreshCache
Is part of DAO.
For ADO primfran should use Lockings (LockType)
And He can use disconnected recordsets as well.
He must do all calculation outside his queries and close connections when he can.
DAO is the native language of Jet, is faster for Jet than ADO.
ADO is Better than DAO when you use DBMS like SQLServer But when using MS-Access it is not that strong.
Best Regards,
ERAN
Eran Fox
ASSEMBLER,C,C++,VB6,SQL...
-
Nov 9th, 2005, 07:33 PM
#8
Re: Multi Users in Access
 Originally Posted by eranfox
Hello dee-u,
Yes you are right!
VB Code:
DBEngine.Idle dbRefreshCache
Is part of DAO.
For ADO primfran should use Lockings (LockType)
And He can use disconnected recordsets as well.
He must do all calculation outside his queries and close connections when he can.
DAO is the native language of Jet, is faster for Jet than ADO.
ADO is Better than DAO when you use DBMS like SQLServer But when using MS-Access it is not that strong.
Best Regards,
ERAN
I have used such technique before hence it is familiar...
What I wish to clarify now is wherer did you get the knowledge that DAO is faster for Jet? I'm interested to know since I always thought ADO is faster than DAO in all areas...
-
Nov 9th, 2005, 11:32 PM
#9
Hyperactive Member
Re: Multi Users in Access
Hello dee-u,
I got my knowlege only from my personal experience.
I hate using DAO but for some reason ADO failed for me in some cases.
Any way that was long time ago and since then i moved to MS-SQLServer.
Best Regards,
ERAN
Eran Fox
ASSEMBLER,C,C++,VB6,SQL...
-
Nov 9th, 2005, 11:37 PM
#10
Re: Multi Users in Access
That's strange since ADO doesn't fail me with Access...
-
Nov 10th, 2005, 12:39 AM
#11
Hyperactive Member
Re: Multi Users in Access
Hello dee-u,
The DAO object model is designed specifically for the Microsoft Jet database engine. Jet itself incorporates ISAM and ODBC connectivity and makes the back-end providers look as much like the native Jet engine as possible, though this comes at the expense of performance. DAO also has an ODBCDirect mode that allows it to host RDO objects and access ODBC datasources in a very efficient manner.
The ADO object model was designed for OLE DB providers and is a much simpler and more flexible object model than DAO. However, its architectural design poses some problems when using the Microsoft Jet OLE DB provider, and it is more limited than DAO in Jet functionality it supports.
Taken from :
http://support.microsoft.com/kb/q225048/
So, maybe you didnt have problems with ADO and JET but i did and thats history...
Have a NICE day,
ERAN
Eran Fox
ASSEMBLER,C,C++,VB6,SQL...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|