Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Free for All: help me speed up my Access Database

 
Goto page 1, 2, 3
   Database Help (Home) -> MS Access RSS
Next:  averages for specific person, results in differen..  
Author Message
Anthony

External


Since: Dec 04, 2006
Posts: 91



(Msg. 1) Posted: Wed Jan 10, 2007 12:37 pm
Post subject: Free for All: help me speed up my Access Database
Archived from groups: microsoft>public>access, others (more info?)

What does EVERYONE recommend I do to make my database run as close to
lightning speed as possible?

 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
ManningFan

External


Since: Jun 30, 2006
Posts: 117



(Msg. 2) Posted: Wed Jan 10, 2007 12:37 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: microsoft>public>access, others (more info?)

Use a SQL Server backend. And index your tables properly.

Anthony wrote:
> What does EVERYONE recommend I do to make my database run as close to
> lightning speed as possible?

 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Albert D. Kallal

External


Since: Nov 18, 2007
Posts: 672



(Msg. 3) Posted: Wed Jan 10, 2007 1:09 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: microsoft>public>access, others (more info?)

As others have said, this subject is bit much for a single newsgroup post.

however, MOST performance gains are accomplished with good designs.

For example, I asked a 92 year old grandmother if it was really stupid that
bank machine would first download EVERYONE'S account number, and then YOU
ENTER you account number (PIN) to use the teller machine.

that 92 year old grandmother INSTANTLY could recognize that it is MUCH
BETTER to first ask the user their PIN number, and then ONLY download that
persons information into the teller machine.

So, if 92 year old grandmothers can tell me that is REALLY dumb to load up a
bunch of information you don't need, then you going to have to show me that
your forms don't load up unnecessary data.

In other words, if any of your forms simply load up and are attached to a
large table, then you have a bad design. Why would you attached a form to a
large table, and then load the form? It is downright crazy to do this, and
even 92 year old grandmothers can grasp this concept. yet, time and time
again, I look at a ms-access applications, and sure enough...the user has
forms attached directly to large tables, and has MADE NO EFFORT to restrict
the records loaded. Terrible designs.....

If you write your application in c++, or VB or in your case with ms-access,
in GENERAL the performance of all of these tools will BE THE SAME.

We often see posts here that a application is too slow with one user. If the
application is too slow with one user..then what can one expect when they
try and run 10 users. That is now 10 times the requirements..

The other issue is how well is the database setup?

Further..how well are the forms designed?

How well does the application work with 5 users..and then when you jump to
10 users...how much a slow down to you notice?

A few things:

Having a table with 75k records is quite small. Lets assume you have 12
users. With a just a 100% file base system (jet), and no sql server, then
the performance of that system should really have screamed.

Before Microsoft started "really" selling sql server, they rated JET could
handle easily 50 users. We have credible reports here of people
running 100 users. however, in those cases everything must be
"perfect".

I have some applications out there with 50, or 60 HIGHLY related tables.
With 5 to 10 users on a network, response time is instant. I don't think any
form load takes more then one second. Many of those 60+ tables are highly
relational..and in the 50 to 75k records range.

So, with my 5 users..I see no reason why I can't scale to 15 users with
such small tables in the 75,000 record range.

So, ok..small tiny tables of 75,000 reocrds, and 5 users, and sure, things
should aboslore screem in terms of perfoamcne.

If the application did not perform with such small tables of only 75k
records..then upsizing to sql server will do absolute nothing to fix
performance issues. In fact, in the sql server newsgroups you see weekly
posts by people who find that upgrading to sql actually slowed things down.
I even seem some very cool numbers showing that some queries where actually
MORE EFFICIENT in terms of network use by JET then sql server.

My point here is that technology will NOT solve performance problems.
However, good designs that make careful use of limited bandwidth resources
is the key here. So, if the application was not written with good
performance in mind..then you kind are stuck with a poor design!

I mean, when using a JET file share, you grab a invoice from the 75k record
table..only the one record is transferred down the network with a file share
(and, sql server will also only transfer one record). So, at this point, you
really will NOT notice any performance difference by upgrading to sql
server. There is no magic here.

Sql server is a robust and more scalable product then is JET. And, security,
backup and host of other reasons make sql server a good choice.
However, sql server will NOT solve a performance problem with dealing
with such small tables as 75k records

Of course, when efforts are made to utilize sql server, then
significant advances in performance can be realized.

I will give a few tips...these apply when using ms-access as a file
share (without a server), or even odbc to sql server:

** Ask the user what they need before you load a form!

The above is so simple, but so often I see the above concept ignored.
For example, when you walk up to a instant teller machine, does it
download every account number and THEN ASK YOU what you want to do? In
access, it is downright silly to open up form attached to a table WITHOUT
FIRST asking the user what they want! So, if it is a customer invoice, get
the invoice number, and then load up the form with the ONE record (how can
one record be slow!). When done editing the record...the form is closed, and
you are back to the prompt ready to do battle with the next customer. You
can read up on how this "flow" of a good user interface works here (and this
applies to both JET, or sql server appcltions):

http://www.members.shaw.ca/AlbertKallal/Search/index.html

My only point here is restrict the form to only the ONE record the user
needs. Of course, sub-forms, and details records don't apply to this rule,
but I am always dismayed how often a developer builds a nice form, attaches
it to a large table, and then opens it..and the throws this form attached to
some huge table..and then tells the users to go have at and have fun. Don't
we have any kind of concern for those poor users? Often, the user will not
even know how to search for something ! (so, prompt, and asking the user
also makes a HUGE leap forward in usability. And, the big bonus is reduced
network traffic too!...Gosh...better and faster, and less network
traffic....what more do we want!).

** You can continue to use bound forms..but as mentioned..restrict the form
to the one record you need. You can safely open up to a single invoice,a and
even continue to use the "where" clause of the openform. Bound forms are way
less work then un-bound forms...and performance is generally just is good
anyway when done right.

** Large loading of combo boxes. A combo box is good for about 100
entries. After that..you are torturing the user (what..they got to look
through 100's of entries). So, keep things like combo boxes down
to a min size. This is both faster..and MORE importantly it is
kinder to your users.

After all, at the end of the day..what we really want is to make
things easy for the users...and treat them well.. It seems that
treating the users well, and reducfing the bandwith
(amount of data) goes hand in hand. So, better applications
treat the usres well..and run faster! (this is good news!)


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal.TakeThisOut@msn.com
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
John Spencer

External


Since: Mar 25, 2008
Posts: 7



(Msg. 4) Posted: Wed Jan 10, 2007 2:26 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Quote from Tony Toews
The three most common performance problems in Access 2000 are:
- LDB locking which a persistent recordset connection fixes
- sub datasheet Name property set to [Auto] should be [None]
- Track name AutoCorrect should be off
(Tools: Options: General Uncheck all name AutoCorrect features)
Other reasons are
- New format of Access 2000 MDB
- Place backend MDB on the root of the network share rather than several
folders down
- Shorten the name of the backend MDB
- Miscellaneous Performance Suggestions
End quote

Check out the following URLs for a more complete discussion.

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

http://support.microsoft.com/?id=209126

Also
How to speed up slow queries
http://support.microsoft.com/kb/209126/en-us
Entitled: Information about query performance in an Access database

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..

"Anthony" wrote in message

> What does EVERYONE recommend I do to make my database run as close to
> lightning speed as possible?
>
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Niniel

External


Since: Aug 17, 2007
Posts: 22



(Msg. 5) Posted: Wed Jan 10, 2007 2:26 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: microsoft>public>access>forms, others (more info?)

That was interesting, John, thank you.
Could you please tell me where I can find the "sub datasheet name property"?
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Douglas J. Steele

External


Since: Mar 14, 2004
Posts: 1626



(Msg. 6) Posted: Wed Jan 10, 2007 2:27 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I don't believe Access can take advantage of multi-threading.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Niniel" wrote in message

> Turn it into a multi-threaded application and run it on a multi-processor
> system, that should speed things up.
> For true lightspeed-like speed you'll probably have to build yourself a
> quantum computer.
>
> "Anthony" wrote:
>
>> What does EVERYONE recommend I do to make my database run as close to
>> lightning speed as possible?
>>
>>
>>
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Albert D. Kallal

External


Since: Nov 18, 2007
Posts: 672



(Msg. 7) Posted: Wed Jan 10, 2007 2:27 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Niniel" wrote in message

>I know. Smile
>
> But can [other] SQL dbs?

Well, they might, but it actually been known for a LONG time that most
databases are not processing bound. What that means is that if you use 1, or
100 processors, you will NOT notice a speed increase in he application (even
if it was 100% threaded).

Why?

the reason for this is that the speed of your hard disk is not changed, and
is the limiting factor here. We are not processing bound in ms-access, but
in fact i/o (input/output) bound. That means the speed of your disk drive,
or network is the limiting factor. So, in fact, if you have an existing
machine, and put in a whole bunch more of processors, it not going to help.
The same applies to sql server, and often adding more processors will NOT
speed things up, since your bottle neck is reading the data from the disk
drive...and more processors don't help that.....

It is really the same thing as saying that if you purchase a new computer,
it will download things faster from the internet..and it not going to make
one bit of difference unless you speed up you internet connection....-- this
same rule applies to ms-access also...

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal.TakeThisOut@msn.com
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Niniel

External


Since: Aug 17, 2007
Posts: 22



(Msg. 8) Posted: Wed Jan 10, 2007 2:27 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Oh, interesting.
So you are better off with a pair of 10k rpm hds with a ton of cache. Or/and
a TB of RAM and a RAM drive.
At which point more processing muscle may become a factor again. Smile
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Tom Wickerath

External


Since: Jan 20, 2008
Posts: 583



(Msg. 9) Posted: Wed Jan 10, 2007 2:41 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

To add to John's comments, perhaps you will find this document helpful:

Implementing a Successful Multiuser Access/JET Application
http://www.access.qbuilt.com/html/multiuser_applications.html

Several of the ideas included are equally applicable for a single-user
database.


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

"John Spencer" wrote:

> Quote from Tony Toews
> The three most common performance problems in Access 2000 are:
> - LDB locking which a persistent recordset connection fixes
> - sub datasheet Name property set to [Auto] should be [None]
> - Track name AutoCorrect should be off
> (Tools: Options: General Uncheck all name AutoCorrect features)
> Other reasons are
> - New format of Access 2000 MDB
> - Place backend MDB on the root of the network share rather than several
> folders down
> - Shorten the name of the backend MDB
> - Miscellaneous Performance Suggestions
> End quote
>
> Check out the following URLs for a more complete discussion.
>
> http://www.granite.ab.ca/access/performancefaq.htm
>
> http://support.microsoft.com/?id=209126
>
> Also
> How to speed up slow queries
> http://support.microsoft.com/kb/209126/en-us
> Entitled: Information about query performance in an Access database
>
> --
> John Spencer
> Access MVP 2002-2005, 2007
> Center for Health Program Development and Management
> University of Maryland Baltimore County
> ..
>
> "Anthony" wrote in message
>
> > What does EVERYONE recommend I do to make my database run as close to
> > lightning speed as possible?
> >
>
>
>
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
John Spencer

External


Since: Mar 25, 2008
Posts: 7



(Msg. 10) Posted: Wed Jan 10, 2007 3:46 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Open up a table in design view and Select View: Properties from the menu.
There is code that will step through all the tables and set the property to
None

'Source: MS Knowledge Base #275085 (See the following URL)
http://support.microsoft.com/Default.aspx?id=275085


--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..

"Niniel" wrote in message

> That was interesting, John, thank you.
> Could you please tell me where I can find the "sub datasheet name
> property"?
>
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Niniel

External


Since: Aug 17, 2007
Posts: 22



(Msg. 11) Posted: Wed Jan 10, 2007 3:46 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Rick

External


Since: Jan 10, 2007
Posts: 1



(Msg. 12) Posted: Wed Jan 10, 2007 4:36 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: microsoft>public>access, others (more info?)

Direct answer. Delete the records.


"Anthony" wrote in message

> What does EVERYONE recommend I do to make my database run as close to
> lightning speed as possible?
>
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Darryl Kerkeslager

External


Since: Feb 08, 2005
Posts: 58



(Msg. 13) Posted: Wed Jan 10, 2007 6:51 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Albert D. Kallal" wrote
> For example, I asked a 92 year old grandmother if it was really stupid
> that bank machine would first download EVERYONE'S account number, and then
> YOU ENTER you account number (PIN) to use the teller machine.
> that 92 year old grandmother INSTANTLY could recognize that it is MUCH
> BETTER to first ask the user their PIN number, and then ONLY download that
> persons information into the teller machine.

What a great example!

--
Darryl Kerkeslager
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Stefan Hoffmann

External


Since: Jan 11, 2008
Posts: 137



(Msg. 14) Posted: Wed Jan 10, 2007 7:57 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hi Anthony,

Anthony wrote:
> What does EVERYONE recommend I do to make my database run as close to
> lightning speed as possible?
That's outdated: Access can go Warp 4.5.


mfG
--> stefan <--
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
69 Camaro3

External


Since: Aug 22, 2004
Posts: 403



(Msg. 15) Posted: Wed Jan 10, 2007 7:57 pm
Post subject: Re: Free for All: help me speed up my Access Database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> That's outdated: Access can go Warp 4.5.

Check your dilithium crystals for surface contaminants. Mine goes Warp 8
when I put the metal to the floor.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact
info.


"Stefan Hoffmann" wrote in message

> hi Anthony,
>
> Anthony wrote:
>> What does EVERYONE recommend I do to make my database run as close to
>> lightning speed as possible?
> That's outdated: Access can go Warp 4.5.
>
>
> mfG
> --> stefan <--
 >> Stay informed about: Free for All: help me speed up my Access Database 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How can I speed up an Access database with SQL backend. - Here is the scenario. We have a database with patient case information. This database was previously solely used in Access. The problem is our users connect to this database (located in California) from locations across a large network. California to..

Free Metal Detector Access Database - You can find a Free Access Database for Metal Detector Hunting at www.johnkapili.com

Database performance speed issues - Hello. I have created a persistent recordset instance to a dummytable in the back-end database from each front end (example: 3 of them). Without the persistent recordset, when 2 or more FE's have locked the BE, both FE's run quite slower. With the..

Speed up Access - I have a access database that using mySQL as back end, Wheni open it it take a long time to run a query and open a form, is there a way to speed it up Running on a internet conection Thanks SImon

Index type and Speed in Access - Hello Would anyone have some light on this question: how critical is the type of the field used as an index for a large database. Let's say I have 1 million entries, every entry has a field called "Reference" which contains a 10-11 characters...
   Database Help (Home) -> MS Access All times are: Pacific Time (US & Canada)
Goto page 1, 2, 3
Page 1 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]