We are using a linked server to an Access file (mdb) on a remote file share. We started investigating slow responses from SQL Server through WireShark and SQL Profiler. We noticed that in WireShark we could see it was downloading the entire mdb file before executing an insert through open query. The file is only 16MB, but our connection is not very fast to the remote site. It was taking well over a minute to execute the query.
INSERT OPENQUERY(MANIFEST11_MDB,'SELECT m_shipper, m_truckinfo, m_dateshipped FROM manifest') Values('HTS','HTS.V11WTFHF','11/2/2012 3:45:47 PM')This setup is something that we have been using for locally networked computers and it was running fine. We didn't notice the latency until we added a remote site into the mix.
Why would SQL Server need to download the entire file to simply do an insert?
Thanks,
Chris
Chris "Is there anything besides programming?"