SlideShare a Scribd company logo
1 of 41
Database Systems
Course:-BSC CS-II
Subject:-Database Management System
Unit:-1
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS approach
Database Examples
 Database is involved like everywhere in our world
 For example:
 If we go to bank to deposit or withdraw
 Make hotel and airline reservation
 Purchase something on line
 Buy groceries in supermarkets
Database Applications
 These examples are what we called traditional
database applications
 (First part of book focuses on traditional applications)
 More Recent Applications:
 YouTube
 iTunes
 Geographic Information Systems (GIS)
 Data Warehouses
 Many other applications
Database can be any size and
complexity
 For example:
 A list of names and address
 IRS
 (assume it has 100 million taxpayers and each
taxpayer file 5 forms with 400 characters of
information per form=800Gbyte)
 Amazon.com
 (15 million people visit per day; about 100 people are
responsible for database update)
Database System
 Database:
 A collection of related data.
 Data:
 Known facts that can be recorded and have an
 implicit meaning.
 Database Management System (DBMS):
 A software package/system to facilitate the
 Define, Construct, Manipulate and Share functions
of a computerized database.
Typical DBMS Functionality
 Define a particular database in terms of its data types,
structures, and constraints
 Construct or Load the initial database contents on a
secondary storage medium
 Manipulate the database:
 Retrieval: Querying, generating reports
 Modification: Insertions, deletions and updates to
its content
 Accessing the database through Web applications
 Share a database allows multiple users and programs
to access the database simultaneously
Database System
 Database System:
DBMS + Database
Simplified database system
environment[1]
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS approach
An UNIVERSITY example
 A UNIVERSITY database for maintaining information
concerning students, courses, and grades in a university
environment
 We have:
 STUDENT file stores data on each student
 COURSE file stores data on each course
 SECTION file stores data on each section of each course
 GRADE_REPORT file stores the grades that students
receive
 PREREQUISITE file stores the prerequisites
Example of a simple database[2]
Database manipulation
 Database manipulation involves querying and
updating
 Examples of querying are:
 Retrieve a transcript
 List the prerequisites of the “Database” course
 Examples of updating are:
 Enter a grade of “A” for “Smith” in “Database”
course
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS approach
Database V.S. File
 In the database approach, a single repository of data
is maintained that is defined once then accessed by
various users
 The major differences between DB and File are:
 Self-describing of a DB
 Insulation between programs and data
 Support of multiple views of the data
 Sharing of data and multiuser transaction processing
Self-describing nature of a database system
 Database system contains not only the database itself
but also a complete definition of the database
structure and constrains
 The information stored in the catalog is called Meta-
data (data about data), and it describes the structure
of the primary database.
Example of a simplified Meta-
data[3]
Insulation between programs and data
 In file processing, if any changes to the structure of a
file may require changing all programs that access
the file
 In database system, the structure of data files is stored
in the DBMS catalog separately from the access
program
 This is called program-data independence
Support of multiple views of the data
 Each user may see a different view of the database,
which describes only the data of interest to that user
 It may also contain some virtual data that is derived
from the database files but its not explicitly stored
Sharing of data and multi-user
transaction processing
 Allowing a set of concurrent users to retrieve from
and to update the database.
 Concurrency control within the DBMS guarantees
that each transaction is correctly executed or aborted
 For example, when several reservation clerks try to
assign a seat on an airplane flight
 (these types of applications are generally called
online transaction processing (OLTP))
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS approach
Database Users
 Database administrators:
 Responsible for authorizing access to the database,
for coordinating and monitoring its use, acquiring
software and hardware resources, controlling its
use and monitoring efficiency of operations.
 Database Designers:
 Responsible to define the content, the structure, the
constraints, and functions or transactions against
the database. They must communicate with the
end-users and understand their needs.
 End Users
 System Analysts
End Users
Casual: access database occasionally by sophisticated
query language when needed.
 (Manager)
Naïve: they make up a large section of the end-user
population. Learn only a few facilities that they may
use repeatedly
 (bank clerk)
Sophisticated: These include business analysts,
scientists, engineers, others thoroughly familiar with the
system capabilities.
Stand-alone: maintain personal database by using well
designed GUI (Turbotax users)
Outline
 Database Introduction
 An Example
 Characteristics of the Database
 Actors on the Scene
 Advantages of using the DBMS approach
Controlling Redundancy
Controlling Redundancy is one of most important
feature to use DBMS
The traditional file approach, each group independently
keeps their own file.
For example: accounting office keeps data on
registration and billing info; whereas the registration
office keeps track of registration, student courses and
grades.
Controlling Redundancy
This redundancy in storing the same data multiple
times leads to several problems:
Logic update – we need to update several times
Storage space is wasted
The file that represent the same data may become
inconsistent
Other Advantages of using the
DBMS approach
 Restricting unauthorized access to data
 Providing Storage Structures (e.g. indexes) for
efficient Query Processing
 Providing backup and recovery services
Other Advantages of using the
DBMS approach
 Providing multiple interfaces to different classes of
users
 Representing complex relationships among data
When NOT to use DBMS?
 The overhead cost of using DBMS:
 High initial investment in hardware, software and
training
 The cost of defining and processing data
 Overhead for security, concurrency control,
recovery, and integrity functions
When NOT to use DBMS?
 Hence, it may be more desirable to use regular files
under the following situations:
 Simple, well-defined database applications that are
not expected to change
 Real-time requirements for some programs that
may not be met due to DBMS overheads
 No multiple-user access to data
Database Administration (DBA)
 DBA is a resource that supervises both the database
and the use of the DBMS.
 DBA is usually a group, but sometimes it refers to the
database administrator.
Responsibilities of DBA
Policy Formulation and Implementation
 Access Privileges
 Users should access the database only in ways in
which they are entitled.
 Security
 Access restrictions ensure that the database is
secure.
 Passwords, encryption, and views implement
security.
 Effective password protection is critical.
Planning for Disaster
 Databases can be harmed from hardware and software
malfunctions, and outsides forces like floods and
power outages.
 DBA’s must take active role in formulating disaster
recovery plans.
Disaster Recovery[4]
Archives
 An archive is a place where corporate data is kept.
 Information in an archive is removed from the
database and stored in the archive for future
reference.
 Archives are usually kept in a mass-storage device
like a disk, tape, CD, or a DVD.
 It is important such archives be kept off-site to allow
recovery should disaster strike
Data Dictionary Management
 Essentially the catalog, but it contains a wider range
of information, including information on tables,
fields, indexes, and programs.
 The DBA manages and updates the data dictionary,
which establishes naming conventions for tables,
fields, etc., and data integrity rules.
Additional responsibilities of DBA
 Training
 DBA gives training on the DBMS and how to
access the database
 DBMS Support
 The DBA is charged with all aspects of a DBMS,
including selection and management
 DBA must evaluate each prospective DBMS using
a checklist like that shown in
Additional Responsibilities of DBA
 Database design
 DBA is responsible for tuning the design, i.e.,
making changes that improve system performance.
References
1. http://www.webopedia.com/TERM/D/database_management_syste
m_DBMS.html
2. http://searchsqlserver.techtarget.com/definition/database-
management-system
3. http://cs.fit.edu/~pbernhar/dbms.html
4. http://www.quackit.com/database/tutorial/database_management_s
ystems.cfm
5. http://education-portal.com/academy/lesson/what-is-a-database-
management-system-purpose-and-function.html
Images References
1. http://itknowledgeexchange.techtarget.com/itanswers/what-are-the-
advantages-of-database-system-over-file-processing-systems/
2. http://itknowledgeexchange.techtarget.com/itanswers/what-are-the-
advantages-of-database-system-over-file-processing-systems
3. http://www.k9safesearch.com/search.jsp?q=simplified+Meta-
data+images+in+database+management+system&v=w
4. http://www.cisco.com/c/dam/en/us/products/collateral/video/disaste
r-recovery/product_data_sheet0900aecd806ced5c.pdf

More Related Content

What's hot

Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
welcometofacebook
 
Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02
Jotham Gadot
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
sethu pm
 
Data base management system
Data base management systemData base management system
Data base management system
Navneet Jingar
 

What's hot (20)

Databases
DatabasesDatabases
Databases
 
Database fundamentals(database)
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
 
Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02
 
introduction to database
 introduction to database introduction to database
introduction to database
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
 
Database Management Systems - Management Information System
Database Management Systems - Management Information SystemDatabase Management Systems - Management Information System
Database Management Systems - Management Information System
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
Data base management system
Data base management systemData base management system
Data base management system
 
Unit 01 dbms
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Mba 758 database management system
Mba 758 database management systemMba 758 database management system
Mba 758 database management system
 
Database Management Systems 2
Database Management Systems 2Database Management Systems 2
Database Management Systems 2
 
Dbms notes
Dbms notesDbms notes
Dbms notes
 
Historical Evolution of RDBMS
Historical Evolution of RDBMSHistorical Evolution of RDBMS
Historical Evolution of RDBMS
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management System
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Beginning Of DBMS (data base)
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
 
Computer lecture (1) m.nasir
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasir
 
CS3270 - DATABASE SYSTEM - Lecture (1)
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
 
DBMS Bascis
DBMS BascisDBMS Bascis
DBMS Bascis
 

Viewers also liked

TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
WanBK Leo
 
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
julyprum
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
Christian Reina
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Process
mussawir20
 
VanderWall's Better burger
VanderWall's Better burgerVanderWall's Better burger
VanderWall's Better burger
jvanderwall3
 

Viewers also liked (20)

database
databasedatabase
database
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Chapter01 1
Chapter01 1Chapter01 1
Chapter01 1
 
Chapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analystChapter02 succeeding as a systems analyst
Chapter02 succeeding as a systems analyst
 
Chapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projectsChapter06 initiating and planning systems development projects
Chapter06 initiating and planning systems development projects
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )Data processing by Neeraj Bhandari ( Surkhet.Nepal )
Data processing by Neeraj Bhandari ( Surkhet.Nepal )
 
Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)Database Systems Introduction (INTD-3535)
Database Systems Introduction (INTD-3535)
 
Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04Database design, implementation, and management -chapter04
Database design, implementation, and management -chapter04
 
Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02Database design, implementation, and management -chapter02
Database design, implementation, and management -chapter02
 
Database design
Database designDatabase design
Database design
 
Database Design and Implementation
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
 
Database Design Process
Database Design ProcessDatabase Design Process
Database Design Process
 
Database design process
Database design processDatabase design process
Database design process
 
Database - Design & Implementation - 1
Database - Design & Implementation - 1Database - Design & Implementation - 1
Database - Design & Implementation - 1
 
Introduction
IntroductionIntroduction
Introduction
 
VanderWall's Better burger
VanderWall's Better burgerVanderWall's Better burger
VanderWall's Better burger
 
Propsal purna bakti 2013
Propsal purna bakti 2013Propsal purna bakti 2013
Propsal purna bakti 2013
 
Macam software
Macam softwareMacam software
Macam software
 
Jenis Software Database
Jenis Software DatabaseJenis Software Database
Jenis Software Database
 

Similar to Bsc cs ii-dbms- u-i-database systems

Similar to Bsc cs ii-dbms- u-i-database systems (20)

Chapter 1 - testing
Chapter 1 - testing Chapter 1 - testing
Chapter 1 - testing
 
Dbms
DbmsDbms
Dbms
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
DATABASE MANAGEMENT SYSTEM UNIT-I Chapter-1
 
En ch01
En ch01En ch01
En ch01
 
Chapter one
Chapter oneChapter one
Chapter one
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
Chapter01
Chapter01Chapter01
Chapter01
 
Ena ch01
Ena ch01Ena ch01
Ena ch01
 
Ena ch01
Ena ch01Ena ch01
Ena ch01
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
 
Fundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database UsersFundamentals of Database system - Databases and Database Users
Fundamentals of Database system - Databases and Database Users
 
Dbms
DbmsDbms
Dbms
 
Dbms mca-section a
Dbms mca-section aDbms mca-section a
Dbms mca-section a
 
Dbms models
Dbms modelsDbms models
Dbms models
 
DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptx
 

More from Rai University

Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Rai University
 

More from Rai University (20)

Brochure Rai University
Brochure Rai University Brochure Rai University
Brochure Rai University
 
Mm unit 4point2
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
 
Mm unit 4point1
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
 
Mm unit 4point3
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
 
Mm unit 3point2
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
 
Mm unit 3point1
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
 
Mm unit 2point2
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
 
Mm unit 2 point 1
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
 
Mm unit 1point3
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
 
Mm unit 1point2
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
 
Mm unit 1point1
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
 
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,Bdft ii, tmt, unit-iii,  dyeing & types of dyeing,
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
 
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02Bsc agri  2 pae  u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
 
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri  2 pae  u-4.3 public expenditureBsc agri  2 pae  u-4.3 public expenditure
Bsc agri 2 pae u-4.3 public expenditure
 
Bsc agri 2 pae u-4.2 public finance
Bsc agri  2 pae  u-4.2 public financeBsc agri  2 pae  u-4.2 public finance
Bsc agri 2 pae u-4.2 public finance
 
Bsc agri 2 pae u-4.1 introduction
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
 
Bsc agri 2 pae u-3.3 inflation
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
 
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri  2 pae  u-3.2 introduction to macro economicsBsc agri  2 pae  u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.2 introduction to macro economics
 
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
 
Bsc agri 2 pae u-3 perfect-competition
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
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
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.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
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
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
 
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
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Bsc cs ii-dbms- u-i-database systems

  • 2. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 3. Database Examples  Database is involved like everywhere in our world  For example:  If we go to bank to deposit or withdraw  Make hotel and airline reservation  Purchase something on line  Buy groceries in supermarkets
  • 4. Database Applications  These examples are what we called traditional database applications  (First part of book focuses on traditional applications)  More Recent Applications:  YouTube  iTunes  Geographic Information Systems (GIS)  Data Warehouses  Many other applications
  • 5. Database can be any size and complexity  For example:  A list of names and address  IRS  (assume it has 100 million taxpayers and each taxpayer file 5 forms with 400 characters of information per form=800Gbyte)  Amazon.com  (15 million people visit per day; about 100 people are responsible for database update)
  • 6. Database System  Database:  A collection of related data.  Data:  Known facts that can be recorded and have an  implicit meaning.  Database Management System (DBMS):  A software package/system to facilitate the  Define, Construct, Manipulate and Share functions of a computerized database.
  • 7. Typical DBMS Functionality  Define a particular database in terms of its data types, structures, and constraints  Construct or Load the initial database contents on a secondary storage medium  Manipulate the database:  Retrieval: Querying, generating reports  Modification: Insertions, deletions and updates to its content  Accessing the database through Web applications  Share a database allows multiple users and programs to access the database simultaneously
  • 8. Database System  Database System: DBMS + Database
  • 10. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 11. An UNIVERSITY example  A UNIVERSITY database for maintaining information concerning students, courses, and grades in a university environment  We have:  STUDENT file stores data on each student  COURSE file stores data on each course  SECTION file stores data on each section of each course  GRADE_REPORT file stores the grades that students receive  PREREQUISITE file stores the prerequisites
  • 12. Example of a simple database[2]
  • 13. Database manipulation  Database manipulation involves querying and updating  Examples of querying are:  Retrieve a transcript  List the prerequisites of the “Database” course  Examples of updating are:  Enter a grade of “A” for “Smith” in “Database” course
  • 14. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 15. Database V.S. File  In the database approach, a single repository of data is maintained that is defined once then accessed by various users  The major differences between DB and File are:  Self-describing of a DB  Insulation between programs and data  Support of multiple views of the data  Sharing of data and multiuser transaction processing
  • 16. Self-describing nature of a database system  Database system contains not only the database itself but also a complete definition of the database structure and constrains  The information stored in the catalog is called Meta- data (data about data), and it describes the structure of the primary database.
  • 17. Example of a simplified Meta- data[3]
  • 18. Insulation between programs and data  In file processing, if any changes to the structure of a file may require changing all programs that access the file  In database system, the structure of data files is stored in the DBMS catalog separately from the access program  This is called program-data independence
  • 19. Support of multiple views of the data  Each user may see a different view of the database, which describes only the data of interest to that user  It may also contain some virtual data that is derived from the database files but its not explicitly stored
  • 20. Sharing of data and multi-user transaction processing  Allowing a set of concurrent users to retrieve from and to update the database.  Concurrency control within the DBMS guarantees that each transaction is correctly executed or aborted  For example, when several reservation clerks try to assign a seat on an airplane flight  (these types of applications are generally called online transaction processing (OLTP))
  • 21. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 22. Database Users  Database administrators:  Responsible for authorizing access to the database, for coordinating and monitoring its use, acquiring software and hardware resources, controlling its use and monitoring efficiency of operations.  Database Designers:  Responsible to define the content, the structure, the constraints, and functions or transactions against the database. They must communicate with the end-users and understand their needs.  End Users  System Analysts
  • 23. End Users Casual: access database occasionally by sophisticated query language when needed.  (Manager) Naïve: they make up a large section of the end-user population. Learn only a few facilities that they may use repeatedly  (bank clerk) Sophisticated: These include business analysts, scientists, engineers, others thoroughly familiar with the system capabilities. Stand-alone: maintain personal database by using well designed GUI (Turbotax users)
  • 24. Outline  Database Introduction  An Example  Characteristics of the Database  Actors on the Scene  Advantages of using the DBMS approach
  • 25. Controlling Redundancy Controlling Redundancy is one of most important feature to use DBMS The traditional file approach, each group independently keeps their own file. For example: accounting office keeps data on registration and billing info; whereas the registration office keeps track of registration, student courses and grades.
  • 26. Controlling Redundancy This redundancy in storing the same data multiple times leads to several problems: Logic update – we need to update several times Storage space is wasted The file that represent the same data may become inconsistent
  • 27. Other Advantages of using the DBMS approach  Restricting unauthorized access to data  Providing Storage Structures (e.g. indexes) for efficient Query Processing  Providing backup and recovery services
  • 28. Other Advantages of using the DBMS approach  Providing multiple interfaces to different classes of users  Representing complex relationships among data
  • 29. When NOT to use DBMS?  The overhead cost of using DBMS:  High initial investment in hardware, software and training  The cost of defining and processing data  Overhead for security, concurrency control, recovery, and integrity functions
  • 30. When NOT to use DBMS?  Hence, it may be more desirable to use regular files under the following situations:  Simple, well-defined database applications that are not expected to change  Real-time requirements for some programs that may not be met due to DBMS overheads  No multiple-user access to data
  • 31. Database Administration (DBA)  DBA is a resource that supervises both the database and the use of the DBMS.  DBA is usually a group, but sometimes it refers to the database administrator.
  • 33. Policy Formulation and Implementation  Access Privileges  Users should access the database only in ways in which they are entitled.  Security  Access restrictions ensure that the database is secure.  Passwords, encryption, and views implement security.  Effective password protection is critical.
  • 34. Planning for Disaster  Databases can be harmed from hardware and software malfunctions, and outsides forces like floods and power outages.  DBA’s must take active role in formulating disaster recovery plans.
  • 36. Archives  An archive is a place where corporate data is kept.  Information in an archive is removed from the database and stored in the archive for future reference.  Archives are usually kept in a mass-storage device like a disk, tape, CD, or a DVD.  It is important such archives be kept off-site to allow recovery should disaster strike
  • 37. Data Dictionary Management  Essentially the catalog, but it contains a wider range of information, including information on tables, fields, indexes, and programs.  The DBA manages and updates the data dictionary, which establishes naming conventions for tables, fields, etc., and data integrity rules.
  • 38. Additional responsibilities of DBA  Training  DBA gives training on the DBMS and how to access the database  DBMS Support  The DBA is charged with all aspects of a DBMS, including selection and management  DBA must evaluate each prospective DBMS using a checklist like that shown in
  • 39. Additional Responsibilities of DBA  Database design  DBA is responsible for tuning the design, i.e., making changes that improve system performance.
  • 40. References 1. http://www.webopedia.com/TERM/D/database_management_syste m_DBMS.html 2. http://searchsqlserver.techtarget.com/definition/database- management-system 3. http://cs.fit.edu/~pbernhar/dbms.html 4. http://www.quackit.com/database/tutorial/database_management_s ystems.cfm 5. http://education-portal.com/academy/lesson/what-is-a-database- management-system-purpose-and-function.html
  • 41. Images References 1. http://itknowledgeexchange.techtarget.com/itanswers/what-are-the- advantages-of-database-system-over-file-processing-systems/ 2. http://itknowledgeexchange.techtarget.com/itanswers/what-are-the- advantages-of-database-system-over-file-processing-systems 3. http://www.k9safesearch.com/search.jsp?q=simplified+Meta- data+images+in+database+management+system&v=w 4. http://www.cisco.com/c/dam/en/us/products/collateral/video/disaste r-recovery/product_data_sheet0900aecd806ced5c.pdf