Re: SqlConnection and DB connection failures detection
- From: "Tomasz" <tomasz.szkudlarek@xxxxxxxxx>
- Date: 19 Sep 2006 00:54:03 -0700
Ignacio Machin ( .NET/ C# MVP ) wrote:
Why ?
This will seriusly hamper the performance/scalability of both the DB and
the
app
So, should i connect each time i want to launch a query (only insert
queries i'm performing)?
YES !!
Ok, i changed this - my code is now much more simplified!
Now question - after performing insert query I'm closing connection,
but my process still exists in SQL Server Activity Monitor (even if i
close my app) with "Sleeping" status. I believe that this is what you
said about functionality of MS SQL (Damm i will order an MS SQL
bible-like book immediatelly!). How long server will keep this process
? Is it good idea to play with such timeouts to improve performance
(App is going to work 24h/day)?
Then second question - I'm using SQL Server authentication instead of
AD one, i think this is better solution for more missions-critical
apps, is it true ? Theoretically even if the whole my network is down
this application will still work (SQL server is on the same PC). What
would you say ?
Thanks in advance for your help!
--
Best regards
Tomasz
.
- Follow-Ups:
- Re: SqlConnection and DB connection failures detection
- From: Tomasz
- Re: SqlConnection and DB connection failures detection
- From: Willy Denoyette [MVP]
- Re: SqlConnection and DB connection failures detection
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: SqlConnection and DB connection failures detection
- References:
- SqlConnection and DB connection failures detection
- From: Tomasz
- Re: SqlConnection and DB connection failures detection
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: SqlConnection and DB connection failures detection
- From: Tomasz
- Re: SqlConnection and DB connection failures detection
- From: Ignacio Machin \( .NET/ C# MVP \)
- SqlConnection and DB connection failures detection
- Prev by Date: Re: Thesaurus Implementation
- Next by Date: Re: How do I know a SqlTransaction status?
- Previous by thread: Re: SqlConnection and DB connection failures detection
- Next by thread: Re: SqlConnection and DB connection failures detection
- Index(es):
Relevant Pages
|