Re: MATREADU/MATWRITE statements timing out
- From: "Excalibur" <excalibur21@xxxxxxxxxxx>
- Date: Mon, 26 Nov 2007 01:16:33 GMT
<big snip>>
Peter,Hi Ross
General rules are :
Pessimistic locks for transactions (required for transaction
boundaries anyway)
Optimistic locks for "masterfile updates" (which 'deteriorate' to
field by field comparisons during actual update, when a Pessimitic
locks is exterted whilst the actual update/comparison is done)
Thanks for the response
Are you confirming that the user returns an original unaltered copy and an
altered copy?
That a comparison of original to file copy then takes place and the update
only continues if all is equal.
All updates are done on a field by field comparison.
Seems like there must be better ways to me. One way I have considered is to
issue an update token and only continue if it has not expired for this
record ie a new one has not been issued for the same record.
Regards
Peter McMurray
Whilst on comparisons, the 3rd alternative is that whilst your OLD
record # CURRENT record, your NEW field may = CURRENT field, in which
case all is AOK for 'update' (which doesn't need to take place for
that field)
In Visage we have an option for a manual resolution process that
displays all 3 values, but to date I'm not aware of anyone in the REAL
WORLD ever having seen it (how likely is it that multiple people would
change the same master file information to DIFFERENT values ... and if
they do, then we HAVE to defer to a person to resolve, 'cause there
are just tooooo many variables and not a fact to be found to guide us)
Multi-valued field (for notes) will typically either need some serious
work to identify changes OR may be reworked so that notes are treated
as unique "transactions"
HTH
(Did have a nice BIG response, but accidentally hit "discard" --> that
will teach me to formulate in word first)
.
- Follow-Ups:
- Re: MATREADU/MATWRITE statements timing out
- From: Ross Ferris
- Re: MATREADU/MATWRITE statements timing out
- From: Kevin Powick
- Re: MATREADU/MATWRITE statements timing out
- References:
- MATREADU/MATWRITE statements timing out
- From: mattydp
- Re: MATREADU/MATWRITE statements timing out
- From: Peter McMurray
- Re: MATREADU/MATWRITE statements timing out
- From: mattydp
- Re: MATREADU/MATWRITE statements timing out
- From: Martin Phillips
- Re: MATREADU/MATWRITE statements timing out
- From: mattydp
- Re: MATREADU/MATWRITE statements timing out
- From: Martin Phillips
- Re: MATREADU/MATWRITE statements timing out
- From: Michael Findlay
- Re: MATREADU/MATWRITE statements timing out
- From: Kevin Powick
- Re: MATREADU/MATWRITE statements timing out
- From: Excalibur
- Re: MATREADU/MATWRITE statements timing out
- From: Kevin Powick
- Re: MATREADU/MATWRITE statements timing out
- From: Peter McMurray
- Re: MATREADU/MATWRITE statements timing out
- From: Bill H
- Re: MATREADU/MATWRITE statements timing out
- From: Peter McMurray
- Re: MATREADU/MATWRITE statements timing out
- From: Ross Ferris
- MATREADU/MATWRITE statements timing out
- Prev by Date: Re: MATREADU/MATWRITE statements timing out
- Next by Date: Re: MATREADU/MATWRITE statements timing out
- Previous by thread: Re: MATREADU/MATWRITE statements timing out
- Next by thread: Re: MATREADU/MATWRITE statements timing out
- Index(es):
Relevant Pages
|