SlideShare a Scribd company logo
Introduction to
Database System
• A collection of facts in raw form that
can become information after proper
organization or processing.
• Data is the name given to the basic
facts and entities such as name and
numbers.
• Data can be represented in the form of:
Numbers and Words;
Images, Sounds, Multimedia, etc.
Data
DATA
Words
Sounds
Numbers
Images
Different Forms of Data Representation
DATA
(Raw Material)
DATA
Processing
Information
(Processed Data)
How Will Data Process?
File
The collection of related records with fields is called a file. Data in a
database is saved on the computer as a data file and contains data on a
particular topic, e.g., A Student File.
Record
The collection of related fields is called a record. A record is a collection of
organized data of a particular student e.g., Ameen.
Field
A field is a smallest logical unit containing meaningful information in a file
i.e., combination of multiple related characters. A field is part of record that
holds a particular piece of data, e.g., Roll No, Name.
Field, Record and File
Field
Record
Here are sample records from a Student data file made up of different
fields:
Sample Fields, Records and File
Roll No Name Class Address
1 Imran 4th Sem Bhera
2 Ameen 4th Sem Chhungan
Table: A Student File
Database
A database is an organized, structured collection of
similar information.
A collection of data is referred to as database.
e.g. 1. record of students stored in a student files.
2. information stored over internet.
A database can be stored on paper (manual) or on a
computer (electronic).
A collection of data files integrated and organized into a
single comprehensive file system that is arranged to
minimize duplication of data, and to provide convenient
access to information within that system to satisfy a wide
variety of our needs.
• A program that is used for organising data on a computer is
called a database package.
• Data is organised in a database as files, records and fields:
To handle large amounts of data
To satisfy multiple users
To make data input faster
To make information retrieval
faster
To provide greater accuracy
To provide good security
Why do we need a database?
We need database:
Databases are used by many organisations for various
purposes such as:
 Hospitals for preparing patients histories
 Govt. Departments for maintaining employees records
 Colleges and schools for maintaining students records
 Various companies for maintaining import and export
records
 A University for maintaining information concerning
students, courses and grades in a university environment
 Banks for preparing accounts reports
What is a Database used for?
Database System
DBMS + Database
Traditional File Approach
Database File Approach
It was an early attempt to computerize the manual filing system that we
are all familiar with. A file system is a method for storing and organizing
computer files and the data to make it easy to find them. The application
written in C/C++ like programming languages work through this system.
It is the software system that allows the user to define create and maintain
a database and also provides controlled access to the data. DBMS is an
intermediate layer between the programs and data. The following are the
examples of database management system:
• Computerized library system
• Automated Teller Machines (ATM)
• Flight Reservation System
Naughty
Nice
Just what
asked for
Coal
Estimation
Delivery
List
Application File
ToysAddresses
Toys
File Based System
Database Management System (DBMS)
• This system stores permanent records in
various files.
• Application programs are required to extract
records from, and add records to the apt files.
• This system coordinates only the physical
access to the data.
• Data is likely to get repeated and cause
redundancy.
• Redundancy can lead to inconsistency of data.
• Multiple user access to the information is
difficult.
• In this system, security of data is low.
• It provides nothing to recover the data.
• Examples are: Programs of C++, COBOL, etc.
D-base management system
• In this system, there exists a collection of
interrelated files.
• There is a set of application program to access
and modify these files.
• This system coordinates both the physical and
logical access to data.
• This system can control the redundancy by
having a centralized database.
• Having no redundancy means no inconsistency.
• Multiple users can update database at the same
time.
• It provides security against unauthorized access.
• It provides backup & recovery for data retrieval.
• Examples are: Programs of Oracle, Sybase, etc.
In fo rm a tio n
S y s te m
F ile F ile
In fo rm a tio n
S y s te m
In fo rm a tio n
S y s te m
D a ta b a s e
(c o n s o lid a te d &
in te g ra te d d a ta
fro m file s )
F ile
F ile
In fo rm a tio n
S y s te m
In fo rm a tio n
S y s te m
Traditional File
Processing System
Database
Management System
Database basics

More Related Content

What's hot

Key database terms
Key database termsKey database terms
Key database terms
listergc
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
Rosalyn Lemieux
 

What's hot (20)

Starting ms access 2010
Starting ms access 2010Starting ms access 2010
Starting ms access 2010
 
MS ACCESS
MS ACCESSMS ACCESS
MS ACCESS
 
Database Management
Database ManagementDatabase Management
Database Management
 
L4 working with tables and data
L4 working with tables and dataL4 working with tables and data
L4 working with tables and data
 
How to build a data dictionary
How to build a data dictionaryHow to build a data dictionary
How to build a data dictionary
 
Intro databases (Table, Record, Field)
Intro databases (Table, Record, Field)Intro databases (Table, Record, Field)
Intro databases (Table, Record, Field)
 
Key database terms
Key database termsKey database terms
Key database terms
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Ms access 1
Ms access 1Ms access 1
Ms access 1
 
Introduction - Database (MS Access)
Introduction - Database (MS Access)Introduction - Database (MS Access)
Introduction - Database (MS Access)
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)Introduction to DBMS(For College Seminars)
Introduction to DBMS(For College Seminars)
 
DBMS
DBMSDBMS
DBMS
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
 
MS Access and Database Fundamentals
MS Access and Database FundamentalsMS Access and Database Fundamentals
MS Access and Database Fundamentals
 
Database
DatabaseDatabase
Database
 
B.sc i agri u 4 introduction to ms access
B.sc i agri u 4 introduction to ms accessB.sc i agri u 4 introduction to ms access
B.sc i agri u 4 introduction to ms access
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
 

Similar to Database basics

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
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
TamiratDejene1
 

Similar to Database basics (20)

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
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Database, Lecture-1.ppt
Database, Lecture-1.pptDatabase, Lecture-1.ppt
Database, Lecture-1.ppt
 
ITFT- Dbms
ITFT- DbmsITFT- Dbms
ITFT- Dbms
 
Lec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systemsLec20.pptx introduction to data bases and information systems
Lec20.pptx introduction to data bases and information systems
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
Chapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdfChapter – 1 Intro to DBS.pdf
Chapter – 1 Intro to DBS.pdf
 
Week 9
Week 9Week 9
Week 9
 
6.2 software
6.2 software6.2 software
6.2 software
 
Lec 1 Database.ppt
Lec 1 Database.pptLec 1 Database.ppt
Lec 1 Database.ppt
 
Information Management
Information ManagementInformation Management
Information Management
 
Ch01
Ch01Ch01
Ch01
 
Database Systems-Lec 1.ppt
Database Systems-Lec 1.pptDatabase Systems-Lec 1.ppt
Database Systems-Lec 1.ppt
 
Data concepts
Data conceptsData concepts
Data concepts
 
DBMS Introduction 5 .pptx
DBMS Introduction 5 .pptxDBMS Introduction 5 .pptx
DBMS Introduction 5 .pptx
 
Intro.pptx
Intro.pptxIntro.pptx
Intro.pptx
 
Database Lecture Notes
Database Lecture NotesDatabase Lecture Notes
Database Lecture Notes
 
Unit3rd
Unit3rdUnit3rd
Unit3rd
 
Data Processing in Fundamentals of IT
Data Processing in Fundamentals of ITData Processing in Fundamentals of IT
Data Processing in Fundamentals of IT
 

Recently uploaded

Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
YibeltalNibretu
 

Recently uploaded (20)

Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 

Database basics

  • 2.
  • 3. • A collection of facts in raw form that can become information after proper organization or processing. • Data is the name given to the basic facts and entities such as name and numbers. • Data can be represented in the form of: Numbers and Words; Images, Sounds, Multimedia, etc. Data
  • 6. File The collection of related records with fields is called a file. Data in a database is saved on the computer as a data file and contains data on a particular topic, e.g., A Student File. Record The collection of related fields is called a record. A record is a collection of organized data of a particular student e.g., Ameen. Field A field is a smallest logical unit containing meaningful information in a file i.e., combination of multiple related characters. A field is part of record that holds a particular piece of data, e.g., Roll No, Name. Field, Record and File
  • 7. Field Record Here are sample records from a Student data file made up of different fields: Sample Fields, Records and File Roll No Name Class Address 1 Imran 4th Sem Bhera 2 Ameen 4th Sem Chhungan Table: A Student File
  • 8. Database A database is an organized, structured collection of similar information. A collection of data is referred to as database. e.g. 1. record of students stored in a student files. 2. information stored over internet. A database can be stored on paper (manual) or on a computer (electronic). A collection of data files integrated and organized into a single comprehensive file system that is arranged to minimize duplication of data, and to provide convenient access to information within that system to satisfy a wide variety of our needs.
  • 9. • A program that is used for organising data on a computer is called a database package. • Data is organised in a database as files, records and fields:
  • 10. To handle large amounts of data To satisfy multiple users To make data input faster To make information retrieval faster To provide greater accuracy To provide good security Why do we need a database? We need database:
  • 11. Databases are used by many organisations for various purposes such as:  Hospitals for preparing patients histories  Govt. Departments for maintaining employees records  Colleges and schools for maintaining students records  Various companies for maintaining import and export records  A University for maintaining information concerning students, courses and grades in a university environment  Banks for preparing accounts reports What is a Database used for?
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Traditional File Approach Database File Approach It was an early attempt to computerize the manual filing system that we are all familiar with. A file system is a method for storing and organizing computer files and the data to make it easy to find them. The application written in C/C++ like programming languages work through this system. It is the software system that allows the user to define create and maintain a database and also provides controlled access to the data. DBMS is an intermediate layer between the programs and data. The following are the examples of database management system: • Computerized library system • Automated Teller Machines (ATM) • Flight Reservation System
  • 20. • This system stores permanent records in various files. • Application programs are required to extract records from, and add records to the apt files. • This system coordinates only the physical access to the data. • Data is likely to get repeated and cause redundancy. • Redundancy can lead to inconsistency of data. • Multiple user access to the information is difficult. • In this system, security of data is low. • It provides nothing to recover the data. • Examples are: Programs of C++, COBOL, etc. D-base management system • In this system, there exists a collection of interrelated files. • There is a set of application program to access and modify these files. • This system coordinates both the physical and logical access to data. • This system can control the redundancy by having a centralized database. • Having no redundancy means no inconsistency. • Multiple users can update database at the same time. • It provides security against unauthorized access. • It provides backup & recovery for data retrieval. • Examples are: Programs of Oracle, Sybase, etc.
  • 21. In fo rm a tio n S y s te m F ile F ile In fo rm a tio n S y s te m In fo rm a tio n S y s te m D a ta b a s e (c o n s o lid a te d & in te g ra te d d a ta fro m file s ) F ile F ile In fo rm a tio n S y s te m In fo rm a tio n S y s te m Traditional File Processing System Database Management System