A method and apparatus for transforming queries is provided. A
select-project-join query Q is rewritten into another query that joins a
materialized view M and a subset of the tables from Q not in the common
section portion of Q. The common section may be one-to-many lossless with
respect to the join with the materialized view delta. As compared to
one-to-one rewrites, the one-to-many rewrites described herein provide a
more general class of rewrites.
Un metodo e un apparecchio per le domande di trasformazione è fornito. Una domanda Q di selezion-progetto-un è riscritta in un'altra domanda che unisce una vista attuata m. e un sottoinsieme delle tabelle da Q non nella parte comune della sezione di Q. La sezione comune può essere un-$$$-MOLTO lossless riguardo all'un con il delta attuato di vista. Rispetto alle riscritture di valore univoco, le un-$$$-MOLTE riscritture descritte qui forniscono un codice categoria più generale delle riscritture.