2.3、读事务(Read Transactions) 我们先来看看SELECT语句执行时锁的状态变化过程,非常简单:一个连接执行select语句,触发一个事务,从UNLOCKED到SHARED,当事...
基于89个网页-相关网页
Because driver maintains connection to both nodes while write transactions are directed to the primary node, read transactions can be directed to either node.
由于驱动程序维护与两个节点的连接,同时写事务被定向到主节点,因此读事务可以定向到任何一个节点。
Read transactions require a consistent view of the data -- meaning if two read transactions are submitted at the same time, they should produce uniform result sets if they select the same data ranges.
读事务需要数据的一致视图 —— 即当同时提交两个读事务时,如果它们选择相同的数据范围,那么应该产生一致的结果集。
应用推荐