Slideshow:
|
|
| Symbol | Name of operator | Operation |
|---|---|---|
| table-scan(R) | Table scan | Reads blocks of the input relation R in - one block at a time. |
| index-scan(R) | Index scan | Reads blocks of the input relation R in using some index on the relation R |
| σcond | Selection | Selects the tuples that satisfies the condition cond |
| πattrs | Projection |
Extracts
the attributes
in attrs from
a tuple
Note: result of π is a bag (possible duplicates !!!) |
| ⋈cond | Theta Join | Joins 2 relations on the condition cond |
| ⋈ | Natural Join | Equi-joins 2 relations on the attributes than have the same name |
| × | Product | Computes the (cartesian) product of 2 relations |
| δ | Duplicate Elmination | Removes the duplicate tuples from a bag of tuples (the result is a set) |
| γL | Grouping | Form gorups of tuples on common attribute values and apply the function L on each group |
| ∪S | Set Union | Computes the set union of 2 sets (no duplicates) |
| ∪B | Bag Union | Computes the bag union of 2 sets (allows duplicates) |
| ∩S | Set Intersection | Computes the set intersection of 2 sets (no duplicates) |
| ∩B | Bag Intersection | Computes the bag intersection of 2 sets (allows duplicates) |
| −S | Set Difference | Computes the set difference of 2 sets (no duplicates) |
| −B | Bag Difference | Computes the bag difference of 2 sets (allows duplicates) |
|
|
|