Subject | Re: [ib-support] Generator and Triggers with IB6 from Delphi and IBX |
---|---|
Author | Ann W. Harrison |
Post date | 2001-05-18T16:25:58Z |
Christopher P. Boothe wrote:
been working with a company that had their system come to a grinding halt
with just this kind of operation - everybody who stored a record had to
update one particular record - performance degraded geometrically as the
number of users went up.
Regards,
Ann
>I hate having order numbers skip every once in a while when someone cancelsAt 12:14 PM 5/18/2001 -0400, Robert F. Tulloch wrote:
>an entry. Any way to take care of this?
> I didn't like that either. If you like I will send you what I did. If IHow many users have you got beating on that simultaneously? We've just
> remember it
>is an sp which finds the next sequential number, add a record with that
>number then
>returns the number to the call. If you rollback, it cancels the child
>records and
>deletes the one added by the sp. It also handles collisions by waiting
>random length
>of time and trying again. Times out after I think 5 tries.
>
> Works fine.
been working with a company that had their system come to a grinding halt
with just this kind of operation - everybody who stored a record had to
update one particular record - performance degraded geometrically as the
number of users went up.
Regards,
Ann