首页> 外国专利> Systems and methods for avoiding database anomalies when maintaining constraints and indexes in presence of snapshot isolation

Systems and methods for avoiding database anomalies when maintaining constraints and indexes in presence of snapshot isolation

机译:在存在快照隔离的情况下维护约束和索引时避免数据库异常的系统和方法

摘要

A system and method avoids anomalies in presence of data manipulation language (DML) plans maintaining dependent objects and snapshot isolation. An anomaly due to using a snapshot isolation level within the transaction is detected within a database transaction and the transaction is aborted based upon that detection. Involved in making the anomaly detection is determining whether a view of particular data accessed during the transaction under a snapshot isolation view to ensure read consistency differs from a view of the data under another isolation level, such as the read committed isolation level. Then a detection is made that an anomaly may occur if it is determined that the view of the data accessed during the transaction under the snapshot isolation differs from the view of the data under the other isolation level. Such anomaly avoidance prevents an indexed view being maintained nor a referential integrity constraint validated based on incorrect data.
机译:一种系统和方法避免了在存在维护相关对象和快照隔离的数据操作语言(DML)计划的情况下出现异常的情况。在数据库事务中检测到由于在事务中使用快照隔离级别而导致的异常,并且基于该检测中止了事务。参与异常检测的过程是确定在快照隔离视图下确保在事务处理期间访问特定数据的视图是否与另一隔离级别(例如已读提交隔离级别)下的数据视图不同。然后,如果确定在快照隔离下的事务期间访问的数据视图与其他隔离级别下的数据视图不同,则会检测到可能发生异常。这样的异常避免会阻止维护索引视图,也不会防止基于不正确的数据验证参照完整性约束。

著录项

  • 公开/公告号US7653665B1

    专利类型

  • 公开/公告日2010-01-26

    原文格式PDF

  • 申请/专利权人 STEFANO STEFANI;WEI XIAO;

    申请/专利号US20040940891

  • 发明设计人 STEFANO STEFANI;WEI XIAO;

    申请日2004-09-13

  • 分类号G06F12/00;

  • 国家 US

  • 入库时间 2022-08-21 18:48:42

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号