Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > slow access database


Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2001, 12:29 PM
kcwallace's Avatar
kcwallace kcwallace is offline
Junior Contributor
 
Join Date: Jun 2001
Location: Huntington Beach, CA
Posts: 326
Question slow access database


I am stumped. I have an Access97 front-end running on a network that runs perfect from my computer. The problem is a form that takes 1 second on my computer will take up to a minute every other users computer. Can anyone explain this to me? I recently re-wrote all of the forms and underlying code hoping this would work, but it didn't. I have several other DB's running on the same network, but they work perfectly. I would attach the database but since you won't have access to our network it would be useless.
__________________
Go Beavs!!!
Reply With Quote
  #2  
Old 10-23-2001, 06:20 PM
Timbo's Avatar
Timbo Timbo is offline
Green-Eyed

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Bangkok, Thailand
Posts: 10,261
Lightbulb Re: slow access database

if your computer is faster than the other machines then I suspect that you need to optimise your SQL and db relationships.
Large & nested queries, complex/multiple joins and unwieldy recordsets are usually the main culprits.

I'm also assuming that the front-end(s) reside on each users machine and not the network...
__________________
"He's not the Messiah. He's a very naughty boy!" - Brian's mum

Can't find the answer? >> Try something new!
Become a Professional
Reply With Quote
  #3  
Old 10-23-2001, 07:02 PM
kcwallace's Avatar
kcwallace kcwallace is offline
Junior Contributor
 
Join Date: Jun 2001
Location: Huntington Beach, CA
Posts: 326
Default Re: slow access database

the front end resides on the network.

I tested it on on a 1Ghz w/256 Mb RAM machine and the performance was still slower. Mine is only 300Mhz w/192 Mb RAM.

I am confused.
__________________
Go Beavs!!!
Reply With Quote
  #4  
Old 10-23-2001, 07:09 PM
Timbo's Avatar
Timbo Timbo is offline
Green-Eyed

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Bangkok, Thailand
Posts: 10,261
Default Re: slow access database

each user needs to have their own local machine front-end connected to the single back-end which resides on the network.
I'm confident that the app performance of th other users will equal yours once you do this.
__________________
"He's not the Messiah. He's a very naughty boy!" - Brian's mum

Can't find the answer? >> Try something new!
Become a Professional
Reply With Quote
  #5  
Old 10-24-2001, 12:32 AM
kcwallace's Avatar
kcwallace kcwallace is offline
Junior Contributor
 
Join Date: Jun 2001
Location: Huntington Beach, CA
Posts: 326
Default Re: slow access database

I never run a copy on my, or any, local machine. When I open 1 paticular DB (out of 20+) from the server a form takes 1 second from my workstation. The exact server version from everyone else's workstation take about 1 minute. The other 20+ run at approximately the same speed as mine. This one ran perfectly until a week ago.

Running local versions of the database are nothing but trouble, i.e. versioning, etc.
__________________
Go Beavs!!!
Reply With Quote
  #6  
Old 10-24-2001, 12:44 AM
Timbo's Avatar
Timbo Timbo is offline
Green-Eyed

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Bangkok, Thailand
Posts: 10,261
Question Re: slow access database

what happened just under a week ago?..

The suggestion of splitting the database in a client-server app is the standard in these situations. It may be that difficulties arising from the current structure weren't observed before due to the small size of the db. A weeks worth of heavy use may have seen an end to that...
__________________
"He's not the Messiah. He's a very naughty boy!" - Brian's mum

Can't find the answer? >> Try something new!
Become a Professional
Reply With Quote
  #7  
Old 10-24-2001, 08:18 PM
diver diver is offline
Senior Contributor

* Expert *
 
Join Date: Jun 2001
Location: Illinois
Posts: 865
Default Re: slow access database

Let me throw out something that you might think is ridiculous, and that's okay...

I did a study last year at John Hopkins University, and learned some things from a guy who really knows his Access. I also ran into a guy at our sister company who also knows his Access. Both gave me big warnings. They basically said, "don't use Access on more than 20 machines, or you will be very, very sorry". Since then, I have questioned various consultants about this issue, and hands down, it appears that Access was not really designed to effeciently work over a network with that many users. I don't want to burst your bubble, it's just something that I have heard for a long time.

-Diver
__________________
Sometimes I do not get notification of your post from the forum, which causes a delay. I am apologizing in advance!
Reply With Quote
  #8  
Old 10-25-2001, 07:42 AM
MattVB
Guest
 
Posts: n/a
Default Re: slow access database

I have heard the same thing. Access starts to crumble after like 10 users.....
Reply With Quote
  #9  
Old 10-25-2001, 12:11 PM
diver diver is offline
Senior Contributor

* Expert *
 
Join Date: Jun 2001
Location: Illinois
Posts: 865
Default Re: slow access database

Matt,

That's the interesting part. Microsoft claims you can attach 50 users, but I've been told that you want to plan for less that 20. You could be right, that it would start hitting the wall at 10 users, but it probably depends on the code, environment, etc.. Either way, when someone reaches this point, or if they plan to reach this point, there needs to be some serious consideration of using Access.

-diver
__________________
Sometimes I do not get notification of your post from the forum, which causes a delay. I am apologizing in advance!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->