How mdalmaruf/database-indexing works
This repository is a hands-on MySQL indexing lesson, not an application. The documented workflow takes a slow customer-orders query from diagnosis through indexing and performance comparison. The README describes running SQL in Workbench and interpreting results; the available source excerpts do not show the SQL file or notebook contents, so links to those artifacts are marked unverified where necessary.
Main entry points: README.md Activity guide · Database_Indexing_Activity.sql SQL activity · Database_Indexing_Activity.docx Printable handout · Database_Indexing_Activity.ipynb Notebook version
Components 13
Lesson materials
- Activity guide
README.md - Printable handout
Database_Indexing_Activity.docx - Notebook version
Database_Indexing_Activity.ipynb
Indexing exercise
- SQL activity
Database_Indexing_Activity.sql - Build dataset
README.md - Run slow query
README.md - Inspect query plan
README.md - Add indexes
README.md - Compare performance
README.md
Database runtime
- MySQL server
- Query results
Other components
- Learner
- MySQL Workbench
Connections 17
- Learner → Activity guide: reads
README.md - Learner → MySQL Workbench: runs SQL
README.md - Activity guide → Build dataset: describes
README.md - Activity guide → Run slow query: describes
README.md - Activity guide → Inspect query plan: explains
README.md - Activity guide → Add indexes: guides
README.md - Activity guide → Compare performance: explains
README.md - Activity guide → Printable handout: offers
- Activity guide → Notebook version: offers
- SQL activity → MySQL Workbench: run in
- MySQL Workbench → MySQL server: executes on
README.md - Build dataset → MySQL server: creates data
README.md - Run slow query → MySQL server: queries
README.md - Inspect query plan → MySQL server: inspects plan
README.md - Add indexes → MySQL server: changes indexes
README.md - Compare performance → MySQL server: measures query
README.md - MySQL server → Query results: returns
README.md