Академический Документы
Профессиональный Документы
Культура Документы
Introduction to Databases
OBJECTIVES:
Introduction to databases and main features.
Introduction to database management system, its functionalities and
components.
Data Gathering.
Data Processing.
Data Storage.
Data Elaboration and Presentation.
3
A database is a collection of
structured data
DBMS Components
Data definition
Data manipulation
Data management
Management tools
10
Application 1
Application 2
Application 3
External schemas
Data
independence
Logical schema
(specification)
DBMS
Security Control
Internal schema
(implementation)
Global
integration of
the systems
information
Reconstruction
DB
Persistence
OS
Commands and dataflows
DBMS look-ups 11
to the
data definition
Example
Administrations
Perspective
Courses
1B
Subject
Code
Dep.
Lect.
Lab
AD1
DSIC
Anlisis matemtico I
AM1
DMA
Fundamentos de computadores
FCO
DISCA
4.5
4.5
Introduccin a la programacin
IP
DSIC
1.5
1.5
Matemtica discreta
MAD
DMA
AD2
DSIC
----------
----
----
----
---12
Example
Administrations
Perspective
Lecturers
Departament
Code
DSIC
LBP
3545
JCP
3222
PMG
3412
MRC
3675
DISCA
-----
Name
Tel.
------
----------
-------
------
----------
------
13
Example
Administrations
Perspective
Teaching
Term
1
Courses
AD1
IP
1B
Lec.
Lab.
Groups
Groups
Lecturers
Credits
AM1
----
----
----
----
AD2
----
---
----
---14
Example
Departments Perspective
Lecturers
Code
Name
Address
Category
Tel
LBP
Jess 91
TEU
3545
JCP
Olta 23
TEU
3222
PMG
Cuenca 12
TEU
3412
------
----------
------
------
-------
15
Example
Departments Perspective
Appointed courses
Degree School
ITIG
E.I.
Term
1A
Course
Algoritmos y estructuras de datos I
Introduccin a la programacin
----
-----
Code
Lec
Lab
AD1
IP
1.5
1.5
1B
AD2
----
---------------------
----
----
----
16
Example
Departments Perspective
Teaching arrangement by subject
Term
A
Degree School
ITIG
E.I.
Course
AD1
IP
---B
ITIG
E.I.
LecG LabG
2
Lecturers
Credits
----
-----
-----
---------
AD2
----
----
---------
----
----
----
---------
17
Example
Departments Perspective
Mart Garca,Pedro
---
Term
Subject
Degree
School
Credits
IP
ITIG
E.I.
AD1
ITIG
E.I.
IP
ITIG
E.I.
AD1
ITIG
E.I.
---
---
---
--18
Example
Lecturers Perspective
School
Year
Term
Credits
ABD
E*I
3rd
AMD
FI
5th
BDA
E*I
2nd
Extr. Con.
M.Sc.
2
19
Example
LOGICAL SCHEMA
L ecture r
C ourse
T ea ching
Sch ool
D eg ree
D epa rtm en t
C od e
N am e
C od e
N am e
lecturer_id
C od e
A d d ress
Sem
cou rse_id
N am e
T el
L ec
C ategory
L ab
L ecG
D ep
L ab G
D egree
D ep
cred its
H ead
T el
C od e
N am e
S ch ool
C od e
N am e
H ead
T el
20
Example
RELATIONAL DATABASE
Department Relation
Code
DSIC
Name
Sistemas Informticos y Computacin
Head
Tel
Juan Garca
3570
DFA
Fsica Aplicada
Jos Ruz
3540
----
-----
-----
-----
21
Example
RELATIONAL DATABASE
Degree Relation
Code
Name
School
ITIG
E.I.
ITIS
E.I.
Ingeniero Informtico
FI
II
----
-----
-----
22
Example
RELATIONAL DATABASE
School Relation
Code
Name
E.I.
FI
Facultad de Informtica
----
-----
Head
Tel
Pedro Ruiz
3578
Jos Esteban
3776
-----
-----
23
Example
RELATIONAL DATABASE
Lecturer Relation
Code
Name
Address
Tel
Category
Dep
JCP
Olta 23
3222
TEU
DSIC
LBP
Jess 91
3545
TEU
DSIC
PMG
Cuenca 12
3412
TEU
DSIC
----
--------
------
-----
-----
------
24
Example
RELATIONAL DATABASE
Course Relation
Code
Name
Sem
Lec
AD1
Algoritmos y estructuras
de datos I
1A
ITIG
DSIC
Introduccin a la
programacin
1A
1.5
1.5
ITIG
DSIC
AD2
Algoritmos y estructuras
de datos II
1B
--
--
ITIG
DSIC
-----
--------
---
---
---
--
--
---
---
IP
Dep
25
Example
RELATIONAL DATABASE
Teaching Relation
lecturer_id
course_id
credits
JCP
AD1
JCP
IP
LBP
IP
PMG
AD1
---
---
--26
Example
In dex for D egree
PHYSICAL SCHEMA
ITIG
< , , >
-----
In dex for
C ourse
C ourse File
AD 1
AD 2
IP
-----
AD 1 Algoritm os y estructuras
de datos I
IP
Introduccin a la
program acin
1A
2 4 ITIG D SIC
AD 2 Algoritm os y estructuras
de datos II
1B
-----
--------
-- -- ITIG D SIC
---
---
27
Lecturer
Code
Address
Tel
Category
Dep
Code
Name
Address
Tel
Cat
Course
Code
Sem
Lec
Lab
LecG
LabG
Degree
Dep
Code
Name
Sem
Lec
Lab
LecG
LabG
Degree
Teaching
lecturer_id
course_id
credits
lecturer_id
course_id
credits
Course
Code
Name
Sem
Lec
Lab
LecG
LabG
Degree
Dep
Degree
Code
Name
School
Code
Name
School
28
29