Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion test connection
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mkleehammer  
View profile  
 More options Jun 1 2010, 11:22 pm
From: mkleehammer <mkleeham...@gmail.com>
Date: Tue, 1 Jun 2010 20:22:58 -0700 (PDT)
Local: Tues, Jun 1 2010 11:22 pm
Subject: Re: test connection
If you are using Windows, ODBC connection pooling should do this
automatically for SQL Server.  (That is, I believe the SQL Server
driver checks connections when requested from the ODBC pool.)  IIRC,
you should search for "SQLServer" "sp_reset" for more information
about this.

Otherwise, there isn't anything built-in to ODBC, so the thing to do
is to send the fastest message possible from your connection pool
code, something like "SELECT 1" (SQL Server) or "SELECT 1 FROM
DUAL" (Oracle).

If you are using PostgreSQL, I've heard good things about pgbounce
which does this for you.  You conect to pgbounce and it is responsible
for serving good connections.

Not a great answer, I know, but I hope it points you in the right
direction.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.