26
File Systems and Databases Chapter 1 Introduction

File Systems and Databases

  • Upload
    aderes

  • View
    31

  • Download
    0

Embed Size (px)

DESCRIPTION

Chapter 1 Introduction. File Systems and Databases. Class Format. Lectures MUBS e-learning platform Class discussions and presentations Grading Course works Test10% Class Project 20% Final Exam 70% (80% practical). The mediocre teacher tells. The good teacher explains. - PowerPoint PPT Presentation

Citation preview

Page 1: File Systems and Databases

File Systems and Databases

Chapter 1 Introduction

Page 2: File Systems and Databases

Lectures MUBS e-learning platform Class discussions and presentations

Grading Course works

◦ Test 10%◦ Class Project 20%◦ Final Exam 70% (80% practical)

Class Format

Page 3: File Systems and Databases

The mediocre teacher tells.

The good teacher explains.

The superior teacher demonstrates.

The great teacher inspires.

Page 4: File Systems and Databases

File: A collection of records or documents dealing with one organization, person, area or subject (Rowley)◦ Manual (paper) files◦ Computer files

Database: A collection of similar records with relationships between the records (Rowley)◦ Bibliographic, statistical, business data, images,

etc.

Files and Databases

Page 5: File Systems and Databases

Major Database Concepts◦Data and information

Data - Raw facts

Information - Processed data

◦Data management

◦Database

◦Metadata

◦Database management system (DBMS)

Introducing the DatabaseIntroducing the Database

Page 6: File Systems and Databases
Page 7: File Systems and Databases
Page 8: File Systems and Databases
Page 9: File Systems and Databases

Types of Database Systems◦ Number of Users

Single-user Desktop database

Multiuser Workgroup database Enterprise database

◦ Scope Desktop Workgroup Enterprise

Database SystemsDatabase Systems

Page 10: File Systems and Databases

Types of Database Systems◦ Location

Centralized Distributed

◦ Use Transactional (Production) Decision support Data warehouse

Database Systems

Page 11: File Systems and Databases

A Database is a collection of stored operational data used by the application systems of some particular enterprise (C.J. Date)◦ Paper “Databases”

Still contain a large portion of the world’s knowledge◦ File-Based Data Processing Systems

Early batch processing of (primarily) business data◦ Database Management Systems (DBMS)

Database

Page 12: File Systems and Databases

History◦ 50’s and 60’s all applications were custom built

for particular needs◦ File based◦ Many similar/duplicative applications dealing with

collections of business data◦ Early DBMS were extensions of programming

languages◦ 1970 - E.F. Codd and the Relational Model◦ 1979 - Ashton-Tate and first Microcomputer DBMS

Why DBMS?

Page 13: File Systems and Databases

Problems with file processing systems◦ Inconsistent data◦ Inflexibility◦ Limited data sharing◦ Poor enforcement of standards◦ Excessive program maintenance

From File Systems to DBMS

Page 14: File Systems and Databases

Minimal data redundancy Consistency of data Integration of data Sharing of data Ease of application development Uniform security, privacy, and integrity

controls Data accessibility and responsiveness Data independence Reduced program maintenance

DBMS Benefits

Page 15: File Systems and Databases

Data independence◦ Physical representation and location of data and

the use of that data are separated The application doesn’t need to know how or where

the database has stored the data, but just how to ask for it

Moving a database from one DBMS to another should not have a material effect on application program

Recoding, adding fields, etc. in the database should not affect applications

Terms and Concepts

Page 16: File Systems and Databases

Database Environment

CASE Tools

DBMS

UserInterface

ApplicationPrograms

Repository Database

Page 17: File Systems and Databases

Database Components

DBMS===============

Design toolsTable CreationForm CreationQuery CreationReport Creation

Procedural language

compiler (4GL)=============

Run timeForm processorQuery processor

Report WriterLanguage Run time

UserInterface

Applications

ApplicationPrograms

Database

Database contains:User’s DataMetadataIndexesApplication Metadata

Page 18: File Systems and Databases

PC databases Centralized database Client/server databases Distributed databases Database models

Types of Database Systems

Page 19: File Systems and Databases

PC Databases

E.g.:AccessFoxProDbaseEtc.

Page 20: File Systems and Databases

Centralized Databases

Central Computer

Page 21: File Systems and Databases

Client Server Databases

NetworkClient

Client

Client

DatabaseServer

Page 22: File Systems and Databases

Distributed Databases

computercomputer

computer

Location A

Location CLocation B

HomogeneousDatabases

Page 23: File Systems and Databases

Distributed Databases

Local Network

DatabaseServer

Client

Client

CommServer

Remote Comp.

Remote Comp.

HeterogeneousOr FederatedDatabases

Page 24: File Systems and Databases
Page 25: File Systems and Databases
Page 26: File Systems and Databases