SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

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
 

La actualidad más candente (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 a 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 a 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
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 

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