Subject | Re: [firebird-support] Hanged up transactions |
---|---|
Author | Michael Ludwig |
Post date | 2010-12-20T17:06:20Z |
Ramiro Barreca schrieb am 20.12.2010 um 13:55 (-0300):
means?
application requirements. I don't think there is an easy and general
answer.
Michael
> The problem is not with TCP connections, but with FB transactions.As long as the TCP connection is open … Or do you connect by some other
> Some users do use an app and, after a task the app remains open for a
> long time. While it is opened, the transaction appears as STARTED in
> the MON$TRANSACTIONS table and in the stats as the OAT.
means?
> It must be sure that the developer has not perform a commit after theYou could call it a bug in the software.
> query (even selects) or there is a problem whith the connection
> component of the app.
> 1. Is there a parameter for the client connection to use a type ofYou could go with READ COMMITTED if all you ever want to do is read.
> transaction that can handle better this?
> 2. Which on is the better transaction model to use (even forPossibly READ COMMITTED, possibly not. It all depends on your
> selects)?
application requirements. I don't think there is an easy and general
answer.
> 3. Is there a "magic" way of "suggest" developers to handleHave you considered the options presented so far?
> transactions in the right way?
> 4. Can I automate the kill of TCP connections of not committedDidn't someone mention the TCP Keepalive settings? :-)
> transactions so FB server can rollback them to allow the other
> clients continue working?
Michael