- Department of Software Engineering
Students are introduced to the database engine architecture and typical user roles. They are briefly introduced to various database models. They learn to design small databases (including integrity constraints) using a conceptual model and implement them in a relational database engine. They get a hands-on experience with the SQL language, as well as with its theoretical foundation - the relational database model. They learn the principles of normalizing a relational database schema. They understand the fundamental concepts of transaction processing, controlling parallel user access to a single data source, as well as recovering a database engine from a failure. They are briefly introduced to special ways of storing data in relational databases with respect to speed of access to large quantities of data. This introductory-level course does not cover: Administration of database systems, debugging and optimizing database applications, distributed database systems, data stores.
Common user-level knowledge of Unix/Linux and MS Windows operating systems, ability to describe a solution to a problem algorithmically, and elementary knowledge of algebra and logic are expected. Active knowledge of a specific programming language is not required.
- Syllabus of lectures:
1. Basic principles of database systems, architectures of database management systems.
2. Conceptual, database, and physical level of view of data.
3. Conceptual data model. Basic constructs, expression of integrity constraints.
4. Relational data model. Relation, attributes, domains, relational database schema, relational algebra.
5. Introduction to the SQL language: basics of the SELECT statement, basics of the SQL DDL.
6. Design of a relational scheme by direct transformation from a conceptual scheme.
7. The SQL language - advanced querying: aggregation, nested queries, set operations.
8. The SQL language: parts DCL, DML, TCL.
9. Transactions, error recovery, parallel access coordination, data protection.
10. Functional dependencies, normal forms of relations, normalization of a relational scheme by decomposition.
11. Physical level of view of data. Indexes and their use in relational databases. Basics of SQL query optimization.
12. Nonrelational database models. Trends in databases.
13. Access of applications to a (relational) database. Introduction to the concept of software engineering.
- Syllabus of tutorials:
1. Seminar: Introduction, project assignment.
2. Computer lab: Introduction to the environment and the tools.
3. Seminar: Conceptual data modeling.
4. Computer lab: SQL communication with a database engine, working with a conceptual modeler.
5. Seminar: Conceptual data modeling, relational algebra as a query language.
6. Computer lab: Working on projects, consultations.
7. Seminar: Relational algebra as a query language.
8. Computer lab: Working on projects, consultations.
9. Seminar: SQL.
10. Computer lab: Working on projects, consultations, project checkpoint.
11. Seminar: SQL.
12. Computer lab: Working on projects.
13. Seminar: Normalization of a schema, functional dependencies. Assessments
- Study Objective:
After completing the course, students will be able to design and implement small databases and work with them effectively using the SQL language. Today, knowledge of (relational) databases is a necessary qualification, not just for programmers of information systems and creators of www applications, but for practically all informatics professionals. The course provides hands-on experience with databases that can be directly used in a wide range of situations, as well as theoretical foundations for subsequent courses, such as Database systems administration or specialized database-oriented courses (SQL, Database systems 2) in the second cycle degree programme.
- Study materials:
1. Coronel C., Morris S. : Database Systems: Design, Implementation, and Management (13th Edition). Cengage Learning, 2018. ISBN 978-1337627900.
2. Garcia-Molina H., Ulman D. J., Widom J. : Database systems: The Complete Book (2nd Edition). Pearson Education, 2009. ISBN 978-0131873254.
3. Harrington J.L. : Relational Database Design and Implementation (4th Edition). Morgan Kaufmann, 2016. ISBN 978-0128043998.
4. Pokorný J., Valenta M.: Databázové systémy (2. rozšířené vydání). CVUT Praha, 2020. ISBN 978-80-01-06708-6.
- Further information:
- No time-table has been prepared for this course
- The course is a part of the following study plans:
- Bachelor specialization Information Security, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Management Informatics, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Computer Graphics, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Computer Engineering, in Czech, 2021 (compulsory course in the program)
- Bachelor program, unspecified specialization, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Web Engineering, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Artificial Intelligence, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Computer Science, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Software Engineering, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Computer Systems and Virtualization, in Czech, 2021 (compulsory course in the program)
- Bachelor specialization Computer Networks and Internet, in Czech, 2021 (compulsory course in the program)