Re: computational model of transactions
- From: "Erwin" <e.smout@xxxxxxxxxxx>
- Date: 4 Aug 2006 00:51:58 -0700
Let's say that you're account starts out with a balance of $550.
At time T1 a transaction is started to post a check for $500.
At time T2 a transaction is started to post a check for $100.
At time T3 a transaction is started to post a check for $75.
At time T4 the $100 transaction completes, recording a balance of $450.
At time T5 the $75 transaction completes, recording a balance of $375.
At time T6 the $500 transaction completes, recording a balance of $-125.
The error is that these transactions are "allowed to run concurrently".
Since each of them wants to update the very same resource (the same
attribute of the same tuple of the same relvar), these transactions
should be serialized anyway.
No two things can be in the same place at the same time.
.
- Follow-Ups:
- Re: computational model of transactions
- From: vc
- Re: computational model of transactions
- From: Brian Selzer
- Re: computational model of transactions
- References:
- computational model of transactions
- From: Marshall
- Re: computational model of transactions
- From: Brian Selzer
- Re: computational model of transactions
- From: vc
- Re: computational model of transactions
- From: Brian Selzer
- computational model of transactions
- Prev by Date: Re: computational model of transactions
- Next by Date: Re: computational model of transactions
- Previous by thread: Re: computational model of transactions
- Next by thread: Re: computational model of transactions
- Index(es):
Relevant Pages
|