I've got a make-table query that searches for and copies a single record from a linked table with upwards of 500,000 records (about 200 MB).
Both the Access file and the linked table (tab delimited text) are in the same folder on a network share.
If I copy the linked table into the database and index it, the query is instantaneous, but the copy takes about five minutes (and would need to be performed daily) and I cannot set an index on the linked table.
I can't modify the format of the linked table; it's being exported daily from our T-SQL server (as our IT department won't let me query the database with Access directly), and a delimited text file is my only viable option.
As I suspct the work is all being done on my local machine, I'm afraid this will be a lot slower for my colleagues with older PCs, and they just won't abide that.
The query is taking about 90 seconds to return a result; can I improve the performance at all?
Code:
SELECT Database.* INTO CopyTable FROM [Database] WHERE (((Database.LN)=[Forms]![MForm]![LN_FORM]));
If I copy the linked table into the database and index it, the query is instantaneous, but the copy takes about five minutes (and would need to be performed daily) and I cannot set an index on the linked table.
I can't modify the format of the linked table; it's being exported daily from our T-SQL server (as our IT department won't let me query the database with Access directly), and a delimited text file is my only viable option.
As I suspct the work is all being done on my local machine, I'm afraid this will be a lot slower for my colleagues with older PCs, and they just won't abide that.
The query is taking about 90 seconds to return a result; can I improve the performance at all?
Comment