Incremental refresh of materialized views for many-to-many relationships

   
   

A framework for the incrementally refreshing a materialized view is provided. The materialized view is based on a query that references a projected table and another set of base tables. The query projects the columns of the projected table. To refresh the materialized view, a set of tuples is computed that identify rows to delete, insert, or otherwise modify in the materialized view in order to refresh it. The set of tuples is computed by computing a set of intersections, (1) one for the intersection between the query and the change log of the projected table, and (2) at least one other between the equijoin of the change log for one of the other base tables and the projected table. The query may define an equijoin between the projected table and at least one base table based on equijoin conditions that define a many-to-many relationship or a one-to-many relationship.

Un marco para incremental la restauración de una visión materializada se proporciona. La visión materializada se basa en una pregunta que se refiera a una tabla proyectada y a otro sistema de tablas bajas. La pregunta proyecta las columnas de la tabla proyectada. Para restaurar la visión materializada, un sistema de los tuples se computa que identifican filas para suprimir, para insertar, o para modificarse de otra manera en la visión materializada para restaurarla. El sistema de tuples es computado computando un sistema de intersecciones, (1) una para la intersección entre la pregunta y el registro del cambio de la tabla proyectada, y (2) por lo menos un otro entre el equijoin del registro del cambio para una de las otras tablas de la base y la tabla proyectada. La pregunta puede definir un equijoin entre la tabla proyectada y por lo menos una tabla baja basadas en las condiciones del equijoin que definen una relación múltiple o uno-a-muchos relación.

 
Web www.patentalert.com

< Method and system for inclusion hash joins and exclusion hash joins in relational databases

< Systems and methods for determining semiotic similarity between queries and database entries

> System and method for a dynamically integrated search engine

> System and method for acquisition of related graphical material in a digital graphics album

~ 00104