1

I don't have a database supporting serializable transaction isolation to play with, but I wanted to understand something about it. If I insert a new row into a empty table and then do a select count from the same table within the same transaction; will the result be 0 or 1?

Update: According to this page https://my.vertica.com/docs/4.1/HTML/Master/2887.htm

It also sees the results of updates run within its transaction, even if they have not been committed.

True or false?

4

1 回答 1

0

是的,它会的。

在序列化事务中,您对数据库的看法与您在事务中所做的所有更改一致。

于 2013-10-07T22:05:23.963 回答