Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Left-deep plan, interesting order, cost-based optimiser?

También llamado: left-deep plan · cost-based optimiser · interesting order

Definition 22.7 University Computer Science — Year 3 · Capítulo 22 — Query Processing and Optimisation

A left-deep plan joins one stored relation at a time: every join has a stored relation as its right input. A cost-based optimiser enumerates plans, estimates the cost of each from statistics, and keeps the cheapest. An interesting order is a sort order of an intermediate result that a later operator can use, such as the order on a join column needed by a later sort–merge join.

The sets of relations of a chain query R_1 - R_2 - R_3 - R_4. The dynamic programming fills the shaded sets from the bottom up; the grey ones, on the right, would need a Cartesian product and are skipped. Each line is a join that is costed.
The sets of relations of a chain query R1−R2−R3−R4R_1 - R_2 - R_3 - R_4. The dynamic programming fills the shaded sets from the bottom up; the grey ones, on the right, would need a Cartesian product and are skipped. Each line is a join that is costed.
Leer en el capítulo →