Co1 Session1
Co1 Session1
Session - 1
AIM OF THE SESSION
INSTRUCTIONAL
OBJECTIVES
LEARNING OUTCOMES
At the end of this session, you should be able to: basic knowledge of DBMS
SESSION INTRODUCTION
KEY CONCEPTS
Basic Terminology (Data, Information)
History of Database systems
Approaches to store data
File based Approach
Problems with traditional Approach
Database Approach
Operations on database
Components of Database
Database Management Systems (DBMS)
Database Characteristics
Differences between File and Database Approaches
Advantages & Disadvantages of DBMS
SESSION INTRODUCTION
The terms “data” and “information” are often used interchangeably, but they actually
aren’t the same.
• For example, data might include individual prices, weights, addresses, ages, names, temperatures,
dates, or distances, etc.
SESSION INTRODUCTION
WHAT IS DATA?
• Data is a raw form of knowledge and, on its own, doesn’t carry any significance or
purpose. In other words, you have to interpret data for it to have meaning. Data can be
simple—and may even seem useless until it is analyzed, organized, and interpreted.
• There are two main types of data:
• Quantitative data is provided in numerical form, like the weight, volume, or cost of an
item.
• Qualitative data is descriptive, but non-numerical, like the name, sex, or eye color of a
person.
SESSION INTRODUCTION
WHAT IS INFORMATION?
• Information is defined as knowledge gained through study, communication, research, or
instruction.
• Essentially, information is the result of analyzing and interpreting pieces of data. Whereas
data is the individual figures, numbers, or graphs, information is the perception of those
pieces of knowledge.
• For example, a set of data could include temperature readings in a location over several
years. Without any additional context, those temperatures have no meaning. However, when
you analyze and organize that information, you could determine seasonal temperature
patterns or even broader climate trends. Only when the data is organized and compiled in a
useful way can it provide information that is beneficial to others.
SESSION INTRODUCTION
THE KEY DIFFERENCES BETWEEN DATA VS INFORMATION
• Data is a collection of facts, while information puts those facts into context.
• While data is raw and unorganized, information is organized.
• Data points are individual and sometimes unrelated. Information maps out that data
to provide a big-picture view of how it all fits together.
• Data, on its own, is meaningless. When it’s analyzed and interpreted, it becomes
meaningful information.
• Data does not depend on information; however, information depends on data.
• Data typically comes in the form of graphs, numbers, figures, or statistics.
Information is typically presented through words, language, thoughts, and ideas.
• Data isn’t sufficient for decision-making, but you can make decisions based on
information.
SESSION INTRODUCTION
• And then computers became available, and with them, the opportunity for better data
management.
SESSION INTRODUCTION
A relational database is one that shows the relationship between different data records.
• searchable
• more space-efficient (reduced data storage costs)
• File-based approach.
• Database-approach.
SESSION INTRODUCTION
FILE BASED APPROACH
• A filesystem is a method for storing and organizing computer files and the data they contain to make it
easy to find and access them.
• File systems may use a storage device such as a hard disk or CD ROM and involve maintaining the
physical location of the files.
• Programmers used programming languages such as COBOL, C++ to write applications that directly
accessed files to perform data management services and provide information for users.
SESSION INTRODUCTION
UNIVERSITY DATABASE IN FILE BASED SYSTEM
SESSION INTRODUCTION
PROBLEMS IN TRADITIONAL APPROACH
Data Security
Data Redundancy
Data Isolation
Lack of Flexibility
DATABASE APPROACH
DATABASE DEFINITIONS
DATABASE
A database system is essentially nothing more than a computerized record-keeping system. i.e. it
is a computerized system whose overall purpose is to maintain information and make that
information available on demand.
COMPONENTS OF DATABASE
Database system involves four major components:
1. Data
2. Hardware
Secondary storage (magnetic disks) together with the I/O devices, device controllers, I/O channels,
to hold the stored data.
Processor(s) and associated Main memory, to support the execution of the database system software.
3. Software
The database manager (DB manager) or, more usually database management system (DBMS).
4. Users
Casual end-users, Naïve users, DBA, System analyst, Sophisticated users, Database designers,
Application Programmers.
SESSION INTRODUCTION
DATABASE MANAGEMENT SYSTEM (DBMS)
DBMS is the major software component of database system to manage database, thus, it is
called as database manager (DB manager).
All requests/queries from users for accessing to the database are handled by the DBMS.
DBMS interprets and processes user’s requests to retrieve information from a Database.
DBMS is a collection of interrelated files and a set of programs that allows several users
to access and modify these files.
DBMS is a software package/ system to facilitate the creation and maintenance of a
computerized database.
SESSION INTRODUCTION
DBMS
The DBMS acts as an intermediary/interface between the Database and the Users.
Queries
Users
DBMS OS
Database
Programs
(COBOL/PL1/C/
Java…)
• DBMS, A database management system is the software system that allows users to define,
create and maintain a database and provides controlled access to the data.
• Banking
• Airline
• Universities
• Credit card Transactions
• Telecommunications
• Finance
• Sales
• Manufacturing
SESSION INTRODUCTION
EXAMPLES OF DBMS
Both Commercial and Open Source database have their own Advantages and Disadvantages.
In most cases it makes sense to choose Open Source as compared to Commercial Database
because :
Open Source database is Cost effective.
Better quality source code.
More secure.
More preferred.
SESSION INTRODUCTION
• 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
SESSION INTRODUCTION
CHARACTERISTICS OF THE DATABASE APPROACH
Data Independence.
Concurrent access.
Disadvantages of DBMS
Complexity
Cost of DBMS.
1. Data is
2. What is a database?
(a) Organized collection of information that cannot be accessed, updated, and managed
b) Collection of data or information without organizing
c) Organized collection of data or information that can be accessed, updated, and managed
d) Organized collection of data that cannot be updated
SUMMARY
2. History of DBMS
3. Characteristics approach
TERMINAL QUESTIONS
Reference Books:
1. 1. Database System Concepts, Sixth Edition, Abraham Silberschatz, Yale University Henry, F. Korth
Lehigh University, S. Sudarshan Indian Institute of Technology, Bombay.
2. Fundamentals of Database Systems, 7th Edition, RamezElmasri, University of Texas at Arlington,
Shamkant B. Navathe, University of Texas at Arlington.
Web Link:
1. https://nptel.ac.in/courses/106105175
THANK YOU
Team – DBMS