- Local time
- Yesterday, 22:54
- Joined
- Feb 28, 2001
- Messages
- 27,140
Interesting. After the fact of your experiment, I can offer a possible explanation. Bear with me.
When you have an encryption across the net, there is usually a "broker" task. You may prefer the term "translator" or "cryptologist" but the industry calls it a broker. This broker does the decryption of incoming data for you and there is a broker on the back end for updates that you do as well, since you are doing them to an encrypted file.
When you have a non-persistent connection, it is quite possible for Access to have to create and dissolve a broker for each query including even little things like drop-down lists of various flavors. That is because each query, in the absence of a persistent connection, must open a new socket. The socket lasts only as long as the query is open.
When you have a persistent connection, that connection does not close until you close it. Therefore the brokers remain in memory, idle most of the time - but Access does not create a new network session if one is already open to the desired location. So the brokers don't get created and destroyed for each new query. They just ride the persistent connection.
I am not guessing about this "ride the persistent connection" behavior because I saw it in an article on this forum years ago. I am making an educated guess as to the broker create/destroy cycle being a contributor to your speed issue.
When you have an encryption across the net, there is usually a "broker" task. You may prefer the term "translator" or "cryptologist" but the industry calls it a broker. This broker does the decryption of incoming data for you and there is a broker on the back end for updates that you do as well, since you are doing them to an encrypted file.
When you have a non-persistent connection, it is quite possible for Access to have to create and dissolve a broker for each query including even little things like drop-down lists of various flavors. That is because each query, in the absence of a persistent connection, must open a new socket. The socket lasts only as long as the query is open.
When you have a persistent connection, that connection does not close until you close it. Therefore the brokers remain in memory, idle most of the time - but Access does not create a new network session if one is already open to the desired location. So the brokers don't get created and destroyed for each new query. They just ride the persistent connection.
I am not guessing about this "ride the persistent connection" behavior because I saw it in an article on this forum years ago. I am making an educated guess as to the broker create/destroy cycle being a contributor to your speed issue.