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

Rai University
Rai UniversityRai University
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
1 de 41

Recomendados

DBMS an ExampleDBMS an Example
DBMS an ExampleDr. C.V. Suresh Babu
51K vistas20 diapositivas
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
27.7K vistas32 diapositivas
Database systemsDatabase systems
Database systemsDhani Ahmad
11.8K vistas50 diapositivas

Más contenido relacionado

La actualidad más candente

DatabasesDatabases
Databasesguestf77c65c
2.4K vistas18 diapositivas
 introduction to database introduction to database
introduction to databaseAkif shexi
2.9K vistas68 diapositivas
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbmssethu pm
18.9K vistas27 diapositivas

La actualidad más candente(20)

DatabasesDatabases
Databases
guestf77c65c2.4K vistas
Database fundamentals(database)Database fundamentals(database)
Database fundamentals(database)
welcometofacebook2.8K vistas
Fundamentals of Database ppt ch02Fundamentals of Database ppt ch02
Fundamentals of Database ppt ch02
Jotham Gadot3.8K vistas
 introduction to database introduction to database
introduction to database
Akif shexi2.9K vistas
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
sethu pm18.9K vistas
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
ITNet92 vistas
Data base management systemData base management system
Data base management system
Navneet Jingar31.9K vistas
Unit 01 dbmsUnit 01 dbms
Unit 01 dbms
anuragmbst2.4K vistas
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
Prerana Bhattarai37.4K vistas
Mba 758 database management systemMba 758 database management system
Mba 758 database management system
Vmvinothkumar Kandiyar4.2K vistas
Database Management Systems 2Database Management Systems 2
Database Management Systems 2
Nickkisha Farrell8.4K vistas
Dbms notesDbms notes
Dbms notes
Prof. Dr. K. Adisesha1.5K vistas
Historical Evolution of RDBMSHistorical Evolution of RDBMS
Historical Evolution of RDBMS
Shailesh Pachori7.4K vistas
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
SHIKHA GAUTAM25.8K vistas
Beginning Of DBMS (data base)Beginning Of DBMS (data base)
Beginning Of DBMS (data base)
Surya Swaroop99 vistas
Computer lecture (1) m.nasirComputer lecture (1) m.nasir
Computer lecture (1) m.nasir
Muhammad Nasir165 vistas
CS3270 - DATABASE SYSTEM -  Lecture (1)CS3270 - DATABASE SYSTEM -  Lecture (1)
CS3270 - DATABASE SYSTEM - Lecture (1)
Dilawar Khan1.9K vistas
DBMS BascisDBMS Bascis
DBMS Bascis
Venkata Ramireddy Chirra1.1K vistas

Destacado

databasedatabase
databaseShwetanshu Gupta
2.3K vistas34 diapositivas
Introduction to databaseIntroduction to database
Introduction to databaselubna19
1.5K vistas28 diapositivas
Chapter01 1Chapter01 1
Chapter01 1Waqas !!!!
1.3K vistas50 diapositivas

Destacado(20)

databasedatabase
database
Shwetanshu Gupta2.3K vistas
Introduction to databaseIntroduction to database
Introduction to database
lubna191.5K vistas
Chapter01 1Chapter01 1
Chapter01 1
Waqas !!!!1.3K vistas
Database designDatabase design
Database design
Dhani Ahmad5.1K vistas
Database Design and ImplementationDatabase Design and Implementation
Database Design and Implementation
Christian Reina6.6K vistas
Database Design ProcessDatabase Design Process
Database Design Process
mussawir2013.7K vistas
Database design processDatabase design process
Database design process
Tayyab Hameed28K vistas
Database - Design & Implementation - 1Database - Design & Implementation - 1
Database - Design & Implementation - 1
Trivuz ত্রিভুজ13.6K vistas
IntroductionIntroduction
Introduction
Mr Patrick NIYISHAKA172 vistas
VanderWall's Better burgerVanderWall's Better burger
VanderWall's Better burger
jvanderwall343 vistas
Propsal purna bakti 2013Propsal purna bakti 2013
Propsal purna bakti 2013
Muhammad Jibran Part III3.1K vistas
Macam softwareMacam software
Macam software
Adrian Resipien Up Normal772 vistas
Jenis Software DatabaseJenis Software Database
Jenis Software Database
Muhammad Jibran Part III4.1K vistas

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

Chapter 1 - testing Chapter 1 - testing
Chapter 1 - testing jlope438
277 vistas30 diapositivas
DbmsDbms
Dbmssevtap87
30.8K vistas43 diapositivas
Database management systemsDatabase management systems
Database management systemsJoel Briza
2K vistas53 diapositivas
En ch01En ch01
En ch01anibapi
2.2K vistas24 diapositivas
Chapter oneChapter one
Chapter oneDawod Yimer
376 vistas31 diapositivas

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

Chapter 1 - testing Chapter 1 - testing
Chapter 1 - testing
jlope438277 vistas
DbmsDbms
Dbms
sevtap8730.8K vistas
Database management systemsDatabase management systems
Database management systems
Joel Briza2K vistas
En ch01En ch01
En ch01
anibapi2.2K vistas
Chapter oneChapter one
Chapter one
Dawod Yimer376 vistas
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
BhaskarPatil244 vistas
Ena ch01Ena ch01
Ena ch01
rereelshahed614 vistas
Ena ch01Ena ch01
Ena ch01
rereelshahed358 vistas
Chapter01Chapter01
Chapter01
sasa_eldoby1.5K vistas
1.introduction qb1.introduction qb
1.introduction qb
Mohammed Shoaib1K vistas
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
gayaramesh224 vistas
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail38K vistas
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
Koteswari Kasireddy18 vistas
DbmsDbms
Dbms
Surkhab Shelly53 vistas
Dbms mca-section aDbms mca-section a
Dbms mca-section a
Vaibhav Kathuria9.8K vistas
Dbms modelsDbms models
Dbms models
devgocool66.1K vistas
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptx
DivyaKS12183 vistas
27 fcs157al227 fcs157al2
27 fcs157al2
CHANDRA BHUSHAN2.3K vistas

Más de Rai University

Brochure Rai University Brochure Rai University
Brochure Rai University Rai University
2.5K vistas2 diapositivas
Mm unit 4point2Mm unit 4point2
Mm unit 4point2Rai University
4.5K vistas34 diapositivas
Mm unit 4point1Mm unit 4point1
Mm unit 4point1Rai University
2K vistas15 diapositivas
Mm unit 4point3Mm unit 4point3
Mm unit 4point3Rai University
1.5K vistas46 diapositivas
Mm unit 3point2Mm unit 3point2
Mm unit 3point2Rai University
1.2K vistas22 diapositivas
Mm unit 3point1Mm unit 3point1
Mm unit 3point1Rai University
1.3K vistas52 diapositivas

Más de Rai University(20)

Brochure Rai University Brochure Rai University
Brochure Rai University
Rai University2.5K vistas
Mm unit 4point2Mm unit 4point2
Mm unit 4point2
Rai University4.5K vistas
Mm unit 4point1Mm unit 4point1
Mm unit 4point1
Rai University2K vistas
Mm unit 4point3Mm unit 4point3
Mm unit 4point3
Rai University1.5K vistas
Mm unit 3point2Mm unit 3point2
Mm unit 3point2
Rai University1.2K vistas
Mm unit 3point1Mm unit 3point1
Mm unit 3point1
Rai University1.3K vistas
Mm unit 2point2Mm unit 2point2
Mm unit 2point2
Rai University1.1K vistas
Mm unit 2 point 1Mm unit 2 point 1
Mm unit 2 point 1
Rai University745 vistas
Mm unit 1point3Mm unit 1point3
Mm unit 1point3
Rai University760 vistas
Mm unit 1point2Mm unit 1point2
Mm unit 1point2
Rai University571 vistas
Mm unit 1point1Mm unit 1point1
Mm unit 1point1
Rai University772 vistas
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
Rai University1.1K vistas
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
Rai University953 vistas
Bsc agri  2 pae  u-4.1 introductionBsc agri  2 pae  u-4.1 introduction
Bsc agri 2 pae u-4.1 introduction
Rai University872 vistas
Bsc agri  2 pae  u-3.3  inflationBsc agri  2 pae  u-3.3  inflation
Bsc agri 2 pae u-3.3 inflation
Rai University669 vistas
Bsc agri  2 pae  u-3.1 marketstructureBsc agri  2 pae  u-3.1 marketstructure
Bsc agri 2 pae u-3.1 marketstructure
Rai University670 vistas
Bsc agri  2 pae  u-3 perfect-competitionBsc agri  2 pae  u-3 perfect-competition
Bsc agri 2 pae u-3 perfect-competition
Rai University781 vistas

Último(20)

META Quiz Finals.pptxMETA Quiz Finals.pptx
META Quiz Finals.pptx
AtmadipMohanta237 vistas
Narration  ppt.pptxNarration  ppt.pptx
Narration ppt.pptx
Tariq KHAN57 vistas
Chemistry of sex hormones.pptxChemistry of sex hormones.pptx
Chemistry of sex hormones.pptx
RAJ K. MAURYA93 vistas
ME_URBAN_WAR.pptME_URBAN_WAR.ppt
ME_URBAN_WAR.ppt
Norvell (Tex) DeAtkine117 vistas
M. Pharm Unit 2. Regulatory Asspects.pptxM. Pharm Unit 2. Regulatory Asspects.pptx
M. Pharm Unit 2. Regulatory Asspects.pptx
Ashokrao Mane College of Pharmacy, Peth- Vadgaon86 vistas
Material del tarjetero LEES Travesías.docxMaterial del tarjetero LEES Travesías.docx
Material del tarjetero LEES Travesías.docx
Norberto Millán Muñoz48 vistas
CWP_23995_2013_17_11_2023_FINAL_ORDER.pdfCWP_23995_2013_17_11_2023_FINAL_ORDER.pdf
CWP_23995_2013_17_11_2023_FINAL_ORDER.pdf
SukhwinderSingh895865452 vistas
Part of speech in English LanguagePart of speech in English Language
Part of speech in English Language
JamaicaMacarayoBorga56 vistas
Industry4wrd.pptxIndustry4wrd.pptx
Industry4wrd.pptx
BC Chew144 vistas
SIMPLE PRESENT TENSE_new.pptxSIMPLE PRESENT TENSE_new.pptx
SIMPLE PRESENT TENSE_new.pptx
nisrinamadani2135 vistas
Class 10 English notes 23-24.pptxClass 10 English notes 23-24.pptx
Class 10 English notes 23-24.pptx
Tariq KHAN57 vistas
231112 (WR) v1  ChatGPT OEB 2023.pdf231112 (WR) v1  ChatGPT OEB 2023.pdf
231112 (WR) v1 ChatGPT OEB 2023.pdf
WilfredRubens.com67 vistas
NS3 Unit 2 Life processes of animals.pptxNS3 Unit 2 Life processes of animals.pptx
NS3 Unit 2 Life processes of animals.pptx
manuelaromero201368 vistas
ICANNICANN
ICANN
RajaulKarim2053 vistas
How to present dataHow to present data
How to present data
Pavel Šabatka41 vistas

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