All the relational algebra trees we created in the earlier sections of this chapter are of the
form shown in Figure 21.13(a). This type of relational algebra tree is known as a left-deep
( join) tree. The term relates to how operations are combined to execute the query – for
example, only the left side of a join is allowed to be something that results from a previous
join, and hence the name left-deep tree. For a join algorithm, the left child node is the outer
relation and the right child is the inner relation. Other types of tree are the right-deep tree,
shown in Figure 21.13(b), and the bushy tree, shown in Figure 21.13(d) (Graefe and
DeWitt, 1987). Bushy trees are also called non-linear trees, and left-deep and right-deep
trees are known as linear trees. Figure 21.13(c) is an example of another linear tree, which
is not a left- or right-deep tree.
All the relational algebra trees we created in the earlier sections of this chapter are of the
form shown in Figure 21.13(a). This type of relational algebra tree is known as a left-deep
( join) tree. The term relates to how operations are combined to execute the query – for
example, only the left side of a join is allowed to be something that results from a previous
join, and hence the name left-deep tree. For a join algorithm, the left child node is the outer
relation and the right child is the inner relation. Other types of tree are the right-deep tree,
shown in Figure 21.13(b), and the bushy tree, shown in Figure 21.13(d) (Graefe and
DeWitt, 1987). Bushy trees are also called non-linear trees, and left-deep and right-deep
trees are known as linear trees. Figure 21.13(c) is an example of another linear tree, which
is not a left- or right-deep tree.
การแปล กรุณารอสักครู่..