CT004-3.5-3
Advanced Database Systems
Chapter-by-chapter study notes, built from the lecture slides. Tap a chapter to open it.
Week 1Entity Relationship Modelling (ERD Recap)Entities, attributes, relationships, cardinality, notation, and resolving many-to-many relationships.Week 2Advanced Data Modelling (EER)Connection traps (fan and chasm), supertypes/subtypes, inheritance, discriminators, and specialization constraints.Week 3SQL: Data Definition & ManipulationSELECT in depth — filtering, sorting, aggregates, grouping, subqueries, joins, EXISTS — plus INSERT, UPDATE and DELETE.Week 4SQL Join TypesInner joins, multi-table joins, how a join is computed, and LEFT / RIGHT / FULL outer joins.Week 5Implementing Stored ProceduresWhat stored procedures are, why they are used, and how to create, alter, drop and parameterize them in T-SQL.Week 6Integrity Constraints & TriggersThe five integrity constraints, referential actions, and DML triggers — AFTER vs INSTEAD OF, inserted/deleted tables.Week 7Database AdministrationTechnological, managerial and cultural aspects; the Data Administrator (DA) vs the Database Administrator (DBA).Week 8Database SecurityThreats and their effects, authorization vs authentication, discretionary access control, GRANT and REVOKE.Week 9Transaction ManagementACID, concurrency problems, serializability, locking and 2PL, and database recovery with logs and checkpoints.Week 10Optimization Strategy: DenormalizationWhen and how to denormalize a relational schema for performance, and the trade-offs involved.Week 11Data Warehouse & OLAPInmon's definition, OLTP vs OLAP, data cubes, and star / snowflake / fact constellation schemas.