Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query takes too long to load

Status
Not open for further replies.

kpalazzi

Technical User
May 2, 2000
35
US
I have a form with many controls based on a query.
The query links 3 tables and has well over 100,00 records in it. There is no parameters, I need to use the query instead of the table to get info from three tables. However, when I open the form it takes 3 minutes to load.

How can I make this load faster?
Kimberly Palazzi
kpal29@hotmail.com
 
Hi Kimberly, have you tried compacting your database? You say you have 100,00 records, Is any of this info out dated? Could you delete any outdated records inorder to keep your databases to a minimum? (You could create a routine that does this automatically) Is all the info produced from your query really needed? - Peps
 
Kimberly, you say your query has >100K records in it. I assume you mean the resultant dataset FROM the query? How many records are in each of the three tables? Could your joins be incorrect? It's amazing how quickly a cross-join can foul up your day when you really need an equi- or outer join.

Also, where are the tables? In an Access/Jet database? In an ODBC database? What are the keying structures? How about indices?

There are many variables that can affect query operation speed, to give you a good start on where to look to improve the time, we need to know a little bit more about the structure of the tables and how you are joining them.

Jim How many of you believe in telekinesis? Raise my hand...
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top