Forum www.bewet.fora.pl Strona Główna www.bewet.fora.pl
Wszystko o zwierzętach.
 
 FAQFAQ   SzukajSzukaj   UżytkownicyUżytkownicy   GrupyGrupy   GalerieGalerie   RejestracjaRejestracja 
 ProfilProfil   Zaloguj się, by sprawdzić wiadomościZaloguj się, by sprawdzić wiadomości   ZalogujZaloguj 

New Air Max 2011 Dot Net - Connection Pooling - Ca

 
Napisz nowy temat   Odpowiedz do tematu    Forum www.bewet.fora.pl Strona Główna -> Konkursy.
Zobacz poprzedni temat :: Zobacz następny temat  
Autor Wiadomość
mooer8ei8




Dołączył: 11 Kwi 2011
Posty: 59
Przeczytał: 0 tematów

Ostrzeżeń: 0/5
Skąd: England

PostWysłany: Śro 10:15, 20 Kwi 2011    Temat postu: New Air Max 2011 Dot Net - Connection Pooling - Ca

The connection string characterizing an open and matchless link to a data source. Where a dispensed system is held, this involves a network connection. This connection Depends aboard the file source, the programming interface of the assorted connection objects may be differ depends upon which they are build aboard. A connection object is characteristic to a particular type of data source, such as it is different because SQL Server and Oracle and Microsoft Access. Connection objects are not accustom interchangeably cross different data sources, yet always the methods and properties grouped in the IDb Connection interface.
In ADO NET [link widoczny dla zalogowanych], connection objects are implemented within data providers as sealed classes. So a connection level can never be modified alternatively overridden [link widoczny dla zalogowanych], it is just configured through properties and attributes. We can mention that in Ado web all the connection classes patronize connection pooling, though every class may implement in different means. Connection pooling is implicit, so no need to do manually for it provider manages this automatically.
ADO NET pools connections with the same connection or configuration. We can preserve extra than 1 pool, one for each configuration. An interesting note: Connection pooling is utilized by default otherwise specified. If we close and dispose of all connections [link widoczny dla zalogowanych], then there ambition be no pool left in connection pooling.
If we take database connections continuously open tin be perplexing, it can be aid full for applications namely are in constant communication with a database at negating the need to re-open connections. Some database administrators may frown on the train since multiple connections to the database are open. Using connection pooling depends upon obtainable server resources and petition requirements does it actually absence it).
Using connection pooling - Dot Net Interview Questions
Connection pooling is enabled by default. You may override the default behavior with the pooling setting in the connection string. The following SQL Server connection string does not utilize connection pooling:
Data Source=TestServer;Initial Catalog=Northwind;
User ID=Chester;Password=Tester;Pooling=False;
* Max Pool Size: The highest number of connections allowed in the pond. The default amount is 100.
* Min Pool Size: The minimum number of connections allowed in the pool. The default value is zero.
* Enlist: Signals if the Pooler automatically enlists the connection in the institution thread's new transaction environment. The default value is true.


Post został pochwalony 0 razy
Powrót do góry
Zobacz profil autora
Wyświetl posty z ostatnich:   
Napisz nowy temat   Odpowiedz do tematu    Forum www.bewet.fora.pl Strona Główna -> Konkursy. Wszystkie czasy w strefie EET (Europa)
Strona 1 z 1

 
Skocz do:  
Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach

fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2005 phpBB Group
Regulamin