首页> 外国专利> Method and system for incremental database maintenance

Method and system for incremental database maintenance

机译:增量数据库维护的方法和系统

摘要

The present invention is a method and system for incrementally maintaining a database having at least one materialized view based on at least one table. When changes to the table are received, a change table based on the received changes is generated. The generated change table is propagated upwards to form a higher-level change table and the materialized view is updated by applying the higher-level change table to the materialized view using a refresh operation. In one aspect, the change table includes a plurality of tuples representing the changes and the materialized view includes a plurality of tuples. The refresh operation has two parameters, a join condition and an update function specification. The materialized view is updated by finding all tuples in the materialized view that match the tuple in the change table, using the join condition, for each tuple in the change table and updating each found tuple in the materialized view by performing operations indicated by the update function specification.
机译:本发明是一种用于基于至少一个表增量地维护具有至少一个物化视图的数据库的方法和系统。当收到对表的更改时,将基于接收到的更改生成一个更改表。生成的变更表向上传播以形成更高级别的变更表,并通过使用刷新操作将更高级别的变更表应用于实例化视图来更新实例化视图。一方面,变更表包括表示变更的多个元组,并且物化视图包括多个元组。刷新操作具有两个参数,联接条件和更新功能规范。通过对连接表中的每个元组使用联接条件,在物化视图中找到与变更表中的元组匹配的所有元组,并通过执行更新指示的操作来更新物化视图中的每个找到的元组,从而更新物化视图功能说明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号