GLOSSARY
Query Processing
Activities involved in retrieving data from the database: SQL query translated
into low-level language for implementing relational algebra query execution.
Query Optimization
Selection of an efficient query execution plan
Embedded Query
When there is an embedded query, the query does not have to come through
the Query Parser, Query Optimizer, Code Generator, and the Query Processor
each time.
Nested-loop joins (brute force)
For each record t in R (outer loop), retrieve every records from S (inner loop)
and test whether the two records satisfy the join condition t[A] = s[B].
Binary Search
If the selection condition involves an equality comparison on a key attribute on
which the file is ordered.