IPT Logotipo do IPT

Ano Letivo: 2022/23

Engenharia Informática

Databases II

<< back to Curriculum Plan

Publication in the Diário da República: Despacho n.º16228/2009 - 15/07/2009

6 ECTS; 2º Ano, 2º Semestre, 28,0 T + 42,0 PL + 5,0 OT + 5,0 O , Cód. 911918.

Lecturer
- António Casimiro Teixeira Batista (2)
- José Casimiro Nunes Pereira (1)(2)

(1) Docente Responsável
(2) Docente que lecciona

Prerequisites
Knowledge of modeling Databases is mandatory.

Objectives
a) identify and describe the physical aspects of a database;
b) carry out transactions in databases;
c) identify and describe data recovery and backup structures
d) identify and choose user permissions
e) define and implement mechanisms for automating a database: procedures, functions, triggers and events
f) define and implement replication of a database
g) define storage and optimization parameters for relational databases

Program
1. Database administration
Installation of a DBMS
Start and stop of a DBMS
Database import and export

2. Physical aspects of a database
Types of structures
Tablespaces and files
Data blocks, extents and segments
Storage of records in blocks
Indexes
Groupings
Clustering indices

3. Transactions and concurrency control
Transaction Concept
Transaction recovery and savepoints
SQL commands for transaction management
Processing transactions in a DBMS
Rollback segments
Fault tolerance
Competition and consistency
Blocks
Impasses

4. Privileges and security
User management
Backups
Replication
Fault tolerance

5. SQL as part of a procedural language
Exception Handling
Parameterized commands
Procedures
Functions
Triggers
Events

6. Query Optimization
The EXPLAIN command
Execution plans

Evaluation Methodology
Exam (85%) and Practical Work (15%).

Bibliography
- Batista, A. e Pereira, J. (2012). Apontamentos de Material de Apoio. (Vol. 1). Tomar: edição de autor
- Date, C. (2003). An Introduction to Database Systems. (Vol. 8th.). .: Addison Wesley
- Elmasri, R. e Navathe, S. (2010). Fundamentals of Database Systems. (Vol. 6th.). .: Addison Wesley
- Gouveia, F. (2014). Fundamentos de Bases de Dados. (Vol. 1st.). Lisboa: FCA - Editora de Informática, Lda

Teaching Method
Lectures, tutorials and laboratory classes.

Software used in class
MySQL
MySQL Workbench

 

 

 


<< back to Curriculum Plan
NP4552
Financiamento
KreativEu
erasmus
catedra
b-on
portugal2020
centro2020
compete2020
crusoe
fct
feder
fse
poch
portugal2030
poseur
prr
santander
republica
UE next generation
Centro 2030
Lisboa 2020
Compete 2030
co-financiado