0% found this document useful (0 votes)
4 views19 pages

Relational Database (SQL)

The document outlines the structure and objectives of a course on Relational Database Management Systems (RDBMS), focusing on key concepts such as data processing, data models, and the advantages of using a DBMS. It covers various topics including traditional data storage methods, problems associated with them, and the roles of different users in a DBMS. Additionally, it highlights the architecture of databases and the benefits of implementing a DBMS in managing data effectively.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views19 pages

Relational Database (SQL)

The document outlines the structure and objectives of a course on Relational Database Management Systems (RDBMS), focusing on key concepts such as data processing, data models, and the advantages of using a DBMS. It covers various topics including traditional data storage methods, problems associated with them, and the roles of different users in a DBMS. Additionally, it highlights the architecture of databases and the benefits of implementing a DBMS in managing data effectively.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Relational Database

Management System

ORACLE
Course Structure

Lesson Lesson Description

Lesson 1 Introduction to Database Management Systems

Lesson 2 Data Models

Lesson 3 Object based Logical Model – The ER Model

Lesson 4 Record based Logical Model – The Relational Model

Lesson 5 Best Practices of Logical DB Design

Lesson 6 Normalization

ORACLE
Introduction to
Database Management
Systems

ORACLE
Objectives
In this session, you will learn :

▪ Fundamentals of data processing.


▪ Data Processing Models
▪ Traditional Method of Data Storage
▪ Problems associated with Traditional Approach
▪ Database Management Systems
▪ Types of Databases
▪ Detailed System Architecture of a database
▪ Users of a DBMS
▪ Advantages of a DBMS

ORACLE
Data Processing
▪ Data Processing in an enterprise would consists of activities like:
➢ Data Collection
➢ Recording
➢ Sorting
➢ Classifying
➢ Calculating
➢ Retrieving
➢ Summarizing
➢ Communicating

ORACLE
Data Processing Models
▪ Batch processing:
Transactions are collected in a group & processed together

▪ On-line (interactive) processing:

Transactions are processed as & when they appear

▪ Real-time processing:

It is a parallel time relationship with on-going activity & the information


produced is useful in controlling the current or dynamic activity

ORACLE
Traditional Method of
Data Storage
Loan_Processing Fixed_Deposit_Processing Transaction_Processing
(Application Program) (Application Program) (Application Program)

File System

Customer_Details.dat Customer_Transaction.dat

Customer_Loan.dat

Customer_Fixed_Deposit.dat

ORACLE
Ways of Storing data in files
customer data

4176 Aniruddha Sarkar SBU1

4181 Manoj Saha SBU1

4183 Moushumi Dharchoudhury SBU1

4203 Suryanarayana D.V.S.S. SBU1

4204 Vivek Rai SBU1

Predefined length

ORACLE
Problems:
Traditional Approach
▪ Data Redundancy
▪ Data Inconsistency
▪ Difficulty in Accessing data
▪ Data Isolation
▪ Data Integrity
▪ Atomicity Problem
▪ Concurrent Access anomalies
▪ Security Problems

ORACLE
Database
Management Systems
▪ A database is a collection of logically related data
▪ Data means known facts, which are meaningful and can be recorded
▪ For example:

Address
Book

Hard Disk

ORACLE
Database
Management Systems
▪ Database Management Systems (DBMS) is the software required to
perform the task of maintaining databases

▪ Management of data involves:


➢ Defining structures for data storage
➢ Providing methods for data manipulation, such as adding, editing,
and deleting data
➢ Providing data security against unauthorized access

▪ The main objectives of any DBMS are to:


➢ Provide an efficient and easy way to store, update, and retrieve
data from a database
➢ Manage information about users who interact with the DBMS, and
the tasks that these users can perform on the data

ORACLE
Database
Management Systems
▪ Working of DBMS

User system to
extract information
from the database

Request for Retrieved data


data returned as a result

DBMS

Database

ORACLE
Where does the DBMS fit in?
▪ Position of DBMS

Loan_Processing Fixed_Deposit_Processing Transaction_Processing


(Application Program) (Application Program) (Application Program)

DATA BASE MANAGEMENT SERVICE (DBMS)

File System

Customer_Loan
Customer_Details Customer_Transaction
Customer_Fixed_Deposit

Bank Database

ORACLE
Difference Between File
and DBMS Operations
File system Interface DBMS Interface
End User End User

Application Program Application Program

Interface through Query (SQL)


Interface through high level language SELECT * FROM Customer_Details
READ CUSTOMER_DETAILS-FILE
AT END STOP RUN
DBMS

Operating System Operating System


(Disk Manager, File Manager) (Disk Manager, File Manager)

Customer_Details file Customer_Details table


Customer_Loan file Customer_Loan table

File System (Disk Storage) Database(Disk Storage)

ORACLE
Types of Databases
Telecom Line, LAN Tokyo
Or
Direct Line
Workstation
ATM

Database server

ATM Network

Chicago
Server

Database Server
Database Server Database Server

Melbourne
ATM
Workstation

Workstation

ATM Distributed Database


Centralized Database

ORACLE
Three-layer Architecture
External View / Level External External External
(Individual User View) Schema A Schema B Schema C

Conceptual View / Level Conceptual Schema


(Common User View)

Internal View / Level


(Storage View) Internal Schema

ORACLE
Detailed System Architecture
Mike Graham Jack Justin External View B
External View A
(User) (User) (User) (User)

External External View B


External View A
Schemas
Schemas & mappings
built & maintained by
External / conceptual mapping
the DBA
DBMS
Conceptual view

Conceptual Schema Conceptual view

Conceptual / Internal mapping


Database Administrator
(DBA) Storage
Structure
Definition
(Internal
Schema)
Database ( Internal view)

ORACLE
Users of a DBMS
▪ Database Administrator (DBA)
➢ Managing information contents

➢ Liaison with users

➢ Enforcing security and integrity rules

➢ Strategizing backup & recovery

➢ Monitoring performance

▪ Database designers

▪ Application programmers

▪ End users

ORACLE
Advantages of a DBMS
▪ Data independence

▪ Reduction in data redundancy

▪ Better security

▪ Better flexibility

▪ Effective data sharing

▪ Enforces integrity constraints

▪ Enables backup and recovery

ORACLE

You might also like