Databases - PowerPoint PPT Presentation

About This Presentation
Title:

Databases

Description:

Alpe Adria Master Course :: Medical Informatics :: Dr. D. Hristovski: Databases ... Alpe Adria Master Course :: Medical Informatics :: Dr. D. Hristovski: ... – PowerPoint PPT presentation

Number of Views:13
Avg rating:3.0/5.0
Slides: 30
Provided by: DimitarHr2
Category:
Tags: alpe | databases

less

Transcript and Presenter's Notes

Title: Databases


1
Databases
Dimitar Hristovski, Ph.D.E-mail
dimitar.hristovski_at_mf.uni-lj.si Institute of
Biomedical InformaticsMedical FacultyUniversity
of Ljubljana, Slovenia
2
Motivation
  • Technological foundation for numerous biomedical
    applications electronic medical record,
    healthcare information systems, ...
  • Personal level data entry and maintenance
    (during academic education and later) master
    degrees, Ph.D., research projects...
  • Useful elsewhere as well
  • Banks
  • Insurances
  • Government institutions

3
Computer Supported Data System
  • Computer supported data system system for
    manipulation and processing of data, has four
    components
  • Human user
  • Program
  • Data
  • Computer

4
Computer Supported Data System
5
Data Revolution
  • First period the computer is the major
    component.
  • Second period software revolution, the programs
    (software) becomes the major component.
  • Third period data revolution, data becomes the
    central component.

6
Data as the Central Component
7
Database - Definitions
  • Database is a model of an organization, which is
    used as a basis for decision making and action
    planning.
  • Database is a set of logically related data,
    stored in a computer system, the access to which
    is centralized and possible through a database
    management system (DBMS).
  • Database is a mechanized, multi-user, formally
    defined and centrally maintained collection of
    data.

8
Database Management
  • Data is the foundation upon which the entire
    functioning of an organization is based.
    Therefore, just as any other important resource,
    data should be carefully managed, which includes
  • Providing data availability
  • Control of data usage

9
Providing Data Availability
  • Efficient access
  • Of all users
  • Concurrently
  • To all types of data
  • All the time (24 x 7 x 365)

10
Control of Data Usage
  • Data integrity
  • Database backup and recovery
  • Control of concurrent data access (transactions,
    commit, rollback)
  • Data entry control and validation
  • Using data according to their intended purpose
  • Understanding the meaning of the data
  • Access only to allowed data (based on type of
    user)

11
Database Organization
  • In a more general sense, the database consists
    of
  • Data
  • Users and user programs
  • Database administrator
  • Database management system (specialized piece of
    software)

12
Types of Databases from Management Point of View
  • Centralized database
  • Distributed database

13
Database Users
  • Direct users
  • Non-programmers (menu guided users, query
    language users, )
  • Programmers (query language users, application
    programmers, system programmers, database
    administrator, )
  • Indirect users

14
The Data Part of a Database
  • Physical database the values of the data
    elements
  • Meta-database descriptions of the physical
    data
  • How is the data stored in permanent memory?
  • What is the meaning of the data?
  • How is the data accessible to the users?

15
Meta-Database
  • Has three level architecture
  • External schema
  • User view model of organization as seen by a
    particular type of user (e.g. physician, nurse,
    accountant, )
  • Conceptual schema
  • Global organization model
  • Internal schema
  • Collection of logical records

16
Data Independence
  • Changes of one schema should not have influence
    on another schema.
  • Physical data independence
  • Logical data independence

17
Data Models
  • A particular schema is described using a
    structured description mechanism data model,
    also known as data description language.

18
Data Model Types
  • Surface
  • Relational
  • Network
  • Hierarchical
  • Object-relational
  • Deep
  • Entity-relationship
  • ...

19
Entity-Relationship Models
  • Entity any concrete or abstract object or event
    in a organization or its environment, that we are
    modeling (the real world) (e.g. Patient, Test,
    Student, ...)
  • Attribute a characteristic of an entity
    something we want to know about the entity (e.g.
    Entity Patient Attributes Name, Last Name,
    Sex, Date of birth, ...)
  • Values attribute values (e.g. NameJanez,
    SexM, )
  • Relationship meaningful relation between
    entities (e.g. Exam relationship between
    entities Student and Course)

20
Student Administration Office Entity-Relation
Diagram
21
Simplified Hospital Data Model
22
Relational Table Example - Patients
23
Patients Table Structure
24
Table - Tests
25
Table (Relationship) - Results
26
Screen Form Patients and Results
27
Query-by-Example (QBE)
28
Equivalent SQL Statement
29
SQL (Structured Query Language)
  • Create create an object (table, view, index, )
  • Update one or more records
  • Insert one or more records
  • Delete one or more records
  • Select search for data the result is a table
Write a Comment
User Comments (0)
About PowerShow.com