Tom Kelliher, CS 318
Apr. 24, 2002
Read 15.1.
Group assignment due beginning of class 5/1: demonstrate that each of your project's tables are in BCNF or 3NF. For any tables that are not in these normal forms, provide a decomposition that is in dependency-preserving BCNF (preferably) or 3NF. Post your demonstration to your group web site.
Access paths: sorting, selection.
Transactions --- Isolation.
Three of many paths:
Preliminaries:
pages and
rows.
pages and
rows.
where A is in Table 1
and B is in Table 2.
The simplest method:
for each tuple t1 in Table 1
for each tuple t2 in Table 2
if t1.A = t2.B
output <t1, t2>
How many pages accesses?
Does the ordering of the tables make a difference?
Page accesses count?
(1 page each needed for inner table input buffer and output buffer.)
Page accesses count?