Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

1 connection but many db logins/logouts

Status
Not open for further replies.

garwain

Programmer
Jan 30, 2002
461
CA
My delphi program that is used by 10-15 people is quite slow on some queries, so I loaded up the sql profiler (sql server 2000) and it shows "audit logout" after every one of the queries in my program, and this seems to be where all the time is being lost. My program uses 1 adoConnection and every query uses that connection, so I'd think there should only be 1 login when the user opens the program and 1 logout when the program is closed. What am I missing here or is this normal behaviour for ADO and MSSQL?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top