SlideShare a Scribd company logo
introductiontodatabase-230307143929-a424d19b.ppt
Data
 The fact and figures that can be recorded in
system and that have some special meaning
assigned to it.
 Eg- Data of a customer is name ,telephone
number , address,product purchased etc.
Database
 A database is a collection of related data items
stored at one place.
 Eg- College database stores information about
students ,teachers,classes,subjects(All related
data).
 A database is nothing but set of data having
some relation between them.
Sample Database Structure
 Student Table
Sid Name Class Major
Course Table
Cid Name Hours
Department Table
Did Name
Marks Table
Sid Cid Marks Grade
Database Management System (DBMS)
 DBMS is a software system that helps in the process
of defining,constructing ,manipulating the database.
 It is also known as computerized record-keeping
system.
 DBMS have become an integral part of the
information system of many organizations as it is
used to handle huge amount of data.
Need of data in Database system
 Nowadays data have become an integral part of the
information systems of many organizations , so it is very
important to manage data in system.
 Data- As a corporate resource
Data management and control is very important for to
the efficient working of the organization.
 Data Availability
As most of the organizational functions are computerized
.Hence it increases the need to keep data available for
user
 Maintaining Complex data
As complexity of the data grows complex
relationships between them need to be managed
in simpler way.
 Data independence and efficient access.
 Data integrity and security.
 Concurrent access, recovery from crashes.
Benefits of
Database System over File System
1. Redundancy can be reduced
 As we are using relational approach for data
organization ,data is not stored at more than
one location.
 Repetition of information can be avoided which
in turn saves storage space.
2. Inconsistency can be avoided
 With the usage of database ,it is assured that all
the users access actual or true data present in
the database.
3. Data can be shared
 Multiple users can login at a time into the
database to access information.
 They can manipulate the database in a controlled
environment.
4. Security restrictions can be applied
 Security is the process of limiting access to the
database server itself for some users.
5. Integrity can be maintained
 Through integrity ,one can ensure only accurate
data is stored within the database.
Database Architecture
External View 1
SNo Lname Branc
hNo
External View 2
SNo Fname Lname Age Salary
Conceptual Model
SNo Fname Lname Age Salar
y
BranchNo
Internal View
Create table Employee
(
Sno number,
Fname varchar(50),
Lname varchar(50),
Age number ,
Salary number,
BranchNo number
)
Database Scheme levels
Schema
 A description of data in terms of a data model is
called a schema.
 The description of a database is called database
schema , which is specified during database
design and it does not expected to change
frequently.
Data Independence
1) Data Independence can be defined as the capacity to
change one level of scheme without changing the
schema at the next higher level.
2) Types :
a)Logical Data Independence
 Logical data independence is a capacity to change the
conceptual schema without having any changes to
external schema.
 Eg: We may change the conceptual schema by removing
a data item.In this case the external schemas that refer
only to the remaining data should not be affected.
b) Physical data independence
 Physical data independence is a capacity to
change the internal schema without having any
changes to conceptual schema.
 Eg: By creating additional access paths to
improve the performance of retrieval .If the
same data as before remains in the database ,we
should not have to change the conceptual
schema.
Relational DBMS (RDBMS)
Introduction
 Was introduced by Dr. E.F.Codd in 1970 .
 Standard for relational databases is published by
ANSI(the American National Standard Institute)
Features
 A relational database is composed of many relations
in the form of two-dimensional tables of rows and
columns containing related tuples known as logical
view.
 Tables/Relations are a logical structure which is a
collection of 2-dimensional tables consists of
horizantal rows and vertical columns.
Advantages
 Use of OOPs concept
 Highly secured data.
 Multiple users can access which is not possible in
simple DBMS.
 Supports Data Independence.
Disadvantages
 Inability to handle application areas like spatial
databases(eg-CAD) ,applications involving images
etc.
Transaction Management
 A transaction is a series of small database
operations that together form a single large
operation.
 A transaction is started by issuing a BEGIN
TRANSACTION command.
 Once this command is executed the DBMS starts
monitoring the transaction.
Properties of Transaction
Atomicity
 If one part of the transaction fails,the entire
transaction fails and the database state is left
unchanged.
 Database modification must follow an “all or
nothing” rule.
Consistency
 Ensure the database is clean at the end of the
transaction .
 Ensures that any transaction that the database
performs will take it from one consistent state to
another.
Isolation
 Each transaction must remain unaware of other
concurrently executing transaction.
Durability
 Ability of the DBMS to recover the committed
transaction updates against any kind of system
failure(hardware or software).
 Application programs use transaction to execute
sequences of operations when it is important that
all the operations are successfully completed.
 Eg During the transfer of money between two bank
accounts it is unacceptable for the operation that
updates the second account to fail.This would lead
to the transferred money being lost.It will have
been withdrawn from one account but not inserted
into the second account.
BEGIN TRANSACTION transfer
Deduct Rs.100 from account A
Add Rs.100 to account B
If no errors then
Save changes made by this operation
Else
Delete changes made by this operation
End If
END TRANSACTION transfer

More Related Content

PPTX
introductiontodatabaseDATABASE MANA .pptx
PPT
dbms-semester-IV SQL CHARTS and notes 3rd sem
PPTX
Database Management System.pptx
PDF
Database management systems notes for unit 1
PPTX
database management system anna universityUnit1.pptx
PPTX
DBMS-material for b.tech students to learn
PPTX
Module 1_Overview of Database Management System
introductiontodatabaseDATABASE MANA .pptx
dbms-semester-IV SQL CHARTS and notes 3rd sem
Database Management System.pptx
Database management systems notes for unit 1
database management system anna universityUnit1.pptx
DBMS-material for b.tech students to learn
Module 1_Overview of Database Management System

Similar to introductiontodatabase-230307143929-a424d19b.ppt (20)

PPTX
Unit 1.pptx
PDF
Database Management Systems ( Dbms )
PPT
Basics of Database Management System: Key Components
PPT
Overview of databases
PPT
Dbms models
PPTX
DBMS. ................................................
PPTX
database management.............................................................
PDF
A database is generally used for storing related, structured data, w.pdf
PPTX
DBMS - chapter 1 DATABASE METHOD OF SYSTEM 1.pptx
PPTX
RDBMS to NoSQL. An overview.
PPTX
DATA--BASE--MANAGEMENT---Discussion.pptx
PPTX
DBMS and its Models
PDF
Unit 2 rdbms study_material
PDF
Unit 1: Introduction to DBMS Unit 1 Complete
PPT
Chap1-Introduction to database systems.ppt
PPTX
DBMS.pptx
DOCX
Database Management System
PPTX
PPTX
DBMS characteristics in Information Management System.pptx
PPTX
Components and Advantages of DBMS
Unit 1.pptx
Database Management Systems ( Dbms )
Basics of Database Management System: Key Components
Overview of databases
Dbms models
DBMS. ................................................
database management.............................................................
A database is generally used for storing related, structured data, w.pdf
DBMS - chapter 1 DATABASE METHOD OF SYSTEM 1.pptx
RDBMS to NoSQL. An overview.
DATA--BASE--MANAGEMENT---Discussion.pptx
DBMS and its Models
Unit 2 rdbms study_material
Unit 1: Introduction to DBMS Unit 1 Complete
Chap1-Introduction to database systems.ppt
DBMS.pptx
Database Management System
DBMS characteristics in Information Management System.pptx
Components and Advantages of DBMS
Ad

Recently uploaded (20)

PPTX
_+✅+JANUARY+2025+MONTHLY+CA.pptx current affairs
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPTX
internship presentation of bsnl in colllege
PDF
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
PPTX
PMP (Project Management Professional) course prepares individuals
DOCX
mcsp232projectguidelinesjan2023 (1).docx
DOCX
How to Become a Criminal Profiler or Behavioural Analyst.docx
PDF
Blue-Modern-Elegant-Presentation (1).pdf
PPTX
microtomy kkk. presenting to cryst in gl
PPTX
1751884730-Visual Basic -Unitj CS B.pptx
PDF
Prostaglandin E2.pdf orthoodontics op kharbanda
PDF
Sales and Distribution Managemnjnfijient.pdf
PPTX
Your Guide to a Winning Interview Aug 2025.
PPTX
Surgical thesis protocol formation ppt.pptx
PPTX
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
PDF
Understanding the Rhetorical Situation Presentation in Blue Orange Muted Il_2...
PPTX
Condensed_Food_Science_Lecture1_Precised.pptx
PPTX
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
PPTX
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
PPTX
Overview Planner of Soft Skills in a single ppt
_+✅+JANUARY+2025+MONTHLY+CA.pptx current affairs
MCQ Practice CBT OL Official Language 1.pptx.pdf
internship presentation of bsnl in colllege
シュアーイノベーション採用ピッチ資料|Company Introduction & Recruiting Deck
PMP (Project Management Professional) course prepares individuals
mcsp232projectguidelinesjan2023 (1).docx
How to Become a Criminal Profiler or Behavioural Analyst.docx
Blue-Modern-Elegant-Presentation (1).pdf
microtomy kkk. presenting to cryst in gl
1751884730-Visual Basic -Unitj CS B.pptx
Prostaglandin E2.pdf orthoodontics op kharbanda
Sales and Distribution Managemnjnfijient.pdf
Your Guide to a Winning Interview Aug 2025.
Surgical thesis protocol formation ppt.pptx
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
Understanding the Rhetorical Situation Presentation in Blue Orange Muted Il_2...
Condensed_Food_Science_Lecture1_Precised.pptx
OnePlus 13R – ⚡ All-Rounder King Performance: Snapdragon 8 Gen 3 – same as iQ...
ESD MODULE-5hdbdhbdbdbdbbdbdbbdndbdbdbdbbdbd
Overview Planner of Soft Skills in a single ppt
Ad

introductiontodatabase-230307143929-a424d19b.ppt

  • 2. Data  The fact and figures that can be recorded in system and that have some special meaning assigned to it.  Eg- Data of a customer is name ,telephone number , address,product purchased etc.
  • 3. Database  A database is a collection of related data items stored at one place.  Eg- College database stores information about students ,teachers,classes,subjects(All related data).  A database is nothing but set of data having some relation between them.
  • 4. Sample Database Structure  Student Table Sid Name Class Major Course Table Cid Name Hours Department Table Did Name Marks Table Sid Cid Marks Grade
  • 5. Database Management System (DBMS)  DBMS is a software system that helps in the process of defining,constructing ,manipulating the database.  It is also known as computerized record-keeping system.  DBMS have become an integral part of the information system of many organizations as it is used to handle huge amount of data.
  • 6. Need of data in Database system  Nowadays data have become an integral part of the information systems of many organizations , so it is very important to manage data in system.  Data- As a corporate resource Data management and control is very important for to the efficient working of the organization.  Data Availability As most of the organizational functions are computerized .Hence it increases the need to keep data available for user
  • 7.  Maintaining Complex data As complexity of the data grows complex relationships between them need to be managed in simpler way.  Data independence and efficient access.  Data integrity and security.  Concurrent access, recovery from crashes.
  • 8. Benefits of Database System over File System 1. Redundancy can be reduced  As we are using relational approach for data organization ,data is not stored at more than one location.  Repetition of information can be avoided which in turn saves storage space. 2. Inconsistency can be avoided  With the usage of database ,it is assured that all the users access actual or true data present in the database.
  • 9. 3. Data can be shared  Multiple users can login at a time into the database to access information.  They can manipulate the database in a controlled environment. 4. Security restrictions can be applied  Security is the process of limiting access to the database server itself for some users. 5. Integrity can be maintained  Through integrity ,one can ensure only accurate data is stored within the database.
  • 10. Database Architecture External View 1 SNo Lname Branc hNo External View 2 SNo Fname Lname Age Salary Conceptual Model SNo Fname Lname Age Salar y BranchNo Internal View Create table Employee ( Sno number, Fname varchar(50), Lname varchar(50), Age number , Salary number, BranchNo number ) Database Scheme levels
  • 11. Schema  A description of data in terms of a data model is called a schema.  The description of a database is called database schema , which is specified during database design and it does not expected to change frequently.
  • 12. Data Independence 1) Data Independence can be defined as the capacity to change one level of scheme without changing the schema at the next higher level. 2) Types : a)Logical Data Independence  Logical data independence is a capacity to change the conceptual schema without having any changes to external schema.  Eg: We may change the conceptual schema by removing a data item.In this case the external schemas that refer only to the remaining data should not be affected.
  • 13. b) Physical data independence  Physical data independence is a capacity to change the internal schema without having any changes to conceptual schema.  Eg: By creating additional access paths to improve the performance of retrieval .If the same data as before remains in the database ,we should not have to change the conceptual schema.
  • 14. Relational DBMS (RDBMS) Introduction  Was introduced by Dr. E.F.Codd in 1970 .  Standard for relational databases is published by ANSI(the American National Standard Institute) Features  A relational database is composed of many relations in the form of two-dimensional tables of rows and columns containing related tuples known as logical view.  Tables/Relations are a logical structure which is a collection of 2-dimensional tables consists of horizantal rows and vertical columns.
  • 15. Advantages  Use of OOPs concept  Highly secured data.  Multiple users can access which is not possible in simple DBMS.  Supports Data Independence. Disadvantages  Inability to handle application areas like spatial databases(eg-CAD) ,applications involving images etc.
  • 16. Transaction Management  A transaction is a series of small database operations that together form a single large operation.  A transaction is started by issuing a BEGIN TRANSACTION command.  Once this command is executed the DBMS starts monitoring the transaction.
  • 17. Properties of Transaction Atomicity  If one part of the transaction fails,the entire transaction fails and the database state is left unchanged.  Database modification must follow an “all or nothing” rule. Consistency  Ensure the database is clean at the end of the transaction .  Ensures that any transaction that the database performs will take it from one consistent state to another.
  • 18. Isolation  Each transaction must remain unaware of other concurrently executing transaction. Durability  Ability of the DBMS to recover the committed transaction updates against any kind of system failure(hardware or software).  Application programs use transaction to execute sequences of operations when it is important that all the operations are successfully completed.  Eg During the transfer of money between two bank accounts it is unacceptable for the operation that updates the second account to fail.This would lead to the transferred money being lost.It will have been withdrawn from one account but not inserted into the second account.
  • 19. BEGIN TRANSACTION transfer Deduct Rs.100 from account A Add Rs.100 to account B If no errors then Save changes made by this operation Else Delete changes made by this operation End If END TRANSACTION transfer