SlideShare a Scribd company logo
7/2/2024
1
Fundamentals of Database System
Dilla University
College of Engineering and Technology
Department of Computer Science
Introduction
7/2/2024
2
 Data: What is data?
 Facts concerning people, objects, events or other entities.
 Can be in the form of text, graphics, sound and video segments
 They are difficult to interpret or make decisions based on
 Unprocessed, raw facts and can be stored in database
 Information: What is Information?
 Data presented in a form suitable for interpretation.
 Data processed to be useful in decision making.
 Processed data
 Can’t be stored in database
Introduction … cont’d
7/2/2024
3
 Database: What is database?
 An organized collection of logically related data.
 A shared collection of logically interrelated data designed to
meet the varied information needs of an organization.
 A shared collection – can be used simultaneously by many
department and user
 Logically related - comprise the important objects and the
relationships between these objects
 A computerized means of record keeping system
Introduction …. cont’d
7/2/2024
4
A database has the following implicit properties:
 A database represents some aspect of the real world,
sometimes called the mini world or the Universe of Discourse
(UoD).
 Changes to the mini world are reflected in the database.
 A database is a logically coherent collection of data with some
inherent meaning.
 A random assortment of data cannot correctly be referred to as a
database.
 A database is designed, built, and populated with data for a
specific purpose.
Introduction …. cont’d
7/2/2024
5
Course Section Semester Name Rank
MIS 3353 100 Su 01 Kemp Instr
MIS 3353 200 Su 01 Schwarzkopf Assoc P
MIS 3373 200 Su 01 Kemp Instr
MIS 4663 900 Fa 01 Schwarzkopf Assoc P
MIS 4663 901 Fa 01 Van Horn Prof
Data
Introduction … cont’d
7/2/2024
6
 Meta Data: What do we mean by meta data?
 Descriptions of the properties or characteristics of the data,
including data types, field sizes, allowable values, and
documentation
 Data that describes data
 Data about data
 Description of fields
 Display and format instructions
 Structure of files and tables
 Security and access rules
 Triggers and operational rules
Introduction …. cont’d
7/2/2024
7
Metadata
Data Item Value
Name Type Length Min Max Description
Course Char 7 Three digit depart-
ment reference and
4 digit
Section Integer 3 001 900 Section number
Semester Char 10 Semester and year
Name Char 30 Instructor name
Rank Char 10 Instructor rank
Data management approaches
7/2/2024
8
 Data management : keeping your data records
We have three approaches
 Manual Approach
 File-Based Approach
 Database Approach
Manual File Handling Systems
 The primitive and traditional way of information handling
 This may work well if the number of items to be stored is small.
 Includes intensive human labor
 Events and objects are written on files (paper)
 Each of the files containing various kinds of information is labeled and
stored in one or more cabinets
 The cabinets could be kept in safe places for security
Manual File Handling Systems ..cont’d
7/2/2024
9
Limitations of Manual File Handling
 Problem of Data Organization
 Problem of Efficiency
 Prone to error
 Difficult to update, retrieve, integrate
 You have the data but it is difficult to compile the information
 Significant amount of duplication of data
 Cross referencing is difficult
Two computerized approaches evolved to overcome the
limitations of the above approaches
 File based approach  decentralised
 Database approach centralised
7/2/2024
10
 File based systems were an early attempt to computerize the manual
filing system.
 It is a decentralized computerized data handling method i.e. to
develop a program or a number of programs for each different
application.
 Since every application defines and manages its own data, the system
is subjected to serious data duplication problem.
File based Approach
Limitations of File-Based systems
7/2/2024
11
 Data Redundancy (Duplication of data)
 Same data is held by different programs
 Staffsalary(staffno, name, sex, salary)
 Staff(staffno,name,position,sex,dateofb,salary)
 Wasted space (Uncontrolled duplication of data)
 Separation and isolation of data
– Each program maintains its own set of data. Users of one program
may be unaware of potentially useful data held by other programs.
 Limited data sharing- No centralized control of data
 Data Inconsistency and confusion
 Data dependence
 File structure is defined in the program code and is dependent on
the application programming language.
Limitations of File-Based systems .. Cont’d
 Incompatible file formats - Lack of data sharing and availability)
 Programs are written in different languages, and so cannot easily
access each others files.
E.g. Personnel write in C, Payroll writes in COBOL
 Poor Security and administration
 Update Anomalies
 Modification Anomalies
 Deletion Anomalies
 Insertion Anomalies
7/2/2024
12
Database Approach
7/2/2024
13
 Here, a single repository of data is maintained.
 What emerged were the database and database management systems
 Basic Database terminologies
 Enterprise: an organization like library, bank, university, etc.
 Entity: Person, place, thing, or event about which we wish to keep
data
 Attribute (Field): Property of an entity. E.g. Name, age,
telephone, grade, sex, etc.
 Record: A logically connected set of one or more Attributes that
describe a person, place or thing. (Logically related data)
 File: A collection of related records. E.g. Student file
 Relationship: an association among entities (entity records)
 Query: question asked for database
Benefits of Database systems
7/2/2024
14
 Data can be shared: two or more users can access and use.
 Improved data accessibility: By using structured query languages,
the users can easily access data without programming experience.
 Redundancy can be reduced: Isolated data is integrated in
database.
 Quality data can be maintained: the different integrity constraints
in the database approach will maintain the quality leading to better
decision making.
 Inconsistency can be avoided: controlled data redundancy will
avoid inconsistency of the data in the database to some extent.
 Transaction support can be provided: basic demands of any
transaction support systems are implanted in a full scale DBMS.
Benefits of Database systems … cont’d
7/2/2024
15
 Integrity can be maintained: Data at different applications will be
integrated together with additional constraints.
 Security measures can be enforced: The shared data can be secured
by data security mechanisms.
 Improved decision support: the database will provide information
useful for decision making
 Standards can be enforced: ways of using different data by users
 Less Labor: data maintenance will not demand much resource
 Centralized information control: Since relevant data in the
organization will be stored at one repository, it can be controlled and
managed at the central level.
 Data Independence - Applications insulated from how data is
structured and stored
Limitations and risk of database approach
7/2/2024
16
 Introduction of new professional and specialized personnel
 High cost to be incurred to develop and maintain the system
 Complex backup and recovery services from the users
perspective
 High impact on the system when failure occurs to the central
system
Users and Actors of Database System
7/2/2024
17
 Actors on the scene: The people whose jobs involve the day-to-day
use of a large database
 Workers behind the scene: Those who work to maintain the
database system environment, but who are not actively interested in
the database itself.
Actors on the Scene
 Database Administrators
 Database Designers
 End Users
 System Analysts and Application Programmers (Software Engineers)
Database Administrators
7/2/2024
18
 In a database environment, the primary resource is the database itself
and the secondary resource is the DBMS and related software.
 Administering these resources is the responsibility of the Database
Administrator (DBA).
 The DBA is responsible for authorizing access to the database, for
coordinating and monitoring its use, and for acquiring software and
hardware resources as needed.
 The DBA is accountable for problems such as breach of security or
poor system response time.
Database Designer
7/2/2024
19
 Database designers are responsible for identifying the data to be stored
in the database and for choosing appropriate structures to represent and
store this data.
 It is the responsibility of database designers to communicate with all
prospective database users, in order to understand their requirements,
and to come up with a design that meets these requirements.
 In many cases, the designers are on the staff of the DBA and may be
assigned other staff responsibilities after the database design is
completed.
 The final database design must be capable of supporting the
requirements of all user groups.
End Users
7/2/2024
20
 End users are the people whose jobs require access to the database for
querying, updating, and generating reports;
 The database primarily exists for their use. There are several categories
of end users:
 Casual end users:- occasionally access the database. They are
typically middle or high-level managers or other occasional
browsers.
 Naive or parametric end users:- Their main job revolves around
constantly querying and updating the database, using standard types
of queries and updates called canned transactions that have been
carefully programmed and tested.
 Bank tellers check account balances and post withdrawals and deposits
 Reservation clerks for airlines, hotels, and car rental companies check
availability for a given request and make reservations
End Users … Cont’d
7/2/2024
21
 Sophisticated end users: Include engineers, scientists, business
analysts, and others who thoroughly familiarize themselves with
the facilities of the DBMS so as to implement their applications to
meet their complex requirements.
 Stand-alone users: Maintain personal databases by using ready
made program packages that provide easy to use menu or graphics
based interfaces.
 An example is the user of a tax package that stores a variety of
personal financial data for tax purposes.
System Analysts and Application
Programmers (Software Engineers)
7/2/2024
22
 System analysts: Determine the requirements of end users, especially
naive and parametric end users, and develop specifications for canned
transactions that meet these requirements.
 Application programmers implement these specifications as programs;
then they test, debug, document, and maintain these canned
transactions.
 Such analysts and programmers (nowadays called software engineers)
should be familiar with the full range of capabilities provided by the
DBMS to accomplish their tasks.
Workers behind the Scene
7/2/2024
23
 These persons are typically not interested in the database itself.
These include:
 DBMS system designers and implementers:-are persons who
design and implement the DBMS modules and interfaces as a
software package.
 A DBMS is a complex software system that consists of many
components or modules, including modules for implementing the
catalog, query language, interface processors, data access,
concurrency control, recovery, and security.
 The DBMS must interface with other system software, such as the
operating system and compilers for various programming
languages
Workers behind the Scene … cont’d
7/2/2024
24
 Tool developers: Include persons who design and implement tools
 Tools are software packages that facilitate database system design and
use, and help improve performance.
 Tools are optional packages that are often purchased separately.
 They include packages for database design, performance monitoring,
natural language or graphical interfaces, prototyping, simulation, and
test data generation.
 Operators and maintenance personnel: are the system
administration personnel who are responsible for the actual running
and maintenance of the hardware and software environment for the
database system.
Some Common uses of Databases
7/2/2024
25
In a university
 Containing information about a student, the course she/he is enrolled
in, the dormitory she/he has been given.
 Containing details of Staff who work at the university at personnel,
payroll, etc.
In a library
 There may be a database containing details of the books in the library
and details of the users,
 The database system handles activities such as
 Allowing a user to reserve a book
 Notifying when materials are overdue:
Some Common uses of Databases … Cont’d
7/2/2024
26
In travel agencies
 When you make inquiries about a travel, the travel agent may access
databases containing flight details
 Flight no., date, time of departure, time of arrival
Insurance
 When you wish to take out insurance, there is database containing
 Your personal details: name, address, age
 information on whether you drink or smoke,
 Your medical records to determine the cost of the insurance
Supermarkets
 When you buy goods from some supermarkets, a database will be accessed.
 The checkout assistant will run a barcode reader over the purchases.
7/2/2024
27

More Related Content

Similar to Chapter 1 - Introduction to Database Systems.ppt (20)

1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
fikadumola
 
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
Ahmed478619
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
CS_GDRCST
 
Advanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptAdvanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.ppt
BikalAdhikari4
 
Database System Concepts
Database System ConceptsDatabase System Concepts
Database System Concepts
Ranilesh Raveendran
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
Dilawar Khan
 
chapter 1 Introduction to Database Systems Best.pdf
chapter  1 Introduction to Database Systems Best.pdfchapter  1 Introduction to Database Systems Best.pdf
chapter 1 Introduction to Database Systems Best.pdf
Getnet Tigabie Askale -(GM)
 
Presentation and architecture FDBMS Unit-1.pptx
Presentation and architecture FDBMS Unit-1.pptxPresentation and architecture FDBMS Unit-1.pptx
Presentation and architecture FDBMS Unit-1.pptx
tanish782457
 
Information Management unit 3 Database management systems
Information Management unit 3 Database management systemsInformation Management unit 3 Database management systems
Information Management unit 3 Database management systems
Ganesha Pandian
 
data base
data basedata base
data base
Surya Swaroop
 
fundamentals of database and the functions of DBMS
fundamentals of database and the functions of DBMSfundamentals of database and the functions of DBMS
fundamentals of database and the functions of DBMS
roshymansour
 
DBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfd
DBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfdDBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfd
DBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfd
fermanrw
 
Database Management Systems Lecture # 01
Database Management Systems Lecture # 01Database Management Systems Lecture # 01
Database Management Systems Lecture # 01
UsmanJaved520550
 
Chap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptChap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.ppt
LisaMalar
 
Unit-1-Introduction.ppt for the gigachad
Unit-1-Introduction.ppt for the gigachadUnit-1-Introduction.ppt for the gigachad
Unit-1-Introduction.ppt for the gigachad
sanketkashyap6
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 
Chapter 01 Fundamental of Database Management System (DBMS)
Chapter 01  Fundamental of Database Management System (DBMS)Chapter 01  Fundamental of Database Management System (DBMS)
Chapter 01 Fundamental of Database Management System (DBMS)
Abdurehman Mahmud
 
LectDBS_1.pdf
LectDBS_1.pdfLectDBS_1.pdf
LectDBS_1.pdf
MadhusmitaSahu40
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
ChSheraz3
 
DATABASE ADMINISTRATION: Identify Physical Database Requirements
DATABASE ADMINISTRATION: Identify Physical Database RequirementsDATABASE ADMINISTRATION: Identify Physical Database Requirements
DATABASE ADMINISTRATION: Identify Physical Database Requirements
birhanugirmay559
 
1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
fikadumola
 
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
Ahmed478619
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
CS_GDRCST
 
Advanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.pptAdvanced Database Management System_Introduction Slide.ppt
Advanced Database Management System_Introduction Slide.ppt
BikalAdhikari4
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
Dilawar Khan
 
chapter 1 Introduction to Database Systems Best.pdf
chapter  1 Introduction to Database Systems Best.pdfchapter  1 Introduction to Database Systems Best.pdf
chapter 1 Introduction to Database Systems Best.pdf
Getnet Tigabie Askale -(GM)
 
Presentation and architecture FDBMS Unit-1.pptx
Presentation and architecture FDBMS Unit-1.pptxPresentation and architecture FDBMS Unit-1.pptx
Presentation and architecture FDBMS Unit-1.pptx
tanish782457
 
Information Management unit 3 Database management systems
Information Management unit 3 Database management systemsInformation Management unit 3 Database management systems
Information Management unit 3 Database management systems
Ganesha Pandian
 
fundamentals of database and the functions of DBMS
fundamentals of database and the functions of DBMSfundamentals of database and the functions of DBMS
fundamentals of database and the functions of DBMS
roshymansour
 
DBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfd
DBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfdDBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfd
DBMS Lec 1 & 2.pptsdfsdfsfsdfsdfsdfsdfsfd
fermanrw
 
Database Management Systems Lecture # 01
Database Management Systems Lecture # 01Database Management Systems Lecture # 01
Database Management Systems Lecture # 01
UsmanJaved520550
 
Chap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptChap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.ppt
LisaMalar
 
Unit-1-Introduction.ppt for the gigachad
Unit-1-Introduction.ppt for the gigachadUnit-1-Introduction.ppt for the gigachad
Unit-1-Introduction.ppt for the gigachad
sanketkashyap6
 
Unit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 CompleteUnit 1: Introduction to DBMS Unit 1 Complete
Unit 1: Introduction to DBMS Unit 1 Complete
Raj vardhan
 
Chapter 01 Fundamental of Database Management System (DBMS)
Chapter 01  Fundamental of Database Management System (DBMS)Chapter 01  Fundamental of Database Management System (DBMS)
Chapter 01 Fundamental of Database Management System (DBMS)
Abdurehman Mahmud
 
Lecture-1.ppt
Lecture-1.pptLecture-1.ppt
Lecture-1.ppt
ChSheraz3
 
DATABASE ADMINISTRATION: Identify Physical Database Requirements
DATABASE ADMINISTRATION: Identify Physical Database RequirementsDATABASE ADMINISTRATION: Identify Physical Database Requirements
DATABASE ADMINISTRATION: Identify Physical Database Requirements
birhanugirmay559
 

More from Shemse Shukre (10)

Chapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhj
Chapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhjChapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhj
Chapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhj
Shemse Shukre
 
Chapter-Three Part One.pptxghgjhhjghjhjhhj
Chapter-Three Part One.pptxghgjhhjghjhjhhjChapter-Three Part One.pptxghgjhhjghjhjhhj
Chapter-Three Part One.pptxghgjhhjghjhjhhj
Shemse Shukre
 
Chapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuo
Chapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuoChapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuo
Chapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuo
Shemse Shukre
 
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjgChapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Shemse Shukre
 
Chapter 1 - Introduction to Emerging Technologies (2).pptx
Chapter 1 - Introduction to Emerging Technologies (2).pptxChapter 1 - Introduction to Emerging Technologies (2).pptx
Chapter 1 - Introduction to Emerging Technologies (2).pptx
Shemse Shukre
 
Chapter 6 - Intermediate Languages.pptxjfjgj
Chapter 6 - Intermediate Languages.pptxjfjgjChapter 6 - Intermediate Languages.pptxjfjgj
Chapter 6 - Intermediate Languages.pptxjfjgj
Shemse Shukre
 
Chapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhklj
Chapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhkljChapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhklj
Chapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhklj
Shemse Shukre
 
Chapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkj
Chapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkjChapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkj
Chapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkj
Shemse Shukre
 
Chapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgk
Chapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgkChapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgk
Chapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgk
Shemse Shukre
 
Chapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.pptChapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.ppt
Shemse Shukre
 
Chapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhj
Chapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhjChapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhj
Chapter-Seven.pptxhmhjmhjkhjkhjkljlhjkhjkhj
Shemse Shukre
 
Chapter-Three Part One.pptxghgjhhjghjhjhhj
Chapter-Three Part One.pptxghgjhhjghjhjhhjChapter-Three Part One.pptxghgjhhjghjhjhhj
Chapter-Three Part One.pptxghgjhhjghjhjhhj
Shemse Shukre
 
Chapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuo
Chapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuoChapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuo
Chapter-Three - Part Two.pptxyuyuyuyuyuyuyuyuyuyuo
Shemse Shukre
 
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjgChapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Chapter-Six.pptxhyjhgjghjghjghjghjghjghjghjg
Shemse Shukre
 
Chapter 1 - Introduction to Emerging Technologies (2).pptx
Chapter 1 - Introduction to Emerging Technologies (2).pptxChapter 1 - Introduction to Emerging Technologies (2).pptx
Chapter 1 - Introduction to Emerging Technologies (2).pptx
Shemse Shukre
 
Chapter 6 - Intermediate Languages.pptxjfjgj
Chapter 6 - Intermediate Languages.pptxjfjgjChapter 6 - Intermediate Languages.pptxjfjgj
Chapter 6 - Intermediate Languages.pptxjfjgj
Shemse Shukre
 
Chapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhklj
Chapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhkljChapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhklj
Chapter 5 - Type Cheaking.pptxkgjkh,lhj,lghjhklj
Shemse Shukre
 
Chapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkj
Chapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkjChapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkj
Chapter 2 Introduction.pptxhj,jjk,jk,l,l,l,l,l,lhjkj
Shemse Shukre
 
Chapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgk
Chapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgkChapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgk
Chapter 1 Introduction.pptxhjgjghjghjhjhjhgjmjkhgk
Shemse Shukre
 
Chapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.pptChapter 1 - Concepts for Object Databases.ppt
Chapter 1 - Concepts for Object Databases.ppt
Shemse Shukre
 

Recently uploaded (20)

Search Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website SuccessSearch Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website Success
muneebrana3215
 
Types of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo SlidesTypes of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo Slides
Celine George
 
Exploring Identity Through Colombian Companies
Exploring Identity Through Colombian CompaniesExploring Identity Through Colombian Companies
Exploring Identity Through Colombian Companies
OlgaLeonorTorresSnch
 
Uterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managmentUterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managment
Ritu480198
 
LDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College VolumeLDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College Volume
LDM & Mia eStudios
 
Pragya Champion's Chalice 2025 Set , General Quiz
Pragya Champion's Chalice 2025 Set , General QuizPragya Champion's Chalice 2025 Set , General Quiz
Pragya Champion's Chalice 2025 Set , General Quiz
Pragya - UEM Kolkata Quiz Club
 
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo SlidesHow to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
Celine George
 
Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..
faizanaltaf231
 
"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx
Arshad Shaikh
 
Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...
EduSkills OECD
 
How to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guidesHow to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guides
Celine George
 
How to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time OffHow to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time Off
Celine George
 
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
SweetytamannaMohapat
 
Swachata Quiz - Prelims - 01.10.24 - Quiz Club IIT Patna
Swachata Quiz - Prelims - 01.10.24 - Quiz Club IIT PatnaSwachata Quiz - Prelims - 01.10.24 - Quiz Club IIT Patna
Swachata Quiz - Prelims - 01.10.24 - Quiz Club IIT Patna
Quiz Club, Indian Institute of Technology, Patna
 
Writing Research Papers: Guidance for Research Community
Writing Research Papers: Guidance for Research CommunityWriting Research Papers: Guidance for Research Community
Writing Research Papers: Guidance for Research Community
Rishi Bankim Chandra Evening College, Naihati, North 24 Parganas, West Bengal, India
 
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
0b - THE ROMANTIC ERA: FEELINGS AND IDENTITY.pptx
Julián Jesús Pérez Fernández
 
LDMMIA Free Reiki Yoga S7 Weekly Workshops
LDMMIA Free Reiki Yoga S7 Weekly WorkshopsLDMMIA Free Reiki Yoga S7 Weekly Workshops
LDMMIA Free Reiki Yoga S7 Weekly Workshops
LDM & Mia eStudios
 
Order Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptxOrder Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptx
Arshad Shaikh
 
K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910
PankajRodey1
 
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
Arshad Shaikh
 
Search Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website SuccessSearch Engine Optimization (SEO) for Website Success
Search Engine Optimization (SEO) for Website Success
muneebrana3215
 
Types of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo SlidesTypes of Actions in Odoo 18 - Odoo Slides
Types of Actions in Odoo 18 - Odoo Slides
Celine George
 
Exploring Identity Through Colombian Companies
Exploring Identity Through Colombian CompaniesExploring Identity Through Colombian Companies
Exploring Identity Through Colombian Companies
OlgaLeonorTorresSnch
 
Uterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managmentUterine Prolapse, causes type and classification,its managment
Uterine Prolapse, causes type and classification,its managment
Ritu480198
 
LDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College VolumeLDMMIA About me 2025 Edition 3 College Volume
LDMMIA About me 2025 Edition 3 College Volume
LDM & Mia eStudios
 
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo SlidesHow to Manage Orders in Odoo 18 Lunch - Odoo Slides
How to Manage Orders in Odoo 18 Lunch - Odoo Slides
Celine George
 
Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..Cloud Computing ..PPT ( Faizan ALTAF )..
Cloud Computing ..PPT ( Faizan ALTAF )..
faizanaltaf231
 
"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx"Hymenoptera: A Diverse and Fascinating Order".pptx
"Hymenoptera: A Diverse and Fascinating Order".pptx
Arshad Shaikh
 
Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...Stewart Butler - OECD - How to design and deliver higher technical education ...
Stewart Butler - OECD - How to design and deliver higher technical education ...
EduSkills OECD
 
How to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guidesHow to Setup Lunch in Odoo 18 - Odoo guides
How to Setup Lunch in Odoo 18 - Odoo guides
Celine George
 
How to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time OffHow to Create Time Off Request in Odoo 18 Time Off
How to Create Time Off Request in Odoo 18 Time Off
Celine George
 
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
IDSP(INTEGRATED DISEASE SURVEILLANCE PROGRAMME...
SweetytamannaMohapat
 
LDMMIA Free Reiki Yoga S7 Weekly Workshops
LDMMIA Free Reiki Yoga S7 Weekly WorkshopsLDMMIA Free Reiki Yoga S7 Weekly Workshops
LDMMIA Free Reiki Yoga S7 Weekly Workshops
LDM & Mia eStudios
 
Order Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptxOrder Lepidoptera: Butterflies and Moths.pptx
Order Lepidoptera: Butterflies and Moths.pptx
Arshad Shaikh
 
K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910K-Circle-Weekly-Quiz-May2025_12345678910
K-Circle-Weekly-Quiz-May2025_12345678910
PankajRodey1
 
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
"Orthoptera: Grasshoppers, Crickets, and Katydids pptx
Arshad Shaikh
 

Chapter 1 - Introduction to Database Systems.ppt

  • 1. 7/2/2024 1 Fundamentals of Database System Dilla University College of Engineering and Technology Department of Computer Science
  • 2. Introduction 7/2/2024 2  Data: What is data?  Facts concerning people, objects, events or other entities.  Can be in the form of text, graphics, sound and video segments  They are difficult to interpret or make decisions based on  Unprocessed, raw facts and can be stored in database  Information: What is Information?  Data presented in a form suitable for interpretation.  Data processed to be useful in decision making.  Processed data  Can’t be stored in database
  • 3. Introduction … cont’d 7/2/2024 3  Database: What is database?  An organized collection of logically related data.  A shared collection of logically interrelated data designed to meet the varied information needs of an organization.  A shared collection – can be used simultaneously by many department and user  Logically related - comprise the important objects and the relationships between these objects  A computerized means of record keeping system
  • 4. Introduction …. cont’d 7/2/2024 4 A database has the following implicit properties:  A database represents some aspect of the real world, sometimes called the mini world or the Universe of Discourse (UoD).  Changes to the mini world are reflected in the database.  A database is a logically coherent collection of data with some inherent meaning.  A random assortment of data cannot correctly be referred to as a database.  A database is designed, built, and populated with data for a specific purpose.
  • 5. Introduction …. cont’d 7/2/2024 5 Course Section Semester Name Rank MIS 3353 100 Su 01 Kemp Instr MIS 3353 200 Su 01 Schwarzkopf Assoc P MIS 3373 200 Su 01 Kemp Instr MIS 4663 900 Fa 01 Schwarzkopf Assoc P MIS 4663 901 Fa 01 Van Horn Prof Data
  • 6. Introduction … cont’d 7/2/2024 6  Meta Data: What do we mean by meta data?  Descriptions of the properties or characteristics of the data, including data types, field sizes, allowable values, and documentation  Data that describes data  Data about data  Description of fields  Display and format instructions  Structure of files and tables  Security and access rules  Triggers and operational rules
  • 7. Introduction …. cont’d 7/2/2024 7 Metadata Data Item Value Name Type Length Min Max Description Course Char 7 Three digit depart- ment reference and 4 digit Section Integer 3 001 900 Section number Semester Char 10 Semester and year Name Char 30 Instructor name Rank Char 10 Instructor rank
  • 8. Data management approaches 7/2/2024 8  Data management : keeping your data records We have three approaches  Manual Approach  File-Based Approach  Database Approach Manual File Handling Systems  The primitive and traditional way of information handling  This may work well if the number of items to be stored is small.  Includes intensive human labor  Events and objects are written on files (paper)  Each of the files containing various kinds of information is labeled and stored in one or more cabinets  The cabinets could be kept in safe places for security
  • 9. Manual File Handling Systems ..cont’d 7/2/2024 9 Limitations of Manual File Handling  Problem of Data Organization  Problem of Efficiency  Prone to error  Difficult to update, retrieve, integrate  You have the data but it is difficult to compile the information  Significant amount of duplication of data  Cross referencing is difficult Two computerized approaches evolved to overcome the limitations of the above approaches  File based approach  decentralised  Database approach centralised
  • 10. 7/2/2024 10  File based systems were an early attempt to computerize the manual filing system.  It is a decentralized computerized data handling method i.e. to develop a program or a number of programs for each different application.  Since every application defines and manages its own data, the system is subjected to serious data duplication problem. File based Approach
  • 11. Limitations of File-Based systems 7/2/2024 11  Data Redundancy (Duplication of data)  Same data is held by different programs  Staffsalary(staffno, name, sex, salary)  Staff(staffno,name,position,sex,dateofb,salary)  Wasted space (Uncontrolled duplication of data)  Separation and isolation of data – Each program maintains its own set of data. Users of one program may be unaware of potentially useful data held by other programs.  Limited data sharing- No centralized control of data  Data Inconsistency and confusion  Data dependence  File structure is defined in the program code and is dependent on the application programming language.
  • 12. Limitations of File-Based systems .. Cont’d  Incompatible file formats - Lack of data sharing and availability)  Programs are written in different languages, and so cannot easily access each others files. E.g. Personnel write in C, Payroll writes in COBOL  Poor Security and administration  Update Anomalies  Modification Anomalies  Deletion Anomalies  Insertion Anomalies 7/2/2024 12
  • 13. Database Approach 7/2/2024 13  Here, a single repository of data is maintained.  What emerged were the database and database management systems  Basic Database terminologies  Enterprise: an organization like library, bank, university, etc.  Entity: Person, place, thing, or event about which we wish to keep data  Attribute (Field): Property of an entity. E.g. Name, age, telephone, grade, sex, etc.  Record: A logically connected set of one or more Attributes that describe a person, place or thing. (Logically related data)  File: A collection of related records. E.g. Student file  Relationship: an association among entities (entity records)  Query: question asked for database
  • 14. Benefits of Database systems 7/2/2024 14  Data can be shared: two or more users can access and use.  Improved data accessibility: By using structured query languages, the users can easily access data without programming experience.  Redundancy can be reduced: Isolated data is integrated in database.  Quality data can be maintained: the different integrity constraints in the database approach will maintain the quality leading to better decision making.  Inconsistency can be avoided: controlled data redundancy will avoid inconsistency of the data in the database to some extent.  Transaction support can be provided: basic demands of any transaction support systems are implanted in a full scale DBMS.
  • 15. Benefits of Database systems … cont’d 7/2/2024 15  Integrity can be maintained: Data at different applications will be integrated together with additional constraints.  Security measures can be enforced: The shared data can be secured by data security mechanisms.  Improved decision support: the database will provide information useful for decision making  Standards can be enforced: ways of using different data by users  Less Labor: data maintenance will not demand much resource  Centralized information control: Since relevant data in the organization will be stored at one repository, it can be controlled and managed at the central level.  Data Independence - Applications insulated from how data is structured and stored
  • 16. Limitations and risk of database approach 7/2/2024 16  Introduction of new professional and specialized personnel  High cost to be incurred to develop and maintain the system  Complex backup and recovery services from the users perspective  High impact on the system when failure occurs to the central system
  • 17. Users and Actors of Database System 7/2/2024 17  Actors on the scene: The people whose jobs involve the day-to-day use of a large database  Workers behind the scene: Those who work to maintain the database system environment, but who are not actively interested in the database itself. Actors on the Scene  Database Administrators  Database Designers  End Users  System Analysts and Application Programmers (Software Engineers)
  • 18. Database Administrators 7/2/2024 18  In a database environment, the primary resource is the database itself and the secondary resource is the DBMS and related software.  Administering these resources is the responsibility of the Database Administrator (DBA).  The DBA is responsible for authorizing access to the database, for coordinating and monitoring its use, and for acquiring software and hardware resources as needed.  The DBA is accountable for problems such as breach of security or poor system response time.
  • 19. Database Designer 7/2/2024 19  Database designers are responsible for identifying the data to be stored in the database and for choosing appropriate structures to represent and store this data.  It is the responsibility of database designers to communicate with all prospective database users, in order to understand their requirements, and to come up with a design that meets these requirements.  In many cases, the designers are on the staff of the DBA and may be assigned other staff responsibilities after the database design is completed.  The final database design must be capable of supporting the requirements of all user groups.
  • 20. End Users 7/2/2024 20  End users are the people whose jobs require access to the database for querying, updating, and generating reports;  The database primarily exists for their use. There are several categories of end users:  Casual end users:- occasionally access the database. They are typically middle or high-level managers or other occasional browsers.  Naive or parametric end users:- Their main job revolves around constantly querying and updating the database, using standard types of queries and updates called canned transactions that have been carefully programmed and tested.  Bank tellers check account balances and post withdrawals and deposits  Reservation clerks for airlines, hotels, and car rental companies check availability for a given request and make reservations
  • 21. End Users … Cont’d 7/2/2024 21  Sophisticated end users: Include engineers, scientists, business analysts, and others who thoroughly familiarize themselves with the facilities of the DBMS so as to implement their applications to meet their complex requirements.  Stand-alone users: Maintain personal databases by using ready made program packages that provide easy to use menu or graphics based interfaces.  An example is the user of a tax package that stores a variety of personal financial data for tax purposes.
  • 22. System Analysts and Application Programmers (Software Engineers) 7/2/2024 22  System analysts: Determine the requirements of end users, especially naive and parametric end users, and develop specifications for canned transactions that meet these requirements.  Application programmers implement these specifications as programs; then they test, debug, document, and maintain these canned transactions.  Such analysts and programmers (nowadays called software engineers) should be familiar with the full range of capabilities provided by the DBMS to accomplish their tasks.
  • 23. Workers behind the Scene 7/2/2024 23  These persons are typically not interested in the database itself. These include:  DBMS system designers and implementers:-are persons who design and implement the DBMS modules and interfaces as a software package.  A DBMS is a complex software system that consists of many components or modules, including modules for implementing the catalog, query language, interface processors, data access, concurrency control, recovery, and security.  The DBMS must interface with other system software, such as the operating system and compilers for various programming languages
  • 24. Workers behind the Scene … cont’d 7/2/2024 24  Tool developers: Include persons who design and implement tools  Tools are software packages that facilitate database system design and use, and help improve performance.  Tools are optional packages that are often purchased separately.  They include packages for database design, performance monitoring, natural language or graphical interfaces, prototyping, simulation, and test data generation.  Operators and maintenance personnel: are the system administration personnel who are responsible for the actual running and maintenance of the hardware and software environment for the database system.
  • 25. Some Common uses of Databases 7/2/2024 25 In a university  Containing information about a student, the course she/he is enrolled in, the dormitory she/he has been given.  Containing details of Staff who work at the university at personnel, payroll, etc. In a library  There may be a database containing details of the books in the library and details of the users,  The database system handles activities such as  Allowing a user to reserve a book  Notifying when materials are overdue:
  • 26. Some Common uses of Databases … Cont’d 7/2/2024 26 In travel agencies  When you make inquiries about a travel, the travel agent may access databases containing flight details  Flight no., date, time of departure, time of arrival Insurance  When you wish to take out insurance, there is database containing  Your personal details: name, address, age  information on whether you drink or smoke,  Your medical records to determine the cost of the insurance Supermarkets  When you buy goods from some supermarkets, a database will be accessed.  The checkout assistant will run a barcode reader over the purchases.