Subject | Re: Next TX #, OAT and Connection Duration? |
---|---|
Author | hugh_borst |
Post date | 2004-01-16T22:50:18Z |
Christian;
database after each DB operation has completed? Or, do you COMMIT
each transaction after the work of each is finished?
Our system relies on the BDE to "Auto-commit" each DB operation after
it has completed, so we do not have any explicit Commit calls,
however, we also don't have any open transactions between DB
operations.
Closing the connection between operations is, I think, quite costly in
terms of both network traffic and DB resources.
Please clarify.
Thanks!
Regards,
Hugh J Borst
> The secret is to surelly close any active transaction after use it.What do you mean precisely? Do you CLOSE your connection to the
> Don't keep any query opened in a non read-only transaction.
database after each DB operation has completed? Or, do you COMMIT
each transaction after the work of each is finished?
Our system relies on the BDE to "Auto-commit" each DB operation after
it has completed, so we do not have any explicit Commit calls,
however, we also don't have any open transactions between DB
operations.
Closing the connection between operations is, I think, quite costly in
terms of both network traffic and DB resources.
Please clarify.
Thanks!
Regards,
Hugh J Borst