Due Date:
This assignment is intended to give students an understanding of the issues involved in processing joins and handling files and buffer areas.
You are required to create and demonstrate a program that implements the block nested loops join algorithm described in Chapter 14 of the textbook. The program should be written in Java. Your implementation should include the following:
Show that your program works for the cases when the small file fits into memory and when it does not. The block size and buffer area sizes should be parameters to your program.
Hand in listings of the source code for the program and all testing. You should also provide external documentation (3 - 5 pages) describing the design of your program, how to locate and use your program, your cost equations and the testing that you performed.
You must make your program files available to the TAs via the turnin program. Marks will be deducted for programs that do not run on the machines in the undergraduate lab.
A marking scheme for the assignment is available.
School of Computing, Queen's University
All contents copyright © 2003, Patrick Martin.
All rights reserved.