Page 1 of 1

Query times

Posted: Fri Dec 27, 2002 1:39 pm
by FRED_EMMERICH_(Guest)
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

=> RE: Query times

Posted: Fri Dec 27, 2002 1:53 pm
by kfleming
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

==> RE: Query times

Posted: Fri Dec 27, 2002 3:20 pm
by FRED_EMMERICH_(Guest)
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.