编程语言
首页 > 编程语言> > PHP-串行对等

PHP-串行对等

作者:互联网

有人可以清楚地向我解释什么是串行等效性吗?我看了一下,但似乎找不到真正含义的清晰定义?

我目前的理解是,交易顺序在哪里无所谓,因为它们在顺序上是等价的,并且结果是相同的?如果正确无误,请解释其实际含义.

解决方法:

其中之一应执行以下操作:

Used in DISTRIBUTED SYSTEM technology to describe the effect that a number of parallel or nested TRANSACTIONS have on the state of such a system. When such transactions are carried out their effect is said to be serially equivalent if the state of the system is the same as if they were carried out sequentially.

来源:http://oxfordindex.oup.com/view/10.1093/oi/authority.20110803100455897?rskey=KQEjV6&result=0&q=serial%20equivalence

Two transactions are serial if all the
operations in one transaction precede
the operations in the other.

来源:http://www.it.uom.gr/teaching/distrubutedSite/dist-sys/ds-node220.html

We say that an interleaving of two
blocks is serially equivalent, if the
result is equivalent to an execution
in which one block was executed
entirely before the other.

来源:http://www.itu.dk/courses/INP/E2001/Materiale/Concurrency/www/p3.php

另外,请参阅第6页的底部以及本PDF文档的进一步内容:
http://www.it.uu.se/edu/course/homepage/distsys/Slides/lecture7.pdf

特别要看一下PDF文档和第3个链接中给出的示例.

标签:computer-science,transactions,mysql,php,database
来源: https://codeday.me/bug/20191208/2091179.html