Work through the following materials this week, making sure that you can do the given activities.
Chapter 17
Compare and contrast B-trees and B+-trees.
Explain what it means for such a tree to be balanced.
Compare and contrast tree and data pointers.
Explain the nature of multiple-attribute indexes (see the introduction to Section 17.4).
Explain the nature of hash and bitmap indexes (see Sections 17.5.1–2).
Explain the concept of physical database design (PDD).
Compare and contrast the uses for B-tree, hash and bitmap indexes in PDD.
Explain whether denormalization should be considered a form of PDD.
Chapter 18
Explain the concept of query optimization (see the introduction to the chapter).
Oracle’s EXPLAIN PLAN
Load the small version of the Internet Movie DB defined in the repo (cs342/databases/imdb
),
configure the auto-trace facility in SQL*Plus (SET SERVEROUTPUT ON;
& SET
AUTOTRACE ON;
) and generate an execuation plan for some simple query. What is the execution
plan operation used and what does that operation do?
Explain at least the following operations (see Oracle Execution Plan Operations).
For Oracle’s reference documentation, see Database Performance Tuning Guide, particularly the “Using EXPLAIN PLAN” section. Note that the text also explains these operations conceptually in Chapter 18.