Re: ODBC/OLE DB Connection Pool
From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 11/27/04
- Next message: Rob Nicholson: "Re: ADOX/ADO quirk when creating a primary key"
- Previous message: Tom: "msado15 crashes"
- In reply to: Kevin Joseph: "Re: ODBC/OLE DB Connection Pool"
- Next in thread: Erland Sommarskog: "Re: ODBC/OLE DB Connection Pool"
- Reply: Erland Sommarskog: "Re: ODBC/OLE DB Connection Pool"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 27 Nov 2004 06:49:26 -0500
Kevin Joseph wrote:
> If connection pool is setup on the client, it is possible to monitor
> the SQL server connections using perfmon - if the connections grow ;
> it means that connection pooling is not working. And this is exactly
> what is happening in my case. If you have some other way of proving
> that connection pooling is fine ; I will gladly accept your point of
> view.
>
Darn. I forgot to mention that it is fairly easy to prove that pooling is
working by using SQL Profiler to verify whether your connections are being
re-used.. You can even use sp_who2 to verify that your connections remain in
place for 60 sec. after you web pages use them (Create a test login name.
Create a test page that uses that login. Run the page. Then use sp_who2 in
Query Analyzer to see the connection. Run sp_who2 to verify that the
connection remains. Refresh the page. Use sp_who2 to see if a new connection
gets created).
Bob Barrows
-- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM"
- Next message: Rob Nicholson: "Re: ADOX/ADO quirk when creating a primary key"
- Previous message: Tom: "msado15 crashes"
- In reply to: Kevin Joseph: "Re: ODBC/OLE DB Connection Pool"
- Next in thread: Erland Sommarskog: "Re: ODBC/OLE DB Connection Pool"
- Reply: Erland Sommarskog: "Re: ODBC/OLE DB Connection Pool"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|