First off happy new year guys.
I have a small but significant query. I'll give a similiar use case but simplified, it does however cover my question.
Let's User A connects to the SQL Server 2000 database and we get a connection from the pool.
User A sets dateformat DMY. Finishes and the connections is released back to the pool.
Use...
I have a webservice that is called by up to 10 clients. The webservice is built up of 7 differnet asmx-pages and have about 100-200 functions in each page.
All those functions are working against a MSSQL2005 or MS SQL2000 database. Some periods of the day its heavy traffic from the clients and it seems like I run out of connections on t...
I'm testing out my application with the hopes of migrating to SQL Server 2008 (From 200). In the SQL Server profiler, I'm seeing
Audit Login
SQL:BatchStarting SELECT .....
SQL:BatchCompleted SELECT .....
Audit Logout
for every single query that is being run. From what I can tell, this means t...
We are having trouble with a Java web application running within Tomcat 6 that uses JDBC to connect to a SQL Server database.
After a few requests, the application server dies and the in the log files we find exceptions related to database connection failures.
We are not using any connection pooling right now and we are using the stand...
Does anyone know the best (or any) way to flush a JDBC connection pool? I can't find anything obvious in the documentation. It appears connection pools aren't meant to ever be deleted.
My current thought is to delete all DataSources from the hash we store them in, which will trigger our code to make new ones. However, my first attemp...
We have a bunch of VB6 apps at our company. We are trying to debug a random SQL timeout error and did a trace with SQL Server Profiler on the Audit Login event. We noticed that the connections were coming in as nonpooled. We use the SQLOLEDB provider with SQL Server 2000 & 2005. I searched the internet and everything I come across says t...
Hi,
is it possible to clear the pool of the current processes' UnsafeAuthenticatedConnectionSharing pool, i.e. close all authenticated pooled connections?
...
Can someone explain what is Connection and Statement Pooling and what is the benefit over unpooled DataSources? I am trying to understand when it is a good idea to use a technology like c3p0 or proxool in a project. I need first to understand what they do and when it interesting to use them. Thank you very much.
...
What's the difference between Pretest existing pooled connections and prestest new connections in websphere 6.1..and which option is best one?
can we enable both options?
...
I'm using MySQL in an ASP.NET project I'm currently working on, I did some tests to test the performance of the MySQL .NET provider but unfortunately I'm not very pleased with the results.
A very simple loop that only opens the connection was 10x faster in SQL Server:
// MySQL
const string CONNECTION_STRING =
"server=localhost;databa...
I'm about to begin my first project with java
Let me tell how I used to handle these things...
So far now, I've been workin on asp with a com+ componente made with VB6.
The component is registered via the com+ administration console with a domain user, something lile my_company_domain\my_app_account
The components reads the configura...
What is the best connection pooling library available for Java/JDBC?
I'm considering the 2 main candidates (free / open-source):
Apache DBCB - http://commons.apache.org/dbcp/
C3P0 - http://sourceforge.net/projects/c3p0
I've read a lot about them in blogs and other forums but could not reach a decision.
Is there any relevant altern...
i Dispose an SqlConnection object, but of of course it isn't really closed. i need closed connection to not hold locks on database objects. How can i prevent closed connections from holding locks?
Explanation of the above sentance for those who don't know:
When you close an ADO or ADO.NET connection, you aren't actually severing the...
When I attempt to set an application role on a SqlConnection with sp_setapprole I sometimes get the following error in the Windows event log...
The connection has been dropped because the principal that opened it subsequently assumed a new security context, and then tried to reset the connection under its impersonated security contex...
I had no luck with this question so I've produced this simple-as-possible-test-case to demonstrate the problem.
In the code below, is it possible to detect that the connection is unusable before trying to use it?
SqlConnection c = new SqlConnection(myConnString);
c.Open(); // creates pool
setAppRole(c); // OK
c.Clo...
We have a program that reads in a stream of input and writes it to the database. There is no user input.
This program is currently running in parallel on both the development and the production server, with the same data as input, writing to different output servers.
On the development server everything is fine; around 30-odd pooled co...
My Java (non-Web) application may have to create Connection Pools of about 200 different Datasources. Yes, all 200 of them connecting to different Databases. Not 200 connections in the pool.
Here are some questions that are bugging me..
1) Should I anticipate major (performance etc. issues?
2) Are there any Non-commercial Java tools ...
sp_reset_connection seems to be called by SQL Server connection pooling, to ensure that connections reused from the pool have most of their settings reset. Does anyone know exactly what it does and doesn't do though?
eg I see from this post that it doesn't reset the transaction isolation level
...
I'm using proxool java connection pool (version 0.9.1). Everything works fine till I reach the maximum connection count. If the maximum connection count is reached proxool immediately throws an SQLExcepion:
java.sql.SQLException: Couldn't get connection because we are at maximum
connection count (n/n) and there are none available
Of ...
Our pool size is set to 600 connections for our web app to our database. However I just got an email from the client saying they are pushing our training course to 4000+ users telling them that they should get it completed by the 27th of this month. Should I up it to 4000?
...