Subject | Re: [firebird-support] Firebird.log |
---|---|
Author | Ann W. Harrison |
Post date | 2005-09-06T20:36:05Z |
Henner Kollmann wrote:
access data. I would have said update, or delete data, but someone has
just pointed out that you can get conflicts on inserts if you use table
level locking. Sigh. Don't use table level locking unless you need
absolutely serializable results and if you use it, reserve tables when
you start transactions, reserving them in the most exclusive mode the
transaction requires.
start multiple to hang, particularly on a single server. If some of the
transactions were remote, I'd be looking for server or communication
problems.
Regards,
Ann
>Deadlock and locking errors occur after a transaction has tried to
>
> Will this happen during the start of the transaction or later during the
> updates?
access data. I would have said update, or delete data, but someone has
just pointed out that you can get conflicts on inserts if you use table
level locking. Sigh. Don't use table level locking unless you need
absolutely serializable results and if you use it, reserve tables when
you start transactions, reserving them in the most exclusive mode the
transaction requires.
> We have the problem that the call to isc_start_multiple will hangIs it reproducible? In theory, there's nothing that should cause a
> for more than 2 min. After this period i try to close the connection from
> another thread but this needs more than 7 min.
start multiple to hang, particularly on a single server. If some of the
transactions were remote, I'd be looking for server or communication
problems.
Regards,
Ann