General information
Forum:
Microsoft SQL Server
Title:
Question about shared connections
Can someone please explain the tradeoffs involved in opening and closing connections to SQLServer?
On the one hand, keeping a shareable connection open throughout a user session is surely a waste of an available connection into the server, with the consequent license cost.
On the other, it seems that opening and closing a connection repeatedly must create uneeded overhead. Is there a way to implement some sort of timeout, where if a connection goes unused for x seconds it is closed, but is otherwise available for sharing? Can we get VFP or Windows to do this for us?
How would one tell if there is a shareable connection already open?
TIA,
Alex
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only