COSC 5606 Database Management Systems

Algoma University · Winter 2026 (W01) and Fall 2026 · Graduate
How databases really answer a query
A graduate course on the internals of database systems: how a query is planned and executed, why an index makes it fast, how transactions stay correct under concurrency, and when a document store such as MongoDB is the better choice. Students measure every claim on a real server rather than taking it on trust.
Topics
Inside the engine
- Relational model, SQL and schema design
- Storage, pages and B+ tree indexes
- Query processing and cost-based optimization; reading
EXPLAINplans - Transactions, isolation levels, locking and recovery
Beyond one server
- NoSQL and document databases with MongoDB
- Approximate query processing for live dashboards
- Data for machine learning and analytics
- Reading and presenting database research
Activities and assessment
| Activity | What students do | Material |
|---|---|---|
| Indexing activity | MapleMart's "My orders" page is slow on Black Friday. Students find out why with EXPLAIN, then add single, composite and covering indexes and measure a roughly hundredfold speedup, including when an index does not help and what it costs on writes. | Database-Indexing |
| NoSQL assignment | Step-by-step MongoDB work in Compass and the shell, from documents and queries to aggregation pipelines. | Tutorial videos |
| Running on your own machine | Every submission shows the student's own name, ID and email in the output screenshots, so results come from their own setup. | All assignments |
| Group project | A research-style database project with a live demo, presented in week 13 and written up as an IEEE double-column paper. | Presentation and report |

idx_cust_date it reads three index pages and fifteen rows already in order.