COSC 5606 Database Management Systems

B-tree index with root, internal and leaf pages

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.

MySQL 8 + WorkbenchMongoDB + CompassIEEE-format project paper

Topics

Inside the engine

  • Relational model, SQL and schema design
  • Storage, pages and B+ tree indexes
  • Query processing and cost-based optimization; reading EXPLAIN plans
  • 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

ActivityWhat students doMaterial
Indexing activityMapleMart'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 assignmentStep-by-step MongoDB work in Compass and the shell, from documents and queries to aggregation pipelines.Tutorial videos
Running on your own machineEvery submission shows the student's own name, ID and email in the output screenshots, so results come from their own setup.All assignments
Group projectA research-style database project with a live demo, presented in week 13 and written up as an IEEE double-column paper.Presentation and report
Without an index the query reads every page; with an index it reads three index pages and fifteen rows
From the indexing activity: without an index MySQL reads about 670 pages and sorts 15 matches; with idx_cust_date it reads three index pages and fifteen rows already in order.