Docsity

Database Systems: An Introduction to Database Concepts and Applications, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download Database Systems: An Introduction to Database Concepts and Applications and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

Database Systems

Course Description

This is an introductory course to database, its main

aim is to introduce database to students as the heart

of most business applications. The course focuses

on database design, modeling and database

language SQL.

Books:

  • Database Systems, Thomas Connolly & Carolyn Begg, 4th

Edition, ,2008.

Modern Database Management, Jeffrey A. Hoffer, Mary B.

Prescott , null Edition, ,2008.

  • Database Systems Models, Languages, Design, and

Application Programming. 6

th edition, Ramez Elmasri &

Shamkant Navathe.

  • Fundamentals of Database Systems, Elmasri and Navathe

The goal of this chapter is to provide basic

terms and concepts related to Databases.

Chapter 1:

Introduction to Databases

Databases are an essential component of life in

modern society.

We interact with databases in many daily

activates, such as:-

  • Banking transactions: open an account, deposit,

withdraw, transfer, etc.

  • Hotel or airline reservation.
  • E-commerce, buy or sell online.
  • Search for a book in the library.

Why to Study Databases?

Database Definition

A database is a shared collection of logically

related data that is stored to meet the

requirement of different users of an

organizations

Data are known facts about something that can

be recorded.

Some examples of data are:

  • Names
  • Telephone numbers
  • Addresses.

Data are values of some type; integer, float,

string, image, .. Etc.

What is Data?

How to store

those Data?

A Database Management System (DBMS) is

a collection of programs that enables users to

create and maintain a database.

A DBMS is a general purpose software system

that facilitates the processes of defining,

constructing, manipulating, and sharing

databases among various users and

applications.

What is a DBMS?

Typical DBMS Functionality

1. Define a database : in terms of data types,

structures and constraints

2. Construct or Load the Database on a

secondary storage medium

3. Manipulating the database : querying,

generating reports, insertions, deletions and

modifications to its content

4. Concurrent Processing and Sharing by a set

of users and programs – yet, keeping all data

valid and consistent

A Bit About History

Computer initially used for computational/

engineering purpose

Commercial applications introduces File

Processing System

  • The application which involve data processing

as a basic activity rather than computation

File Processing (FPS)

Registration

data File

Library

data File

Library System

Registration

System

Registration

Application

Library

Application

Examination

Examination

Application

Examination

data File

Program data dependence

File Processing (FPS)

Data duplication

  • Waste storage
  • Vulnerable to data inconsistency

Registration

Reg. No

Name

Father Name

Phone

Address

Class

Library

Reg. No

Name

Father Name

Book issued

Fine

Examination

Reg. No

Name

Address

Class

Semester

Grade

Main Characteristics of the Database

Approach

 Self-describing nature of a database system: A

DBMS catalog stores the description of the

database. The description is called meta-data. This

allows the DBMS software to work with different

databases.

 Insulation between programs and data: Called

program-data independence. Allows changing

data storage structures and operations without

having to change the DBMS access programs.

Main Characteristics of the

Database Approach

 Data Abstraction: A data model is used to hide

storage details and present the users with a

conceptual view of the database.

 Support of multiple views of the data: Each user

may see a different view of the database, which

describes only the data of interest to that user.