SlideShare ist ein Scribd-Unternehmen logo
1 von 49
D
B
M
S
Topics to be covered
• Introduction to DataBase
• Purpose of DataBase systems
• Components of DBMS
• Applications of DBMS
Introduction to DataBase
• An organized collection of data
• An electronic system that allows data to be easily
accessed, manipulated and updated
• A software package designed to define, manipulate,
retrieve and manage data in a database.
Introduction to DataBase
DBMS Definition
• A database management system (DBMS) is system
software for creating and managing databases. The
DBMS provides users and programmers with a
systematic way to create, retrieve, update and
manage data.
• Database management system is software that is
used to manage the database.
DBMS
7
• Database Management System
• Term Database requires understanding of data
and information
• Data: It can be anything like name, place or
number, etc. Data usually refers to raw data, or
unprocessed data.
• Information: It is organized or classified data so
that it has some meaningful values to the receiver.
– Information is the processed data on which decisions
and actions are based.
Difference between
Data and
Information?
8
Data Information
Data is raw facts and figures Information is a processed form of data
For example: 12 is data For example: When 12 is stored in row
column form as shown it is information.
Age 12
Data are atomic level pieces of
information
Information is a collection of data
Data does not help in decision making Information helps in decision making
9
Database
10
• A database is a shared collection of logically
related data designed to meet the information
needs of an organization
• The related information when placed is an
organized form makes a database.
• The organization of data/information is
necessary because unorganized information
has no meaning.
What is Database
• The database is a collection of inter-related data
which is used to retrieve, insert and delete the data
efficiently. It is also used to organize the data in the
form of a table, schema, views, and reports, etc.
• For example: The college Database organizes the
data about the admin, staff, students and faculty etc.
• Using the database, user can easily retrieve, insert,
and delete the information.
Types of Databases
• Hierarchical DBMS
• Network DBMS
• Relational DBMS
• Object-Oriented Model
Hierarchical DBMS
• Hierarchical - this type of DBMS employs the
"parent-child" relationship of storing data. This type of
DBMS is rarely used nowadays. Its structure is like a
tree with nodes representing records and branches
representing fields. The windows registry used in
Windows XP is an example of a hierarchical
database. Configuration settings are stored as tree
structures with nodes.
Network DBMS
• this type of DBMS supports many-to-many relations.
This usually results in complex database structures.
RDM Server is an example of a database
management system that implements the network
model.
Object-Oriented DBMS
• This type supports the storage of new data types.
The data to be stored is in the form of objects. The
objects to be stored in the database have attributes
(i.e. gender, age) and methods that define what to do
with the data. PostgreSQL is an example of an
object-oriented relational DBMS.
Relational DBMS
• This type of DBMS defines database relationships in
the form of tables, also known as relations. Unlike
network DBMS, RDBMS does not support many to
many relationships. Relational DBMS usually have
pre-defined data types that they can support. This is
the most popular DBMS type in the market.
Examples of relational database management
systems include MySQL, Oracle, and Microsoft SQL
Server database.
Database Management System
• Database management system is a software which is
used to manage the database. For example: MySQL,
Oracle, etc are a very popular commercial database
which is used in different applications.
• DBMS provides an interface to perform various
operations like database creation, storing data in it,
updating data, creating a table in the database and a
lot more.
• It provides protection and security to the database. In
the case of multiple users, it also maintains data
consistency.
Purpose of
DBMS
Purpose of DBMS
23
An example
•University Database:
Data about students, faculty, courses, research-
laboratories, course registration/enrollment etc.
Reflects the state of affairs of the academic
aspects of the university.
Purpose: To keep an accurate track of the
academic activities of the university.
Purpose of DBMS
24
Before DBMSs were introduced, organizations
usually stored information in File Processing
System which has a number of disadvantages:
•Data redundancy and inconsistency
•Difficulty in accessing data
•Data isolation
•Integrity problems
•Atomicity problems
•Concurrent-access anomalies
•Security problems
Database Management System
25
• DBMS A database management system is the
software system that allows users to define,
create and maintain a database and provides
controlled access to the data.
• A database management system (DBMS) is
basically a collection of programs that enables
users to store, modify, and extract information
from a database as per the requirements.
Components
of
DataBase
Components of Database
• Five major components in database system
environment:
– Hardware
– Software
– Data
– Users
– Procedures
27
Components of Database System
28
• Hardware:
• It is the actual computer system used for
keeping and accessing the database. DBMS
hardware consists of secondary storage
devices like hard disks.
Components of Database System
• Software:
• It is the actual DBMS. Between the physical
database itself and the users of system is a
layer of software, called DBMS.
Components of Database System
• Data:
• Data acts as the bridge between the
machine components and user components.
Components of Database System
31
• Users: There are number of users who can
access or retrieve data on demand using the
applications and the interfaces provided by
DBMS. The users can be:
– Naïve users
– Online users
– Application Programmers
– Sophisticated Users
– Data base Administrator ( DBA)
Components of Database System
32
• Procedures: It refers to the instructions and
rules that govern the design and the use of
the database. The users of the system and the
staff that manage the database requires
documented procedures on how to use or run
the system.
Database and Database System
1. A database is a shared collection of logically related data
designed to meet the information needs of an organization
2. Components of a Database Systems
• Database
• Hardware
• Software - DBMS
• Users
• Procedures
DBMS
Examples of DBMS Products
1. Oracle
2. Informix
3. Access
4. DB2
5. Fox pro
6. dBase
7. SQL Server
8. My SQL
Drawbacks of File Management
System
• Data redundancy and inconsistency
– Multiple file formats, duplication of information in different files
• Difficulty in accessing data
– Need to write a new program to carry out each new task
• Data isolation — multiple files and formats
• Integrity problems
– Integrity constraints (e.g. account balance > 0)
– Hard to add new constraints or change existing ones
35
Drawbacks of File Management
System (Continue ….)
• Atomicity of updates
– Failures may leave database in an inconsistent state
with partial updates carried out
– Example: Transfer of funds from one account to
another should either complete or not happen at all
• Concurrent access by multiple users
– Concurrent accessed needed for performance
– Uncontrolled concurrent accesses can lead to
inconsistencies
• Example: Two people reading a balance and
updating it at the same time
• Security problems
3
DBMS
vs
FILE SYSTEM
DBMS File System
DBMS is a collection of data. In DBMS,
the user is not required to write the
procedures.
File system is a collection of data. In this
system, the user has to write the
procedures for managing the database.
DBMS gives an abstract view of data
that hides the details.
File system provides the detail of the
data representation and storage of data.
DBMS provides a crash recovery
mechanism, i.e., DBMS protects the
user from the system failure.
File system doesn't have a crash
mechanism, i.e., if the system crashes
while entering some data, then the
content of the file will lost.
DBMS provides a good protection
mechanism.
It is very difficult to protect a file under
the file system.
DBMS contains a wide variety of
sophisticated techniques to store and
retrieve the data.
File system can't efficiently store and
retrieve the data.
DBMS takes care of Concurrent access
of data using some form of locking.
In the File system, concurrent access
has many problems like redirecting the
file while other deleting some
information or updating some
information.
DBMS vs FILE SYSTEM
DBMS allows users the following tasks:
• Data Definition: It is used for creation, modification, and
removal of definition that defines the organization of data
in the database.
• Data Updation: It is used for the insertion, modification,
and deletion of the actual data in the database.
• Data Retrieval: It is used to retrieve the data from the
database which can be used by applications for various
purposes.
• User Administration: It is used for registering and
monitoring users, maintain data integrity, enforcing data
security, dealing with concurrency control, monitoring
performance and recovering information corrupted by
unexpected failure.
Characteristics
of
DBMS
Characteristics of DBMS
1. It uses a digital repository established on a server to store
and manage the information.
2. It can provide a clear and logical view of the process that
manipulates data.
3. DBMS contains automatic backup and recovery
procedures.
4. It contains ACID properties which maintain data in a
healthy state in case of failure.
5. It can reduce the complex relationship between data.
6. It is used to support manipulation and processing of data.
7. It is used to provide security of data.
8. It can view the database from different viewpoints
according to the requirements of the user.
ATOMICITY ,CONSISTENCY ,ISOLATION,DURABILITY
Advantages of DBMS
1. Controls database redundancy: It can control data redundancy
because it stores all the data in one single database file and that
recorded data is placed in the database.
2. Data sharing: In DBMS, the authorized users of an organization can
share the data among multiple users.
3. Easily Maintenance: It can be easily maintainable due to the
centralized nature of the database system.
4. Reduce time: It reduces development time and maintenance need.
5. Backup: It provides backup and recovery subsystems which create
automatic backup of data from hardware and software failures and
restores the data if required.
6. multiple user interface: It provides different types of user
interfaces like graphical user interfaces, application program interfaces
Disadvantages of DBMS
• Cost of Hardware and Software: It requires a high
speed of data processor and large memory size to run DBMS
software.
• Size: It occupies a large space of disks and large memory to
run them efficiently.
• Complexity: Database system creates additional complexity
and requirements.
• Higher impact of failure: Failure is highly impacted the
database because in most of the organization, all the data
stored in a single database and if the database is damaged due
to electric failure or database corruption then the data may be
lost forever.
Applications
of DBMS
Applications of DBMS
47
• Banking: all transactions
• Airlines: reservations, schedules
• Universities: registration, grades
• Sales: customers, products, purchases
• Online retailers: order tracking,
recommendations
customized
• Manufacturing: production, inventory, orders,
supply chain
• Human resources: employee records, salaries, tax
deductions
1. Railway Reservation System:
Database is required to keep
record of ticket booking, train’s
departure and arrival status. Also
if trains get late then people get
to know it through database
update.
2. Library Management System:
DBMS used to maintain all the
information relate to book issue
dates, name of the book, author
and availability of the book.
3. Banking
4. Universities and colleges:
Examinations are done online
today and universities and
colleges maintain all these
records through DBMS.
Student’s registrations details,
results, courses and grades.
5. Credit card transactions
6. Social Media Sites
7. Telecommunications: DBMS is
must for these companies to
store the call details and monthly
post paid bills.
8. Finance
9. Military
10. Online Shopping
11. Manufacturing
12. Airline Reservation system
Cont...

Weitere ähnliche Inhalte

Ähnlich wie Lecture 1 =Unit 1 Part 1.ppt

CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1Jyothis Menon
 
CHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxkashishy2
 
Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...mayurjagdale4
 
Introduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptxIntroduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptxvishnupriyapm4
 
1DATABASE.pptx
1DATABASE.pptx1DATABASE.pptx
1DATABASE.pptxHODCA1
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxMEGHANA508383
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notesUTSAHSINGH2
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Surya Swaroop
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System Krishna Patel
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_materialgayaramesh
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptDeepakShakya39
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal gArinda oktaviana
 

Ähnlich wie Lecture 1 =Unit 1 Part 1.ppt (20)

CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 
CHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptxCHAPTER 1 Database system architecture.pptx
CHAPTER 1 Database system architecture.pptx
 
Ch01
Ch01Ch01
Ch01
 
Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...
 
Introduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptxIntroduction to DBMS_VP.pptx
Introduction to DBMS_VP.pptx
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
1DATABASE.pptx
1DATABASE.pptx1DATABASE.pptx
1DATABASE.pptx
 
CST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptxCST204 DBMSMODULE1 PPT (1).pptx
CST204 DBMSMODULE1 PPT (1).pptx
 
Database management system lecture notes
Database management system lecture notesDatabase management system lecture notes
Database management system lecture notes
 
Rdbms
RdbmsRdbms
Rdbms
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
DBMS - Database Management System
DBMS - Database Management System DBMS - Database Management System
DBMS - Database Management System
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
PHP/MySQL First Session Material
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .ppt
 
Arinda oktaviana 11353204810 vii lokal g
Arinda oktaviana 11353204810   vii lokal gArinda oktaviana 11353204810   vii lokal g
Arinda oktaviana 11353204810 vii lokal g
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Unit1 dbms
Unit1 dbmsUnit1 dbms
Unit1 dbms
 

Kürzlich hochgeladen

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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).pptxVishalSingh1417
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
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).pptxVishalSingh1417
 
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...christianmathematics
 

Kürzlich hochgeladen (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
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
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
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...
 

Lecture 1 =Unit 1 Part 1.ppt

  • 2. Topics to be covered • Introduction to DataBase • Purpose of DataBase systems • Components of DBMS • Applications of DBMS
  • 3. Introduction to DataBase • An organized collection of data • An electronic system that allows data to be easily accessed, manipulated and updated • A software package designed to define, manipulate, retrieve and manage data in a database.
  • 5. DBMS Definition • A database management system (DBMS) is system software for creating and managing databases. The DBMS provides users and programmers with a systematic way to create, retrieve, update and manage data. • Database management system is software that is used to manage the database.
  • 6.
  • 7. DBMS 7 • Database Management System • Term Database requires understanding of data and information • Data: It can be anything like name, place or number, etc. Data usually refers to raw data, or unprocessed data. • Information: It is organized or classified data so that it has some meaningful values to the receiver. – Information is the processed data on which decisions and actions are based.
  • 9. Data Information Data is raw facts and figures Information is a processed form of data For example: 12 is data For example: When 12 is stored in row column form as shown it is information. Age 12 Data are atomic level pieces of information Information is a collection of data Data does not help in decision making Information helps in decision making 9
  • 10. Database 10 • A database is a shared collection of logically related data designed to meet the information needs of an organization • The related information when placed is an organized form makes a database. • The organization of data/information is necessary because unorganized information has no meaning.
  • 11. What is Database • The database is a collection of inter-related data which is used to retrieve, insert and delete the data efficiently. It is also used to organize the data in the form of a table, schema, views, and reports, etc. • For example: The college Database organizes the data about the admin, staff, students and faculty etc. • Using the database, user can easily retrieve, insert, and delete the information.
  • 12. Types of Databases • Hierarchical DBMS • Network DBMS • Relational DBMS • Object-Oriented Model
  • 13. Hierarchical DBMS • Hierarchical - this type of DBMS employs the "parent-child" relationship of storing data. This type of DBMS is rarely used nowadays. Its structure is like a tree with nodes representing records and branches representing fields. The windows registry used in Windows XP is an example of a hierarchical database. Configuration settings are stored as tree structures with nodes.
  • 14.
  • 15.
  • 16. Network DBMS • this type of DBMS supports many-to-many relations. This usually results in complex database structures. RDM Server is an example of a database management system that implements the network model.
  • 17.
  • 18. Object-Oriented DBMS • This type supports the storage of new data types. The data to be stored is in the form of objects. The objects to be stored in the database have attributes (i.e. gender, age) and methods that define what to do with the data. PostgreSQL is an example of an object-oriented relational DBMS.
  • 19. Relational DBMS • This type of DBMS defines database relationships in the form of tables, also known as relations. Unlike network DBMS, RDBMS does not support many to many relationships. Relational DBMS usually have pre-defined data types that they can support. This is the most popular DBMS type in the market. Examples of relational database management systems include MySQL, Oracle, and Microsoft SQL Server database.
  • 20.
  • 21. Database Management System • Database management system is a software which is used to manage the database. For example: MySQL, Oracle, etc are a very popular commercial database which is used in different applications. • DBMS provides an interface to perform various operations like database creation, storing data in it, updating data, creating a table in the database and a lot more. • It provides protection and security to the database. In the case of multiple users, it also maintains data consistency.
  • 23. Purpose of DBMS 23 An example •University Database: Data about students, faculty, courses, research- laboratories, course registration/enrollment etc. Reflects the state of affairs of the academic aspects of the university. Purpose: To keep an accurate track of the academic activities of the university.
  • 24. Purpose of DBMS 24 Before DBMSs were introduced, organizations usually stored information in File Processing System which has a number of disadvantages: •Data redundancy and inconsistency •Difficulty in accessing data •Data isolation •Integrity problems •Atomicity problems •Concurrent-access anomalies •Security problems
  • 25. Database Management System 25 • DBMS A database management system is the software system that allows users to define, create and maintain a database and provides controlled access to the data. • A database management system (DBMS) is basically a collection of programs that enables users to store, modify, and extract information from a database as per the requirements.
  • 27. Components of Database • Five major components in database system environment: – Hardware – Software – Data – Users – Procedures 27
  • 28. Components of Database System 28 • Hardware: • It is the actual computer system used for keeping and accessing the database. DBMS hardware consists of secondary storage devices like hard disks.
  • 29. Components of Database System • Software: • It is the actual DBMS. Between the physical database itself and the users of system is a layer of software, called DBMS.
  • 30. Components of Database System • Data: • Data acts as the bridge between the machine components and user components.
  • 31. Components of Database System 31 • Users: There are number of users who can access or retrieve data on demand using the applications and the interfaces provided by DBMS. The users can be: – Naïve users – Online users – Application Programmers – Sophisticated Users – Data base Administrator ( DBA)
  • 32. Components of Database System 32 • Procedures: It refers to the instructions and rules that govern the design and the use of the database. The users of the system and the staff that manage the database requires documented procedures on how to use or run the system.
  • 33. Database and Database System 1. A database is a shared collection of logically related data designed to meet the information needs of an organization 2. Components of a Database Systems • Database • Hardware • Software - DBMS • Users • Procedures
  • 34. DBMS Examples of DBMS Products 1. Oracle 2. Informix 3. Access 4. DB2 5. Fox pro 6. dBase 7. SQL Server 8. My SQL
  • 35. Drawbacks of File Management System • Data redundancy and inconsistency – Multiple file formats, duplication of information in different files • Difficulty in accessing data – Need to write a new program to carry out each new task • Data isolation — multiple files and formats • Integrity problems – Integrity constraints (e.g. account balance > 0) – Hard to add new constraints or change existing ones 35
  • 36. Drawbacks of File Management System (Continue ….) • Atomicity of updates – Failures may leave database in an inconsistent state with partial updates carried out – Example: Transfer of funds from one account to another should either complete or not happen at all • Concurrent access by multiple users – Concurrent accessed needed for performance – Uncontrolled concurrent accesses can lead to inconsistencies • Example: Two people reading a balance and updating it at the same time • Security problems 3
  • 38. DBMS File System DBMS is a collection of data. In DBMS, the user is not required to write the procedures. File system is a collection of data. In this system, the user has to write the procedures for managing the database. DBMS gives an abstract view of data that hides the details. File system provides the detail of the data representation and storage of data. DBMS provides a crash recovery mechanism, i.e., DBMS protects the user from the system failure. File system doesn't have a crash mechanism, i.e., if the system crashes while entering some data, then the content of the file will lost. DBMS provides a good protection mechanism. It is very difficult to protect a file under the file system. DBMS contains a wide variety of sophisticated techniques to store and retrieve the data. File system can't efficiently store and retrieve the data. DBMS takes care of Concurrent access of data using some form of locking. In the File system, concurrent access has many problems like redirecting the file while other deleting some information or updating some information. DBMS vs FILE SYSTEM
  • 39. DBMS allows users the following tasks: • Data Definition: It is used for creation, modification, and removal of definition that defines the organization of data in the database. • Data Updation: It is used for the insertion, modification, and deletion of the actual data in the database. • Data Retrieval: It is used to retrieve the data from the database which can be used by applications for various purposes. • User Administration: It is used for registering and monitoring users, maintain data integrity, enforcing data security, dealing with concurrency control, monitoring performance and recovering information corrupted by unexpected failure.
  • 41. Characteristics of DBMS 1. It uses a digital repository established on a server to store and manage the information. 2. It can provide a clear and logical view of the process that manipulates data. 3. DBMS contains automatic backup and recovery procedures. 4. It contains ACID properties which maintain data in a healthy state in case of failure. 5. It can reduce the complex relationship between data. 6. It is used to support manipulation and processing of data. 7. It is used to provide security of data. 8. It can view the database from different viewpoints according to the requirements of the user. ATOMICITY ,CONSISTENCY ,ISOLATION,DURABILITY
  • 42.
  • 43.
  • 44. Advantages of DBMS 1. Controls database redundancy: It can control data redundancy because it stores all the data in one single database file and that recorded data is placed in the database. 2. Data sharing: In DBMS, the authorized users of an organization can share the data among multiple users. 3. Easily Maintenance: It can be easily maintainable due to the centralized nature of the database system. 4. Reduce time: It reduces development time and maintenance need. 5. Backup: It provides backup and recovery subsystems which create automatic backup of data from hardware and software failures and restores the data if required. 6. multiple user interface: It provides different types of user interfaces like graphical user interfaces, application program interfaces
  • 45. Disadvantages of DBMS • Cost of Hardware and Software: It requires a high speed of data processor and large memory size to run DBMS software. • Size: It occupies a large space of disks and large memory to run them efficiently. • Complexity: Database system creates additional complexity and requirements. • Higher impact of failure: Failure is highly impacted the database because in most of the organization, all the data stored in a single database and if the database is damaged due to electric failure or database corruption then the data may be lost forever.
  • 47. Applications of DBMS 47 • Banking: all transactions • Airlines: reservations, schedules • Universities: registration, grades • Sales: customers, products, purchases • Online retailers: order tracking, recommendations customized • Manufacturing: production, inventory, orders, supply chain • Human resources: employee records, salaries, tax deductions
  • 48. 1. Railway Reservation System: Database is required to keep record of ticket booking, train’s departure and arrival status. Also if trains get late then people get to know it through database update. 2. Library Management System: DBMS used to maintain all the information relate to book issue dates, name of the book, author and availability of the book. 3. Banking 4. Universities and colleges: Examinations are done online today and universities and colleges maintain all these records through DBMS. Student’s registrations details, results, courses and grades. 5. Credit card transactions 6. Social Media Sites 7. Telecommunications: DBMS is must for these companies to store the call details and monthly post paid bills. 8. Finance 9. Military 10. Online Shopping 11. Manufacturing 12. Airline Reservation system