Re: Where is the database connection pool locating?




I would add that "different identities" will show up if you use windows
authentication (as opposed to sql authentication).



http://msdn.microsoft.com/en-us/library/8xx3tyca(VS.80).aspx
Pool Fragmentation Due to Integrated Security
Connections are pooled according to the connection string plus the user
identity. Therefore, if you use Basic authentication or Windows
Authentication on the Web site and an integrated security login, you get one
pool per user. Although this improves the performance of subsequent database
requests for a single user, that user cannot take advantage of connections
made by other users. It also results in at least one connection per user to
the database server. This is a side effect of a particular Web application
architecture that developers need to weigh against security and auditing
requirements.



"George" <noemail@xxxxxxxxxxx> wrote in message
news:OFhriPplJHA.4448@xxxxxxxxxxxxxxxxxxxxxxx
1. Connection pool is located on a application server.
database server does not connect to itself.... hence i do not see how it
would keep the pool of connections....

2. Totally did not understand second question.... But may be have an
answer. Connection pool is unique per connection string. If you have same
connection string with the same identity you connecting with you will have
one pool. If you have different connection strings (like diffferent DB) or
different identities then it will be separate connection pools.

George.


"Colin Fu" <vivid1002003@xxxxxxxxx> wrote in message
news:uNOOosolJHA.4252@xxxxxxxxxxxxxxxxxxxxxxx
Where is the database connection pool locating? The application server
memory which runs .net framework or the database server memory?

Another question, if I use the ADO.NET to manage the database connections
with database connection pool, so is the pooling mode is different from
specific databases or just the same?

Thanks in advanced, nice day.:)




.



Relevant Pages

  • Re: How to clear connection pool?
    ... SQLConnection (SQL Server database), the pool size can be configured. ... >> connection problems when 100+ people have been connecting to the ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Oracle Connectivity/Windows Service
    ... OracleConnection probably maintains a connection pool, ... When you restart the database server, ... Does restarting your Windows Service machine help? ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Max pool size reached exception when trying to open a new connection
    ... Private Function GoodDataReaderCode(ByVal dataReader As IDataReader) ... 'The underlying connection to the database remains open and ... prior to obtaining a connection from the pool. ...
    (microsoft.public.dotnet.framework)
  • C# Windows Forms -> Jet 4.0 Access = Slow Performance/File Lock Errors -- Possible Solution
    ... and it's little Jet 4 database for the last few days. ... I got several errors from the Jet engine when there were simultaneous ... Studio open with a connection to the database everything worked fine ... The connection pool will serve ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: HTTP 401.2 - Unauthorized: Logon failed due to...
    ... Try to hardcode a least priviledge local account in your code connection ... the user and puts it into an Access database. ... > The script works fine with the authentication set as "basic ... authentication" but this prompts the user for a login and password. ...
    (microsoft.public.inetserver.iis.security)

Loading