SlideShare a Scribd company logo
DATABASE
Prepare by: M.Robeel
Data and
information
3/9/2020Gulab Devi Educational Complex Lahore
2
Data and Information
 Data is a collection of unprocessed items, which
can include text, numbers, images, audio, and
video. Information conveys meaning and is useful
to people.
 for example, computers process several data items
to print information in the form of a cash register
receipt.
 Computers process data into information.
3/9/2020Gulab Devi Educational Complex Lahore
3
Data and Information
3/9/2020Gulab Devi Educational Complex Lahore
4
Database
3/9/2020Gulab Devi Educational Complex Lahore
5
Database
 Database is an organized collection of related
data. The word organized means that data is store
in such a way that user can store, manipulate and
retrieve data easily. The word related means that
database is normally created to store data about a
particular topic. For example , if you create a
database for students, it will contain the data about
students such as Roll No, name, address and other
information about the students
Database
management
system (DBMS)
3/9/2020Gulab Devi Educational Complex Lahore
7
database management
system (DBMS)
With database software, often called a database
management system (DBMS), users create a
computerized database; add, modify, and delete data
in the database; sort and retrieve data from the
database; and create forms and reports from the data
in the database.
Data Integrity
 Most organizations realize that data is one of their
more valuable assets — because data is used to
generate information. Many business transactions
take less time when employees have instant access
to information. To ensure that data is accessible on
demand, an organization must manage and protect
its data just as it would any other resource. Thus, it
is vital that the data has integrity and is kept secure.
The Hierarchy of Data
 Data is organized in layers. In the computer
profession, data is classified in a hierarchy. Each
higher level of data consists of one or more items
from the lower level. For example, a student has an
address, and an address consists of letters and
numbers. Depending on the application and the user,
different terms describe the various levels of the
hierarchy.
The Hierarchy of Data
Fields
 A field name uniquely identifies each field. When
searching for data in a database, you often specify
the field name. Field names for the data in the
Instructor file are Instructor ID, First Name, Last
Name, Extension, Office, and Web Address.
a field
Records
 A record is a group of related fields. For example, a
student record includes a set of fields about one
student.
a record
primary key
 A primary key is a field that uniquely identifies each
record in a file. The data in a primary key is unique
to a specific record. For example, the Customer ID
field uniquely identifies each Customer because no
two Customer can have the same Customer ID.
primary key field
Files
 A data file is a collection of related records stored on
a storage medium such as a hard disk or optical
disc. A Student file at a school might consist of
thousands of individual student records. Each
student record in the file contains the same fields.
Each field, however, contains different data.
Table
 “A table is the primary unit of physical storage for
data in a database.”1 Usually a database contains
more than one table.
A Database with Multiple
Tables
Publishers Books Customers
Authors Inventory Orders
Maintaining Data
 File maintenance refers to the procedures that keep
data current. File maintenance procedures include
adding records to, modifying records in, and deleting
records from a file.
CRUD
 Create new tables and records
 Retrieve record from tables
 Update table definition and record
data
 Delete existing tables and record
File Processing VS
Databases
3/9/2020Gulab Devi Educational Complex Lahore
25
File Processing
 In the past, many organizations exclusively used
file processing systems to store and manage data.
In a typical file processing system, each
department or area within an organization has its
own set of files. The records in one file may not
relate to the records in any other file.
Disadvantages
 Data Redundancy
 Data Inconsistency
 Difficult in accessing Data
 Data Security
 Privacy
 Sharing of Data
 Backup and Recovery
Data Redundancy
 Data Redundancy — Each department or area in an
organization has its own files in a file processing
system. Thus, the same fields are stored in multiple
files. If a file processing system is used at a school,
for example, the Student file and the Student
Schedule file both might store the same students’
names and addresses. Duplicating data in this
manner wastes resources such as storage space and
people’s time. When new students are added or
student data is modified, file maintenance tasks
consume additional time because people must
Difficult in accessing Data
 Often it is difficult to access data stored in separate
files in different departments. Sharing data from
multiple, separate files is a complicated procedure
and usually requires the experience of a computer
programmer.
Data inconsistency
 Data inconsistency is a condition that occurs
between files when similar data is kept in different
formats in two different files. As a result of the
data inconsistency, these files duplicate some
data such as addresses and names,
compromising data integrity.
Data Security, Privacy,
Sharing of Data
 Data Security
is another issue of file systems that create problems
to secure Data.
 Privacy
Privacy is another issue of file systems that create
problems to protect Data from unauthorized access.
 Sharing of Data
in file system sharing of data is not easy because
multiples files have duplicate data and some file have
different data.
Backup and Recovery
 Backup and recovery is also difficult in file system
because Multiples file have same data.
Database Advantages
 Reduced Data Redundancy — Most data items are
stored in only one file, which greatly reduces
duplicate data. demonstrates the differences
between how a file processing application and a
database application might store data.
 Improved Data Integrity — When users modify
data in the database, they make changes to one file
instead of multiple files. Thus, the database
approach increases the data’s integrity by reducing
the possibility of introducing inconsistencies.

Databases
Advantages
3/9/2020Gulab Devi Educational Complex Lahore
34
Database Advantages
 Shared Data — The data in a database environment
belongs to and is shared, usually over a network, by
the entire organization. Organizations that use
databases typically have security settings to define
who can access, add, modify, and delete the data in
a database.
 Easier Access — The database approach allows
nontechnical users to access and maintain data,
providing they have the necessary privileges.
 Reduced Development Time — It often is easier
and faster to develop programs that use the
Data Dictionary
 A data dictionary contains data about each file in
the database and each field within those files. For
each file, it stores details such as the file name,
description, the file’s relationship to other files, and
the number of records in the file.
Data Dictionary
Database models
 A data model consists of rules and standards that
define how the database organizes data. A data
model defines how users view the organization of
the data. It does not define how the operating
system actually arranges the data on the disk. Three
popular data models in use today are relational,
object-oriented, and multidimensional.
Relational Databases Model
 Data are organized into two dimensional tables.
 Tables are related to each other.
 It is the most common model being used today.
Object-Oriented Database
(OODB) Model
 An object-oriented database (OODB) stores data
in objects. An object is an item that contains data,
as well as the actions that read or process the data.
A Student object, for example, might contain data
about a student such as Student ID, First Name,
Last Name, Address, and so on. It also could contain
instructions about how to print a student transcript or
the formula required to calculate a student’s grade
point average. Object-oriented databases have
several advantages compared with relational
databases: they can store more types of data,
Multidimensional Databases
 A multidimensional database stores data in
dimensions. Whereas a relational database is a two-
dimensional table, a multidimensional database can
store more than two dimensions of data. These
multiple dimensions allow users to access and
analyze any view of the database data.

More Related Content

What's hot

Dbms
DbmsDbms
Dbms
07Deeps
 
Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)
umarsajjad18
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
RIAH ENCARNACION
 
Electronic Databases
Electronic DatabasesElectronic Databases
Electronic Databases
Heather Lambert
 
Week 9
Week 9Week 9
Week 9
Joey Pierce
 
Data base management
Data base management Data base management
Data base management
MiXvideos
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT
huma sh
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
Harry Potter
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
Pradnya Saval
 
Best practices data management
Best practices data managementBest practices data management
Best practices data management
Sherry Lake
 
Db lecture 1
Db lecture 1Db lecture 1
Database
DatabaseDatabase
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
Jananath Banuka
 
Bba203 unit 2data processing concepts
Bba203   unit 2data processing conceptsBba203   unit 2data processing concepts
Bba203 unit 2data processing concepts
kinjal patel
 
A Survey on Big Data Analytics
A Survey on Big Data AnalyticsA Survey on Big Data Analytics
A Survey on Big Data Analytics
BHARATH KUMAR
 

What's hot (15)

Dbms
DbmsDbms
Dbms
 
Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)Computer science 2nd year short questions notes (1)
Computer science 2nd year short questions notes (1)
 
Database Concepts and Components
Database Concepts and ComponentsDatabase Concepts and Components
Database Concepts and Components
 
Electronic Databases
Electronic DatabasesElectronic Databases
Electronic Databases
 
Week 9
Week 9Week 9
Week 9
 
Data base management
Data base management Data base management
Data base management
 
DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT DATA RESOURCE MANAGEMENT
DATA RESOURCE MANAGEMENT
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Best practices data management
Best practices data managementBest practices data management
Best practices data management
 
Db lecture 1
Db lecture 1Db lecture 1
Db lecture 1
 
Database
DatabaseDatabase
Database
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
Bba203 unit 2data processing concepts
Bba203   unit 2data processing conceptsBba203   unit 2data processing concepts
Bba203 unit 2data processing concepts
 
A Survey on Big Data Analytics
A Survey on Big Data AnalyticsA Survey on Big Data Analytics
A Survey on Big Data Analytics
 

Similar to Ch # 09 database management system

Building a-database
Building a-databaseBuilding a-database
Building a-database
David Hoen
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
Fraboni Ec
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
Tony Nguyen
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
James Wong
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
Luis Goldster
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
Young Alista
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
Vaibhav Kathuria
 
Data base
Data baseData base
Database basics
Database basicsDatabase basics
Database basics
Imran Chowdhary
 
Dbms
DbmsDbms
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
Nijaz N
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
Gursharan Singh
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
Tamur Iqbal
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.Sivakumar
Sivakumar R D .
 
8.DBMS.pptx
8.DBMS.pptx8.DBMS.pptx
Database Management and it is definition
Database Management and it is definitionDatabase Management and it is definition
Database Management and it is definition
Rashed Barakzai
 
DBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational databaseDBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational database
walaahuluu
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
Rai University
 
Database management system
Database management systemDatabase management system
Database management system
Sayed Ahmed
 

Similar to Ch # 09 database management system (20)

Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Building a-database
Building a-databaseBuilding a-database
Building a-database
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Data base
Data baseData base
Data base
 
Database basics
Database basicsDatabase basics
Database basics
 
Dbms
DbmsDbms
Dbms
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Data base management system
Data base management systemData base management system
Data base management system
 
Database management system by Gursharan singh
Database management system by Gursharan singhDatabase management system by Gursharan singh
Database management system by Gursharan singh
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database - R.D.Sivakumar
Database - R.D.SivakumarDatabase - R.D.Sivakumar
Database - R.D.Sivakumar
 
8.DBMS.pptx
8.DBMS.pptx8.DBMS.pptx
8.DBMS.pptx
 
Database Management and it is definition
Database Management and it is definitionDatabase Management and it is definition
Database Management and it is definition
 
DBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational databaseDBS Theory Week 1 including relationships and relational database
DBS Theory Week 1 including relationships and relational database
 
Mca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbmsMca ii-dbms- u-i-introductory concepts of dbms
Mca ii-dbms- u-i-introductory concepts of dbms
 
Database management system
Database management systemDatabase management system
Database management system
 

More from MuhammadRobeel3

Programming languages
Programming languagesProgramming languages
Programming languages
MuhammadRobeel3
 
Osi model
Osi modelOsi model
Osi model
MuhammadRobeel3
 
Memory management
Memory managementMemory management
Memory management
MuhammadRobeel3
 
Command line interface
Command line interfaceCommand line interface
Command line interface
MuhammadRobeel3
 
Ch # 11
Ch # 11Ch # 11
Ch # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guardsCh # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guards
MuhammadRobeel3
 
Ch # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocolCh # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocol
MuhammadRobeel3
 
Ch # 07 operating system
Ch # 07 operating systemCh # 07 operating system
Ch # 07 operating system
MuhammadRobeel3
 
Ch # 06 storage devices
Ch # 06 storage devicesCh # 06 storage devices
Ch # 06 storage devices
MuhammadRobeel3
 
Ch # 05 input and output devices in computer
Ch # 05 input and output devices in computerCh # 05 input and output devices in computer
Ch # 05 input and output devices in computer
MuhammadRobeel3
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
MuhammadRobeel3
 
Ch # 03 software
Ch # 03  softwareCh # 03  software
Ch # 03 software
MuhammadRobeel3
 
Ch # 02 internet
Ch # 02 internetCh # 02 internet
Ch # 02 internet
MuhammadRobeel3
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
MuhammadRobeel3
 
pdlc
pdlc pdlc
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
MuhammadRobeel3
 
SDLC
SDLCSDLC

More from MuhammadRobeel3 (17)

Programming languages
Programming languagesProgramming languages
Programming languages
 
Osi model
Osi modelOsi model
Osi model
 
Memory management
Memory managementMemory management
Memory management
 
Command line interface
Command line interfaceCommand line interface
Command line interface
 
Ch # 11
Ch # 11Ch # 11
Ch # 11
 
Ch # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guardsCh # 10 computer security risks and safe guards
Ch # 10 computer security risks and safe guards
 
Ch # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocolCh # 08 communication devices, network typologies , network protocol
Ch # 08 communication devices, network typologies , network protocol
 
Ch # 07 operating system
Ch # 07 operating systemCh # 07 operating system
Ch # 07 operating system
 
Ch # 06 storage devices
Ch # 06 storage devicesCh # 06 storage devices
Ch # 06 storage devices
 
Ch # 05 input and output devices in computer
Ch # 05 input and output devices in computerCh # 05 input and output devices in computer
Ch # 05 input and output devices in computer
 
Ch # 04 computer hardware
Ch # 04 computer hardware Ch # 04 computer hardware
Ch # 04 computer hardware
 
Ch # 03 software
Ch # 03  softwareCh # 03  software
Ch # 03 software
 
Ch # 02 internet
Ch # 02 internetCh # 02 internet
Ch # 02 internet
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
pdlc
pdlc pdlc
pdlc
 
Introduction to computer
Introduction to computerIntroduction to computer
Introduction to computer
 
SDLC
SDLCSDLC
SDLC
 

Recently uploaded

Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 

Recently uploaded (20)

Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 

Ch # 09 database management system

  • 2. Data and information 3/9/2020Gulab Devi Educational Complex Lahore 2
  • 3. Data and Information  Data is a collection of unprocessed items, which can include text, numbers, images, audio, and video. Information conveys meaning and is useful to people.  for example, computers process several data items to print information in the form of a cash register receipt.  Computers process data into information. 3/9/2020Gulab Devi Educational Complex Lahore 3
  • 4. Data and Information 3/9/2020Gulab Devi Educational Complex Lahore 4
  • 6. Database  Database is an organized collection of related data. The word organized means that data is store in such a way that user can store, manipulate and retrieve data easily. The word related means that database is normally created to store data about a particular topic. For example , if you create a database for students, it will contain the data about students such as Roll No, name, address and other information about the students
  • 8. database management system (DBMS) With database software, often called a database management system (DBMS), users create a computerized database; add, modify, and delete data in the database; sort and retrieve data from the database; and create forms and reports from the data in the database.
  • 9. Data Integrity  Most organizations realize that data is one of their more valuable assets — because data is used to generate information. Many business transactions take less time when employees have instant access to information. To ensure that data is accessible on demand, an organization must manage and protect its data just as it would any other resource. Thus, it is vital that the data has integrity and is kept secure.
  • 10. The Hierarchy of Data  Data is organized in layers. In the computer profession, data is classified in a hierarchy. Each higher level of data consists of one or more items from the lower level. For example, a student has an address, and an address consists of letters and numbers. Depending on the application and the user, different terms describe the various levels of the hierarchy.
  • 12. Fields  A field name uniquely identifies each field. When searching for data in a database, you often specify the field name. Field names for the data in the Instructor file are Instructor ID, First Name, Last Name, Extension, Office, and Web Address. a field
  • 13. Records  A record is a group of related fields. For example, a student record includes a set of fields about one student. a record
  • 14. primary key  A primary key is a field that uniquely identifies each record in a file. The data in a primary key is unique to a specific record. For example, the Customer ID field uniquely identifies each Customer because no two Customer can have the same Customer ID. primary key field
  • 15. Files  A data file is a collection of related records stored on a storage medium such as a hard disk or optical disc. A Student file at a school might consist of thousands of individual student records. Each student record in the file contains the same fields. Each field, however, contains different data.
  • 16. Table  “A table is the primary unit of physical storage for data in a database.”1 Usually a database contains more than one table.
  • 17. A Database with Multiple Tables Publishers Books Customers Authors Inventory Orders
  • 18. Maintaining Data  File maintenance refers to the procedures that keep data current. File maintenance procedures include adding records to, modifying records in, and deleting records from a file.
  • 19. CRUD  Create new tables and records  Retrieve record from tables  Update table definition and record data  Delete existing tables and record
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. File Processing VS Databases 3/9/2020Gulab Devi Educational Complex Lahore 25
  • 26. File Processing  In the past, many organizations exclusively used file processing systems to store and manage data. In a typical file processing system, each department or area within an organization has its own set of files. The records in one file may not relate to the records in any other file.
  • 27. Disadvantages  Data Redundancy  Data Inconsistency  Difficult in accessing Data  Data Security  Privacy  Sharing of Data  Backup and Recovery
  • 28. Data Redundancy  Data Redundancy — Each department or area in an organization has its own files in a file processing system. Thus, the same fields are stored in multiple files. If a file processing system is used at a school, for example, the Student file and the Student Schedule file both might store the same students’ names and addresses. Duplicating data in this manner wastes resources such as storage space and people’s time. When new students are added or student data is modified, file maintenance tasks consume additional time because people must
  • 29. Difficult in accessing Data  Often it is difficult to access data stored in separate files in different departments. Sharing data from multiple, separate files is a complicated procedure and usually requires the experience of a computer programmer.
  • 30. Data inconsistency  Data inconsistency is a condition that occurs between files when similar data is kept in different formats in two different files. As a result of the data inconsistency, these files duplicate some data such as addresses and names, compromising data integrity.
  • 31. Data Security, Privacy, Sharing of Data  Data Security is another issue of file systems that create problems to secure Data.  Privacy Privacy is another issue of file systems that create problems to protect Data from unauthorized access.  Sharing of Data in file system sharing of data is not easy because multiples files have duplicate data and some file have different data.
  • 32. Backup and Recovery  Backup and recovery is also difficult in file system because Multiples file have same data.
  • 33. Database Advantages  Reduced Data Redundancy — Most data items are stored in only one file, which greatly reduces duplicate data. demonstrates the differences between how a file processing application and a database application might store data.  Improved Data Integrity — When users modify data in the database, they make changes to one file instead of multiple files. Thus, the database approach increases the data’s integrity by reducing the possibility of introducing inconsistencies. 
  • 35. Database Advantages  Shared Data — The data in a database environment belongs to and is shared, usually over a network, by the entire organization. Organizations that use databases typically have security settings to define who can access, add, modify, and delete the data in a database.  Easier Access — The database approach allows nontechnical users to access and maintain data, providing they have the necessary privileges.  Reduced Development Time — It often is easier and faster to develop programs that use the
  • 36. Data Dictionary  A data dictionary contains data about each file in the database and each field within those files. For each file, it stores details such as the file name, description, the file’s relationship to other files, and the number of records in the file.
  • 38. Database models  A data model consists of rules and standards that define how the database organizes data. A data model defines how users view the organization of the data. It does not define how the operating system actually arranges the data on the disk. Three popular data models in use today are relational, object-oriented, and multidimensional.
  • 39. Relational Databases Model  Data are organized into two dimensional tables.  Tables are related to each other.  It is the most common model being used today.
  • 40. Object-Oriented Database (OODB) Model  An object-oriented database (OODB) stores data in objects. An object is an item that contains data, as well as the actions that read or process the data. A Student object, for example, might contain data about a student such as Student ID, First Name, Last Name, Address, and so on. It also could contain instructions about how to print a student transcript or the formula required to calculate a student’s grade point average. Object-oriented databases have several advantages compared with relational databases: they can store more types of data,
  • 41. Multidimensional Databases  A multidimensional database stores data in dimensions. Whereas a relational database is a two- dimensional table, a multidimensional database can store more than two dimensions of data. These multiple dimensions allow users to access and analyze any view of the database data.