Query times

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
FRED_EMMERICH_(Guest)
Posts: 170
Joined: Tue Oct 10, 2017 12:44 pm

Query times

Post by FRED_EMMERICH_(Guest) » Fri Dec 27, 2002 1:39 pm

I have an Access table with about 100k records. I am trying to query about 100 records or so from that table. It takes a LONG time, even doing multiple previews. If instead I create a different master table which contains the identifiers from the big table, and link on that field, the query time is MUCH quicker. Why is it so much faster to use the link method than the filter? It would seem like it would need to check all the records in the big table no matter which way I go, but I may be wrong.____Thanks

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Query times

Post by kfleming » Fri Dec 27, 2002 1:53 pm

Could be in how the ODBC driver processes the SELECT. I am assuming that in the first case your SELECT contains a WHERE clause with the filtering condition.____Kathleen__R&R Support

FRED_EMMERICH_(Guest)
Posts: 170
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Query times

Post by FRED_EMMERICH_(Guest) » Fri Dec 27, 2002 3:20 pm

In my slow case (single table) I used the filter to select the records. In the faster one where I linked, I used all records, but only retrieved the ones from the large table that matched my master file records.

Post Reply