而其中逻辑读又分成两种:即时读(current read)和一致性读(consistent read).(1)即时读::即时读就是读取数据块当前的最新数据.
基于124个网页-相关网页
原因:使用UNION代替OR的方法从执行计划上来看,避免了FILTER操作,降低了一致性读(consistent gets),从而提高了SQL的运行效率。
基于120个网页-相关网页
作为数据库内部的逻辑时钟,数据库事务依SCN而排序,Oracle也根据SCN来实现一致性读(Read Consistency)等首要数据库功能。别的对于分布式事务(Distributed Transactions),SCN也极为首要,这里不做更多介绍。
基于40个网页-相关网页
然而,这也是一个成本较高的选择,因为每当您跨集合内容进行迭代时,您就不得不同步所有操作,包括读和写,以此保证一致性。
That's also a costly option, however, because every time you iterate across the contents of the collection, you have to synchronize all operations, including read and write, to ensure consistency.
如果业务要求更高的可用性,并且读一致性不是很重要,那么选择异步可能是更经济的方法。
If the business requires greater availability but read consistency is not a premium, then an asynchronous option may be a more cost-effective approach.
只有部分数据副本参与更新操作,且/或作为读操作的一部分与其它副本进行联系时,就会出现弱/最终一致性。
Weak/eventual consistency happens when not all data replicas participate in the update operation and/or contacted as part of read operation.
应用推荐