Skip to main content
Skip header

Database systems II

* Exchange students do not have to consider this information when selecting suitable courses for an exchange stay.

Course Unit Code460-2059/01
Number of ECTS Credits Allocated6 ECTS credits
Type of Course Unit *Compulsory
Level of Course Unit *First Cycle
Year of Study *Second Year
Semester when the Course Unit is deliveredSummer Semester
Mode of DeliveryFace-to-face
Language of InstructionCzech
Prerequisites and Co-Requisites
PrerequisitiesCourse Unit CodeCourse Unit Title
460-2056Database Systems I
Name of Lecturer(s)Personal IDName
KRA28prof. Ing. Michal Krátký, Ph.D.
Summary
The main topics of this course are as follows: multi-user access to a DBMS (transactions, locking, transactions in SQL and a host language environment), physical implementation of a DBMS (data structures and algorithms applied in a DBMS) and query evaluation (query evaluation plans, optimization of the query evaluation). These topics will be presented for a DBMS like Oracle and SQL Server. The goal of this course is to provide extended informations about query evaluation. A student will use this knowledge during an implementation of a real information system.
Learning Outcomes of the Course Unit
The goal of this course is to provide extended information to bachelor students about the database technology with respect to the information system creation. Student will be able to implement an information system with complicated data layer using capabilities of modern RDBMS.
Course Contents
Syllabus of lectures:
- Procedural extensions of SQL: PL/SQL, T-SQL, stored procedures, triggers (5 lectures).
- Functional analysis of an information system, design of forms of the user interface (1 lecture).
- Transactions, ACID, log (1 lecture).
- Transactions, concurrency control (2 lectures): locking, versioning, transaction isolation levels.
- Data layer of an information system, object-relational mapping (ORM) (1 lecture): JDBC, ADO.NET.
- Integration of ORM and forms of an application (1 lecture).
- Physical implementation of database systems (1 lecture): query evaluation plan, heap table, index.
- Object-relational data model (1 lecture).

Syllabus of computer exercises:
- Procedural extensions of SQL: PL/SQL, T-SQL (5 exercises).
- Test on procedural extensions of SQL (2 exercises).
- Functional analysis of an information system, design of forms of the user interface (1 exercise).
- Description of nontrivial functions (transactions) using minispecifications (1 exercise).
- Implementation of object-relational mapping (1 exercise).
- Implementation of transactions (1 exercise).
- Integration of ORM and forms of an application (1 exercise).
- Transaction isolation levels (1 exercise).

Project:
- Functional analysis of an information system, design of forms of the user interface.
- Implementation of object-relational mapping.
- Implementation of transactions.
- Integration of ORM and forms of an application.
Recommended or Required Reading
Required Reading:
Garcia-Molina, J.D. Ullman, J.D. Widom. Database Systems: The Complete Book. Prentice Hall, 2001.
S.S. Lightstone, T.J. Teorey, T. Nadeau: Physical Database Design: the database professional's guide to exploiting indexes, views, storage, and more. Morgan Kaufmann, 2007.
* J. Pokorný, I. Halaška: Databázové systémy. 2. vyd. Praha: Vydavatelství ČVUT, 2003. 148 s. ISBN 80-01-02789-9.
* J. Pokorný: Dotazovací jazyky. Karolinum, 2002. 255 s. ISBN 80-246-0497-3.
* C.J. Date: An Introduction to Database Systems. Addison Wesley, 8th Edition, 2003.
* H. Garcia-Molina, J.D. Ullman, J.D. Widom. Database Systems: The Complete Book. Prentice Hall, 2001.
* J. Pokorný: Základy implementace souborů a databází. 1. vyd. Praha: Karolinum, 1997. 196 s. ISBN 80-7184-472-1.
* S.S. Lightstone, T.J. Teorey, T. Nadeau: Physical Database Design: the database professional's guide to exploiting indexes, views, storage, and more. Morgan Kaufmann, 2007.
Recommended Reading:
S.S. Lightstone, T.J. Teorey, T. Nadeau: Physical Database Design: the database professional's guide to exploiting indexes, views, storage, and more. Morgan Kaufmann, 2007.
* M. Krátký, R. Bača: Databázové systémy. http://dbedu.cs.vsb.cz/. leden, 2009.
* J. Pokorný, I. Halaška: Databázové systémy. 2. vyd. Praha: Vydavatelství ČVUT, 2003. 148 s. ISBN 80-01-02789-9.
* J. Pokorný: Dotazovací jazyky. Karolinum, 2002. 255 s. ISBN 80-246-0497-3.
* J. Pokorný: Základy implementace souborů a databází. 1. vyd. Praha: Karolinum, 1997. 196 s. ISBN 80-7184-472-1.
* Dokumentace k SŘBD Oracle
Planned learning activities and teaching methods
Lectures, Tutorials, Experimental work in labs, Project work
Assesment methods and criteria
Task TitleTask TypeMaximum Number of Points
(Act. for Subtasks)
Minimum Number of Points for Task Passing
Credit and ExaminationCredit and Examination100 (100)51
        CreditCredit45 (45)23
                TestLaboratory work15 8
                ProjektSemestral project30 16
        ExaminationExamination55 28