
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!

2
ย Will be graded this weekend ย Sample solution will be available at your demo
ย Comprehensive (everything up to todayโs lecture, with emphasis on the second half of the course, and materials exercised in homework assignments) ย Open book, open notes ย Same format as sample final exam
3
ย Relational model/algebra โ physical data independence ย Entity-relationship design ย Design theory (FDโs, MVDโs, 3NF, BCNF, 4NF) โ help eliminate redundancy ย SQL ย NULL and three-value logic โ nifty feature, big mess ย Bag versus set semantics ย SFW (or SPJ) queries, subqueries, grouping and aggregation ย Modifications ย Constraints โ the more you know the better you can do ย Triggers (ECA) โ โactiveโ data ย Views โ logical data independence ย Indexes โ reintroduce redundancy to improve performance ย Transactions and isolation levels
4
ย XPath: (branching) path expressions (with conditions) ย XQuery: FLWR, subqueries in return (restructuring), quantified expressions, aggregation, ordering ย XSLT: structural recursion with templates
ย Tables vs. hierarchies (or graphs in general) ย Storing XML as relations
5
ย Record layout (handling variable-length fields, NULLโs) ย Block layout (NSM, PAX) โ inter-/intra-record locality
ย Primary versus secondary indexes ย Tree-based indexes: ISAM, B+^ -tree ย Text indexes: inverted lists, signature files, tries โ Again, reintroduce redundancy to improve performance โ Fundamental trade-off: query versus update cost
6
ย Scan-based algorithms ย Sort- and hash-based algorithms (and their duality) ย Index-based algorithms ย Pipelined execution with iterators
ย Heuristics: push selections down; smaller joins first โ Reduce the size of intermediate results ย Cost-based
7