Redirigiendo al acceso original de articulo en 23 segundos...
ARTÍCULO
TITULO

A solution for synchronous incremental maintenance of materialized views based on SQL recursive query

Nguyen Tran Quoc Vinh    
Dang Thanh Hao    
Pham Duong Thu Hang    
Abeer Alsadoon    
PW Chandana Prasad    
Nguyen Viet Anh    

Resumen

Materialized views are excessively stored query execution results in the database. They can be used to partially or completely answer queries which will be further appeared instead of re-executing query from the scratch. There is a large number of published works that address the maintenance, especially incremental update, of materialized views and query rewriting for using those ones. Some of them support materialized views based on recursive query in datalog language. Although most of datalog queries can be transferred into SQL queries and vise versa but it is not the case for recursive queries. Recursive queries in the data log try to find all possible transitive closures. Recursive queries in SQL (Common Table Expression ? CTE) return direct links but not transitive closures. In this paper, we propose efficient methods for incremental update of materialized views based on CTE; and then propose an algorithm for generating source codes in C language for any input SQL recursive queries. The synthesized source codes implement our proposed incremental update algorithms according to inserted/deleted/updated record set in the base tables. This paper focuses mainly on the recursive queries whose execution results are directed tree-structured data. The two cases of tree node are considered. In the first case, a child node has only one parent node and in the second case, a child node can have many parent nodes. Those two cases represent the two types of relationships between entities in real world, that are one?to?many and many?to?many, respectively. For the one?to?many relationships, the relationship data is accompanied with the records describing the child using some fields. Those fields are set as null in deleting a concrete relationship. For the many?to?many relationships, it is stored in a separate table and the concrete relationships are removed by deleting describing records from that table. Considering of enforcing referential integrity may help to reduce the searching space and therefore, help to improve the performance. However, the set of tree nodes or tree edges can be manipulated. All those combinations lead to different algorithms. The experimental results are provided and discussed to confirm the effectiveness of our proposed methods

 Artículos similares

       
 
Andrei Gorchakov     Pág. 1 - 5
When developing parallel methods for solving many numerical methods for solving applied problems, in particular the branch-and-bound method, the problem of load balancing arises. The choice of implementation options at the moment has been proposed quite ... ver más

 
Cosmin Copot, Cristina I. Muresan, Manuel Beschi and Clara M. Ionescu    
In this work, we present a synchronous co-simulation of a 6DOF (six degree of freedom) ball and plate platform and its 3D computer model. The co-simulation in the virtual environment is intended to mimic the rendezvous between a cargo vehicle such as the... ver más
Revista: Applied Sciences

 
Zhuo Liu, Tianhao Tang, Azeddine Houari, Mohamed Machmoum and Mohamed Fouad Benkhoris    
This paper firstly adopts a fault accommodation structure, a five-phase permanent magnet synchronous generator (PMSG) with trapezoidal back-electromagnetic forces, in order to enhance the fault tolerance of tidal current energy conversion systems. Meanwh... ver más

 
Tomasz Kossowski and Lukasz Matuszewski    
This article presents the results of experimental tests of a measuring system dedicated to the study of lightning phenomena. A wireless non-real-time communication arrangement was used as a prototype to protect the system by overvoltage and electromagnet... ver más
Revista: Applied Sciences

 
Nguyen Tran Quoc Vinh,Le Van Khanh,Tran Trong Nhan,Tran Dang Hung,PW Chandana Prasad,Abeer Alsadoon,Pham Duong Thu Hang     Pág. 6 - 13
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.... ver más