ARTÍCULO
TITULO

A new solution for asynchronous incremental maintenance of materialized views

Nguyen Tran Quoc Vinh    
Le Van Khanh    
Tran Trong Nhan    
Tran Dang Hung    
PW Chandana Prasad    
Abeer Alsadoon    
Pham Duong Thu Hang    

Resumen

Materialized views can help improve query execution speed dramatically using full or part of stored precalculated query results. Incremental maintenance takes materialized views up-to-date adjusting them accordingly to the changes in related base tables. It is often more effective than a full refresh replacing materialized view tables by the new query execution result. Asynchronous maintenance, which brings the materialized views to the actual state, is not a constituent of the transaction making changes in the base tables. Most of the published works are dedicated to synchronous incremental updating of views, algorithms for which require accessing the pre-update state of base tables and cannot be applied directly to asynchronous updates which are performed on the post-update state. A few works are devoted to asynchronous maintenance of views, either restrict changes in only one of base tables or assume there is only one base table, which is impractical, either is wrong, either provides too high level and complex incremental update algorithms or can be implemented only if the database management system supports data versioning at the table and row levels. In this paper, we propose a solution for the asynchronous incremental update of views which can be implemented with any database management systems. We collect changes in base tables, access the pre-update state of base tables exploiting the condensing process and apply the pre-update incremental maintenance algorithms for asynchronous maintenance on the post-update state of base tables considering the specifics of asynchronous maintenance. It is applicable for SPJ queries with inner joins, queries with inner joins and aggregations. We also build a prototype and provide experiments on automatic generating source codes in C to collect changes in base tables and to perform the asynchronous incremental update of materialized views in PostgreSQL

 Artículos similares

       
 
Jiawei Han, Qingsa Li, Ying Xu, Yan Zhu and Bingxin Wu    
Artificial intelligence-generated content (AIGC) technology has had disruptive results in AI, representing a new trend in research and application and promoting a new era of AI. The potential benefits of this technology are both profound and diverse. How... ver más
Revista: Applied Sciences

 
Weiyuan Zhu, Jiaqi Cheng, Yutao Pang, Hongbin An, Junpeng Zou, Jie Ren and Cheng Zhang    
This study proposes a new form of underground diaphragm wall foundation with hexagonal sections, called the grid pile foundation (GPF), which is used for long-span bridges. To investigate the lateral bearing capacity characteristics of the integrated pil... ver más
Revista: Applied Sciences

 
Jaroslaw Kurek, Tomasz Latkowski, Michal Bukowski, Bartosz Swiderski, Mateusz Lepicki, Grzegorz Baranik, Bogusz Nowak, Robert Zakowicz and Lukasz Dobrakowski    
In the evolving realities of recruitment, the precision of job?candidate matching is crucial. This study explores the application of Zero-Shot Recommendation AI Models to enhance this matching process. Utilizing advanced pretrained models such as all-Min... ver más
Revista: Applied Sciences

 
Kjetil Nordby, Jon Erling Fauske, Etienne Gernez and Steven Mallam    
Augmented reality (AR) technology has emerged as a promising solution that can potentially reduce head-down time and increase situational awareness during navigation operations. It is also useful for remote operation centers where video feeds from remote... ver más

 
Jifei Cui, Yanhao Jin, Yingjie Jing and Yu Lu    
An elastoplastic analysis scheme for the cylindrical cavity expansion in offshore islands unsaturated soils considering anisotropy is established. The hydraulic properties and anisotropy caused by stress of unsaturated soils are coupled in an elastoplast... ver más