Working through CSC2460 Database Systems Problem Solving 1 strengthened my understanding of how databases process queries under the hood and why system architecture matters for security and maintainability.
Why Operation Order and Domains Matter
Studying Relational Algebra highlighted the difference between procedural query steps and declarative requests. Because each operation—such as selection or projection—outputs an intermediate relation for the next step, reversing the order can drop required attributes and break the query completely. Defining strict attribute domains in full schema syntax (such as enforcing fixed course-code patterns, positive integers, and maximum field lengths) reinforced how clear rules at the schema level prevent invalid data from entering the system.
Two-Tier vs. Three-Tier Architecture
Comparing two-tier and three-tier designs showed how separation of concerns improves real software applications. In a two-tier setup, the client mixes interface display, business rules, and direct database access, creating heavier clients and higher security exposure. Splitting presentation, application logic, and database storage across three tiers allows thin browser clients, centralised rule updates, independent scaling, and an application layer that validates every request before it touches stored data.
Takeaway for Software Development
Seeing how relational theory connects directly to application security and clean architecture changed how I think about backend design—good database engineering is as much about structure, constraints, and clear boundaries as it is about writing queries.