| Dave, select 1 from TABLENAME where 1=0 is the heartbeat query. In 5.5 it should run with the execution of each db based action. It selects no rows, returns no rows and the result set is not retrieved so it does not affect performance and ensures the connection is established. The reason for running it with each db action is that if the db goes down during the execution of a taf and fails over to another db server the taf will continue to work. If you are using directDBMS actions then the heartbeat will be run once before your SQL is sent to the server.
Witango Support On 25/01/2006, at 8:46 AM, Dave Machin wrote:
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf |
- Re: Witango-Talk: Select 1 From xxx where 1=0 Customer Support
- Re: Witango-Talk: Select 1 From xxx where 1=0 Dave Machin
- Re: Witango-Talk: Select 1 From xxx where 1=0 Customer Support
- RE: Witango-Talk: Select 1 From xxx where 1=... Peter Dobbs
- Re: Witango-Talk: Select 1 From xxx wher... Robert Garcia
- Re: Witango-Talk: Select 1 From xxx where 1=... Dave Machin
- Re: Witango-Talk: Select 1 From xxx wher... William M Conlon
- Re: Witango-Talk: Select 1 From xxx... Dave Machin
- Re: Witango-Talk: Select 1 From... William M Conlon
- Re: Witango-Talk: Select 1 ... Dave Machin
- Re: Witango-Talk: Select 1 ... William M Conlon
