首页> 外国专利> Enforcing currency and consistency constraints in database query processing

Enforcing currency and consistency constraints in database query processing

机译:在数据库查询处理中实施货币和一致性约束

摘要

Currency and consistency requirements are specified as part of a query against a database that may contain replicated data that is updated asynchronously and therefore may not be completely up to date. The database system constructs query execution plans that include an input selection operator that verifies the currency of a replica and selects a subplan using the replica for execution only when the replica meets the query's currency constraints. It checks possible query execution plans at construction time against the query's consistency constraints and any plans that may produce a result not meeting the consistency constraints are rejected. In this way, the query result is guaranteed to satisfy the query's currency and consistency requirements.
机译:在对数据库的查询中指定了货币和一致性要求,该数据库可能包含异步更新的复制数据,因此可能不是最新的。数据库系统构造查询执行计划,该查询执行计划包括输入选择运算符,该输入选择运算符验证副本的货币,并仅在副本满足查询的货币约束时才使用副本选择子计划以执行。它在构造时对照查询的一致性约束检查可能的查询执行计划,并且可能会产生不符合一致性约束的结果的任何计划都将被拒绝。这样,可以保证查询结果满足查询的货币和一致性要求。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号