Professional Documents
Culture Documents
Session 1
Session 1
DBMS Introduction
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Agenda:
History of Database systems
Basic Terminology
Approaches to store data
File based Approach
Problems with traditional Approach
Database Approach
Operations on database
Database Characteristics
Differences between File and Database Approaches
Advantages of DBMS
Database environment
Database users
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
History of Database Systems
• 1950s and early 1960s:
– Data processing using magnetic tapes for storage
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Basic Terminology
Database: A collection of related data.
Data: Known facts that can be recorded and have an implicit
meaning.
Mini-world: Some part of the real world about which data is
stored in a database. For example, student grades and
transcripts at a university.
Database Management System (DBMS): A software package/
system to facilitate the creation and maintenance of a
computerized database.
Database System: The DBMS software together with the data
itself. Sometimes, the applications are also included.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Approaches to store data
File-based approach.
Database-approach.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
File Based Approach
A filesystem is a method for storing and organizing computer files and the
File systems may use a storage device such as a hard disk or CD ROM and
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Problems in traditional approach
Data Security
Data Redundancy
Data Isolation
Lack of Flexibility
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Approach
A database is a computer based record keeping system
information.
users.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database:
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
University Database in Database based System
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Operations on Databases
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Characteristics of the Database
Approach
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Characteristics of the Database
Approach
• Data Abstraction:
• A data model is used to hide storage details and present the
users with a conceptual view of the database.
• Programs refer to the data model constructs rather than data
storage details
• 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
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Characteristics of the Database
Approach
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Ways of storing data in files &
Database
related to customer data
4176 Aniruddha Sarkar SBU1
Predefined length
4181 Manoj Saha SBU1
4183 Moushumi Dharchoudhury SBU1
4203 Suryanarayana D.V.S.S. SBU1
4204 Vivek Rai SBU1
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Difference Between File and DBMS Operations
File system Interface DBMS Interface
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Management System (DBMS)
DBMS, A database management system is the software system that
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Advantages of DBMS
Integrity can be enforced: Integrity of data means that data
in database is always accurate, such that incorrect information
cannot be stored in database
Controlling Redundancy: Duplication of data is almost avoided
but not completely.
Inconsistency can be avoided: When the same data is
duplicated and changes are made at one site, which is not
propagated to the other site, it gives rise to inconsistency and
the two entries regarding the same data will not agree
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Other Advantages
Data can be shared.
Data Independence.
Concurrent access.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Disadvantages of DBMS
Complexity Size Performance.
Cost of DBMS.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database System Environment
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database System Environment
• Collection
• Storage
• M an ag e m e nt
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database System Environment
• Hardware
• Software
• People
• Procedure
• Data.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Users
• Users may be divided into
• Those who actually use and control the database content, and
those who design, develop and maintain database applications
(called “Actors on the Scene”), and
• Those who design and develop the DBMS software and
related tools, and the computer systems operators (called
“Workers Behind the Scene”)
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Users
Actors on the scene
◦ 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.
◦ 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.
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Users
• Actors on the scene
• Database administrator's duties include:
• Schema definition
• Storage structure and access method definition
• Schema and physical organization modification
• Granting user authority to access the database
• Specifying integrity constraints
• Acting as liaison with users
• Monitoring performance and responding to changes in
requirements
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Users
Actors on the scene (continued)
◦ End-users: They use the data for queries, reports and
some of them update the database content.
◦ End-users can be categorized into:
Casual: access database occasionally when needed
Naïve or Parametric: they make up a large section of the
end-user population.
They use previously well-defined functions in the form of
“canned transactions” against the database.
Examples are bank-tellers or reservation clerks who do this
activity for an entire shift of operations
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED
Database Users
Sophisticated:
◦ These include business analysts, scientists, engineers, others
thoroughly familiar with the system capabilities.
◦ Many use tools in the form of software packages that work
closely with the stored database.
Stand-alone:
◦ Mostly maintain personal databases using ready-to-use
packaged applications.
◦ An example is a tax program user that creates its own internal
database.
◦ Another example is a user that maintains an address book
© 2017-18 KL University – The contents of this presentation are an intellectual and copyrighted property of KL University. ALL RIGHTS RESERVED