Re: computational model of transactions



paul c wrote:

Cimode wrote:

paul c wrote:

paul c wrote:

Marshall wrote:

I've been thinking about concurrency and transactions. It occurs to me
that much of the difficulty lies with the fact that multiple concurrent
transactions may operate on the same data. I begin to recall some
conversations from years past about "multiple assignment".

That is the concurrency problem, two cooks in the kitchen. I believe
the term 'transaction' was coined to give a program context for its
updates, ...

Oops, bad choice of words. Should have said "for its results". Doesn't
have to be only updates.

p

Hi paul...;)

Unfortunately, concurrency is not the only issue here...The real
underlying issue here is finding a computational model that does not
jeopardize data integrity on RM standpoint and preserves data
independence between logical and physical layer...It is a very complex
problem that can not be dealt with simplyistic SQL based solutions. I
doubt that any SQL DBMS will be able to deal with it efficiently...not
now, not in a thousand years...


I mentioned SQL only to illustrate because it seems that so many people are familiar with it (or think they are). Lock managers aren't unique to SQL products. Having said that, I think the SQL people hit on the right word with "SERIALIZABLE", assuming we would like a database to have a single value at a point in time. Rather than 'computational model', I think Marshall S is really talking about a 'serializable model', to try to put it exactly.

Marshall's proposal is more severe than serializable. A user would not see his own updates to the database until after committed. With the serializable isolation level, one still sees prior updates within the transaction.

What if one combines multiple logical units of work into a single transaction? I have seen this done for performance in batch processes to faciliate effective physical buffering etc. With Marshall's proposal, this would not be possble.
.



Relevant Pages

  • Re: dataadapter.Update() multiple table update strategies
    ... not much on HOW to submit a massive update to a transaction sproc. ... block with all the needed SQL. ... Am I supposed to not do SQL joins, but instead pull my whole database ... Or should I create multiple data adapters for each SQL table UPDATE I need ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: VB 2005 Insert records into multiple tables
    ... Maybe I wan't clear in my query. ... use transaction scope (but somehow I am unable to do multiple commands in ... use Adon.net transaction ... VB 2005 Prof, SQL server 2005, Windows application ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Table Activity trace Log.
    ... Durby vend wrote: ... > is there a way to keep a log of all transaction for ... (updates that could come from multiple ...
    (microsoft.public.fox.programmer.exchange)
  • Re: database and app server separated by WAN
    ... We generally keep SQL statements on the application server. ... For each transaction the communication occurs multiple times. ...
    (microsoft.public.dotnet.distributed_apps)
  • Table Activity trace Log.
    ... is there a way to keep a log of all transaction for ... (updates that could come from multiple ... modules that performing delete, ...
    (microsoft.public.fox.programmer.exchange)