




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





University of Maryland, College Park
*Adapted from Joe Hellerstein’s Notes (http://redbook.cs.berkeley.edu/redbook3/lecs.html)
Shrink the impedance mismatch for app programmers Semantically richer data models New language features (e.g. complex programming)
Storage and querying over complex data types Many applications: web servers, text collections, time-series data, GIS, image DB
Query RDBMS ORDBMS No Query File System OODBMS Simple Data Complex Data
http://pgsqld.active-venture.com/xtypes.html http://pgsqld.active-venture.com/xoper-example.html http://pgsqld.active-venture.com/xaggr.html
B+-Trees can be used for any object that supports a set of functions Similarly, hashing can be used if H(key) is supported Requirements, different data types, selectivities all stored in relations GiST!
The hardest part for access methods Recall that concurrency/recovery highly customized for B+-Trees Somewhat okay if you only physical logging Otherwise, can expose some of the API
Allows extending data types as well as queries A single data structure that can handle many different index structures
An index structure partitions the input data hierarchically GiST associates a “predicate” with each subtree, that is true for all data items in the subtree Nodes contain between kM to M entries where 2 /M ≤ k ≤ 1 /2 (except root) Leaf nodes: (p, ptr) ptr: pointer to actual record p: predicate satisfied by the record Non-leaf nodes: (p, ptr) ptr: pointer to another node p: predicate satisfied by all records in the subtree below
Consistent(E, q): given a E = (ptr , p), might q be satisfied by some tuple in the tree below ptr Union: Find new keys Compress, Decompress: used for compressing the keys Required to implement common optimizations Penalty, PickSplit: Used for deciding where to insert a new object, and how to split a page if needed Very similar to R-Trees
Different types of trees; Visualization; Concurrency Indexability theory Formalisms for analysis: different types of inefficiencies etc...