SlideShare a Scribd company logo
BITS Pilani
Pilani Campus
CSF212 DATABASE SYSTEMS
Jayalakshmi N
Guest Faculty (Off-Campus) Computer Science
BITS Pilani, Pilani Campus
M1 - Introduction and Overview of
Database Systems
•Introduction to Database Management System
•Characteristics of database approach
•Database users
•Advantages of using DBMS
•Data Models , Schema,Instances and DataBase State
•Three – Schema Architecture and Data Independence
•DataBase System Environment
•DBMS Architecture
BITS Pilani, Pilani Campus
Data and Database
3
• A database is a collection of related data.
• By data, we mean known facts that can be recorded and that
have implicit meaning.
• For example, consider the names, telephone numbers, and
addresses of people.
• A database represents some aspect of the real world, sometimes
called the miniworld or the universe of discourse (UoD).
• A database is a logically coherent collection of data with some
inherent meaning.
• A database is designed, built, and populated with data for a
specific purpose.
BITS Pilani, Pilani Campus
DataBase Management Systems
• A DataBase Management System (DBMS) is a collection of
programs that enables users to create and maintain a database.
• The DBMS is a general-purpose software system that facilitates
the processes of defining, constructing, manipulating, and
sharing databases among various users and applications.
• Defining a database involves specifying the data types,
structures, and constraints of the data to be stored in the
database.
The database definition or descriptive information is also
stored by the DBMS in the form of a database catalog or
dictionary; it is called meta-data.
4
BITS Pilani, Pilani Campus
DataBase Management Systems
5
• Constructing the database is the process of
storing the data on some storage medium that is
controlled by the DBMS.
• Manipulating a database includes functions such
as querying the database to retrieve specific
data, updating the database to reflect changes in
the miniworld, and generating reports from the
data.
• Sharing a database allows multiple users and
programs to access the database simultaneously.
BITS Pilani, Pilani Campus
DataBase System
6
BITS Pilani, Pilani Campus
Characteristics of DataBase System
• Self-describing nature of a database system
• Insulation between programs and data, and
data abstraction
• Support of multiple views of the data
• Sharing of data and multiuser transaction
processing
7
BITS Pilani, Pilani Campus
DataBase Users
DataBase Administrators
•In a database environment, the primary resource is the
database itself, and the secondary resource is the
DBMS and related software.
• Administering these resources is the responsibility of
the DataBase Administrator (DBA).
•The DBA is responsible for authorizing access to the
database, coordinating and monitoring its use, and
acquiring software and hardware resources as needed.
•The DBA is accountable for problems such as security
breaches and poor system response time.
BITS Pilani, Pilani Campus
Database designers
•They are responsible for identifying the data to be stored in the
database and for choosing appropriate structures to represent
and store this data.
• These tasks are mostly undertaken before the database is
actually implemented and populated with data.
•It is the responsibility of database designers to communicate
with all prospective database users in order to understand their
requirements and to create a design that meets these
requirements.
• In many cases, the designers are on the staff of the DBA and
may be assigned other staff responsibilities after the database
design is completed. 9
DataBase Users
BITS Pilani, Pilani Campus
DataBase Users
End Users
•Casual end users occasionally access the database, but they
may need different information each time. They use a
sophisticated database query language to specify their
requests and are typically middle- or high-level managers or
other occasional browsers.
•Naive or parametric end users make up a sizable portion of
database end users. Their main job function revolves
around constantly querying and updating the database,
using standard types of queries and updates—called
canned transactions—that have been carefully
programmed and tested.
10
BITS Pilani, Pilani Campus
DataBase Users
End Users
•Sophisticated end users include engineers, scientists,
business analysts, and others who thoroughly familiarize
themselves with the facilities of the DBMS in order to
implement their own applications to meet their complex
requirements.
•Standalone users maintain personal databases by using
ready-made program packages that provide easy-to-use
menu-based or graphics-based interfaces.
11
BITS Pilani, Pilani Campus
DataBase Users
System analysts
•System Analysts determine the requirements of end users,
especially naive and parametric end users, and develop
specifications for standard canned transactions that meet
these requirements.
•Application programmers implement these specifications as
programs; then they test, debug, document, and maintain
these canned transactions.
•Such analysts and programmers—commonly referred to as
software developers or software engineers—should be
familiar with the full range of capabilities provided by the
DBMS to accomplish their tasks.
12
BITS Pilani, Pilani Campus
Advantages of a DBMS
• Controlling Redundancy
• Restricting Unauthorized Access
• Providing Persistant Storage for Program Objects
• Efficient Storage Structure and Query Processing
• Providing Multiple User Interfaces
• Representing Complex Relationships among Data
• Enforcing Integrity Constraints
• Permitting Inferencing and Actions Using Rules
13
BITS Pilani, Pilani Campus
Disadvantages of using DBMS
• High initial investment in hardware, software, and training.
• The generality that a DBMS provides for defining and processing
data.
• Overhead for providing security, concurrency control, recovery,
and integrity functions.
Advantages of Traditional File System
• Simple, well-defined database applications that are not expected
to change at all.
• Stringent, real-time requirements for some application programs
that may not be met because of DBMS overhead.
• Embedded systems with limited storage capacity, where a
general-purpose DBMS would not fit.
• No multiple-user access to data.
14
BITS Pilani, Pilani Campus
Data Models
• Data abstraction generally refers to the suppression of
details of data organization and storage, and the
highlighting of the essential features for an improved
understanding of data.
• Data model—a collection of concepts that can be used
to describe the structure of a database—provides the
necessary means to achieve this abstraction.
By structure of a database we mean the data types,
relationships, and constraints that apply to the data .
Most data models also include a set of basic operations
for specifying retrievals and updates on the database.
15
BITS Pilani, Pilani Campus
Categories of Data Models
• High-level or conceptual data models provide concepts
that are close to the way many users perceive data;
• Low-level or physical data models provide concepts that
describe the details of how data is stored on the
computer storage media, typically magnetic disks.
Concepts provided by low-level data models are
generally meant for computer specialists, not for end
users.
• Between these two extremes is a class of
representational(or implementation)data models,which
provide concepts that may be easily understood by end
users but that are not too far removed from the way data
is organized in computer storage. 16
BITS Pilani, Pilani Campus
Categories of Data Models
17
• Conceptual data models use concepts such as entities,
attributes, and relationships.
• An entity represents a real-world object or concept,
such as an employee or a project from the miniworld
that is described in the database.
• An attribute represents some property of interest that
further describes an entity, such as the employee’s
name or salary.
• A relationship among two or more entities represents
an association among the entities, for example, a
works-on relationship between an employee and a
project.
BITS Pilani, Pilani Campus
Categories of Data Models
• Representational or implementation data models
are the models used most frequently in
traditional commercial DBMSs.
• These include the widely used relational data
model, as well as the so-called legacy data
models—the network and hierarchical models.
• Representational data models represent data by
using record structures and hence are sometimes
called record-based data models.
18
BITS Pilani, Pilani Campus
• Object data models are also frequently utilized as
high-level conceptual models, particularly in the
software engineering domain.
19
Categories of Data Models
BITS Pilani, Pilani Campus
Schemas,Instances and DataBase
State
• The description of a database is called the database
schema, which is specified during database design
and is not expected to change frequently.
• A displayed schema is called a schema diagram.
• The data in the database at a particular moment in
time is called a database state or snapshot.
• It is also called the current set of occurrences or
instances in the database. In a given database state,
each schema construct has its own current set of
instances.
20
BITS Pilani, Pilani Campus
Three – Schema Architecture
The three-schema architecture, was proposed to help achieve
and visualize the characteristics of DBMS.
1.The internal level has an internal schema, which describes
the physical storage structure of the database.
2. The conceptual level has a conceptual schema, which
describes the structure of the whole database for a community of
users. The conceptual schema hides the details of physical
storage structures and concentrates on describing entities, data
types, relationships, user operations, and constraints.
3. The external or view level Each external schema describes
the part of the database that a particular user group is interested
in and hides the rest of the database from that user group.
21
BITS Pilani, Pilani Campus
Three-Schema Architecture
22
BITS Pilani, Pilani Campus
Data Independence
• The three-schema architecture can be used to explain the
concept of data independence, which can be defined as the
capacity to change the schema at one level of a database
system without having to change the schema at the next
higher level.
We can define two types of data independence:
• Logical data independence is the capacity to change the
conceptual schema without having to change external
schemas or application programs.
• Physical data independence is the capacity to change the
internal schema without having to change the conceptual
schema. Hence, the external schemas need not be changed as
well. 23
BITS Pilani, Pilani Campus
DataBase System Environment
24
BITS Pilani, Pilani Campus
DBMS Architecture
• Centralized DBMS Architecture
25
BITS Pilani, Pilani Campus
Two-Tier Client/Server
Architecture
26
BITS Pilani, Pilani Campus
Three-tier/n-tier Architecture
27

More Related Content

Similar to CSF212 Module1.ppt.pdf

Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
M.Zalmai Rahmani
 
unit 1.pdf
unit 1.pdfunit 1.pdf
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
Nirmalavenkatachalam
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdf
biswajit62002
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
Kunal Anand
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
Merlin Florrence
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
ChandanHegde13
 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topic
hoseg78377
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
Rupali Rana
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
chatkall46
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
Sweta Singh
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
ITNet
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
gayaramesh
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
Krishna Bashyal
 
Chapter 1
Chapter 1Chapter 1
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .ppt
DeepakShakya39
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
BHARATH KUMAR
 
Computer applications.pptx
Computer applications.pptxComputer applications.pptx
Computer applications.pptx
Emmanuel235416
 
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMDatabase Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
moronfolabukunmi
 

Similar to CSF212 Module1.ppt.pdf (20)

Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
unit 1.pdf
unit 1.pdfunit 1.pdf
unit 1.pdf
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
Introduction to Database Management System.pdf
Introduction to Database Management System.pdfIntroduction to Database Management System.pdf
Introduction to Database Management System.pdf
 
PHP/MySQL First Session Material
PHP/MySQL First Session MaterialPHP/MySQL First Session Material
PHP/MySQL First Session Material
 
Chapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management SystemsChapter-1 Introduction to Database Management Systems
Chapter-1 Introduction to Database Management Systems
 
Introduction to RDBMS
Introduction to RDBMSIntroduction to RDBMS
Introduction to RDBMS
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
Data base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topicData base chapter 2 | detail about the topic
Data base chapter 2 | detail about the topic
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
Dbms Useful PPT
Dbms Useful PPTDbms Useful PPT
Dbms Useful PPT
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Unit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .pptUnit-I mech for studendts for btech .ppt
Unit-I mech for studendts for btech .ppt
 
DBMS introduction
DBMS introductionDBMS introduction
DBMS introduction
 
Computer applications.pptx
Computer applications.pptxComputer applications.pptx
Computer applications.pptx
 
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEMDatabase Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
Database Systems(DBS) Or DATABASE MANAGEMENT SYSTEM
 

Recently uploaded

Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 

Recently uploaded (20)

Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 

CSF212 Module1.ppt.pdf

  • 1. BITS Pilani Pilani Campus CSF212 DATABASE SYSTEMS Jayalakshmi N Guest Faculty (Off-Campus) Computer Science
  • 2. BITS Pilani, Pilani Campus M1 - Introduction and Overview of Database Systems •Introduction to Database Management System •Characteristics of database approach •Database users •Advantages of using DBMS •Data Models , Schema,Instances and DataBase State •Three – Schema Architecture and Data Independence •DataBase System Environment •DBMS Architecture
  • 3. BITS Pilani, Pilani Campus Data and Database 3 • A database is a collection of related data. • By data, we mean known facts that can be recorded and that have implicit meaning. • For example, consider the names, telephone numbers, and addresses of people. • A database represents some aspect of the real world, sometimes called the miniworld or the universe of discourse (UoD). • A database is a logically coherent collection of data with some inherent meaning. • A database is designed, built, and populated with data for a specific purpose.
  • 4. BITS Pilani, Pilani Campus DataBase Management Systems • A DataBase Management System (DBMS) is a collection of programs that enables users to create and maintain a database. • The DBMS is a general-purpose software system that facilitates the processes of defining, constructing, manipulating, and sharing databases among various users and applications. • Defining a database involves specifying the data types, structures, and constraints of the data to be stored in the database. The database definition or descriptive information is also stored by the DBMS in the form of a database catalog or dictionary; it is called meta-data. 4
  • 5. BITS Pilani, Pilani Campus DataBase Management Systems 5 • Constructing the database is the process of storing the data on some storage medium that is controlled by the DBMS. • Manipulating a database includes functions such as querying the database to retrieve specific data, updating the database to reflect changes in the miniworld, and generating reports from the data. • Sharing a database allows multiple users and programs to access the database simultaneously.
  • 6. BITS Pilani, Pilani Campus DataBase System 6
  • 7. BITS Pilani, Pilani Campus Characteristics of DataBase System • Self-describing nature of a database system • Insulation between programs and data, and data abstraction • Support of multiple views of the data • Sharing of data and multiuser transaction processing 7
  • 8. BITS Pilani, Pilani Campus DataBase Users DataBase Administrators •In a database environment, the primary resource is the database itself, and the secondary resource is the DBMS and related software. • Administering these resources is the responsibility of the DataBase Administrator (DBA). •The DBA is responsible for authorizing access to the database, coordinating and monitoring its use, and acquiring software and hardware resources as needed. •The DBA is accountable for problems such as security breaches and poor system response time.
  • 9. BITS Pilani, Pilani Campus Database designers •They are responsible for identifying the data to be stored in the database and for choosing appropriate structures to represent and store this data. • These tasks are mostly undertaken before the database is actually implemented and populated with data. •It is the responsibility of database designers to communicate with all prospective database users in order to understand their requirements and to create a design that meets these requirements. • In many cases, the designers are on the staff of the DBA and may be assigned other staff responsibilities after the database design is completed. 9 DataBase Users
  • 10. BITS Pilani, Pilani Campus DataBase Users End Users •Casual end users occasionally access the database, but they may need different information each time. They use a sophisticated database query language to specify their requests and are typically middle- or high-level managers or other occasional browsers. •Naive or parametric end users make up a sizable portion of database end users. Their main job function revolves around constantly querying and updating the database, using standard types of queries and updates—called canned transactions—that have been carefully programmed and tested. 10
  • 11. BITS Pilani, Pilani Campus DataBase Users End Users •Sophisticated end users include engineers, scientists, business analysts, and others who thoroughly familiarize themselves with the facilities of the DBMS in order to implement their own applications to meet their complex requirements. •Standalone users maintain personal databases by using ready-made program packages that provide easy-to-use menu-based or graphics-based interfaces. 11
  • 12. BITS Pilani, Pilani Campus DataBase Users System analysts •System Analysts determine the requirements of end users, especially naive and parametric end users, and develop specifications for standard canned transactions that meet these requirements. •Application programmers implement these specifications as programs; then they test, debug, document, and maintain these canned transactions. •Such analysts and programmers—commonly referred to as software developers or software engineers—should be familiar with the full range of capabilities provided by the DBMS to accomplish their tasks. 12
  • 13. BITS Pilani, Pilani Campus Advantages of a DBMS • Controlling Redundancy • Restricting Unauthorized Access • Providing Persistant Storage for Program Objects • Efficient Storage Structure and Query Processing • Providing Multiple User Interfaces • Representing Complex Relationships among Data • Enforcing Integrity Constraints • Permitting Inferencing and Actions Using Rules 13
  • 14. BITS Pilani, Pilani Campus Disadvantages of using DBMS • High initial investment in hardware, software, and training. • The generality that a DBMS provides for defining and processing data. • Overhead for providing security, concurrency control, recovery, and integrity functions. Advantages of Traditional File System • Simple, well-defined database applications that are not expected to change at all. • Stringent, real-time requirements for some application programs that may not be met because of DBMS overhead. • Embedded systems with limited storage capacity, where a general-purpose DBMS would not fit. • No multiple-user access to data. 14
  • 15. BITS Pilani, Pilani Campus Data Models • Data abstraction generally refers to the suppression of details of data organization and storage, and the highlighting of the essential features for an improved understanding of data. • Data model—a collection of concepts that can be used to describe the structure of a database—provides the necessary means to achieve this abstraction. By structure of a database we mean the data types, relationships, and constraints that apply to the data . Most data models also include a set of basic operations for specifying retrievals and updates on the database. 15
  • 16. BITS Pilani, Pilani Campus Categories of Data Models • High-level or conceptual data models provide concepts that are close to the way many users perceive data; • Low-level or physical data models provide concepts that describe the details of how data is stored on the computer storage media, typically magnetic disks. Concepts provided by low-level data models are generally meant for computer specialists, not for end users. • Between these two extremes is a class of representational(or implementation)data models,which provide concepts that may be easily understood by end users but that are not too far removed from the way data is organized in computer storage. 16
  • 17. BITS Pilani, Pilani Campus Categories of Data Models 17 • Conceptual data models use concepts such as entities, attributes, and relationships. • An entity represents a real-world object or concept, such as an employee or a project from the miniworld that is described in the database. • An attribute represents some property of interest that further describes an entity, such as the employee’s name or salary. • A relationship among two or more entities represents an association among the entities, for example, a works-on relationship between an employee and a project.
  • 18. BITS Pilani, Pilani Campus Categories of Data Models • Representational or implementation data models are the models used most frequently in traditional commercial DBMSs. • These include the widely used relational data model, as well as the so-called legacy data models—the network and hierarchical models. • Representational data models represent data by using record structures and hence are sometimes called record-based data models. 18
  • 19. BITS Pilani, Pilani Campus • Object data models are also frequently utilized as high-level conceptual models, particularly in the software engineering domain. 19 Categories of Data Models
  • 20. BITS Pilani, Pilani Campus Schemas,Instances and DataBase State • The description of a database is called the database schema, which is specified during database design and is not expected to change frequently. • A displayed schema is called a schema diagram. • The data in the database at a particular moment in time is called a database state or snapshot. • It is also called the current set of occurrences or instances in the database. In a given database state, each schema construct has its own current set of instances. 20
  • 21. BITS Pilani, Pilani Campus Three – Schema Architecture The three-schema architecture, was proposed to help achieve and visualize the characteristics of DBMS. 1.The internal level has an internal schema, which describes the physical storage structure of the database. 2. The conceptual level has a conceptual schema, which describes the structure of the whole database for a community of users. The conceptual schema hides the details of physical storage structures and concentrates on describing entities, data types, relationships, user operations, and constraints. 3. The external or view level Each external schema describes the part of the database that a particular user group is interested in and hides the rest of the database from that user group. 21
  • 22. BITS Pilani, Pilani Campus Three-Schema Architecture 22
  • 23. BITS Pilani, Pilani Campus Data Independence • The three-schema architecture can be used to explain the concept of data independence, which can be defined as the capacity to change the schema at one level of a database system without having to change the schema at the next higher level. We can define two types of data independence: • Logical data independence is the capacity to change the conceptual schema without having to change external schemas or application programs. • Physical data independence is the capacity to change the internal schema without having to change the conceptual schema. Hence, the external schemas need not be changed as well. 23
  • 24. BITS Pilani, Pilani Campus DataBase System Environment 24
  • 25. BITS Pilani, Pilani Campus DBMS Architecture • Centralized DBMS Architecture 25
  • 26. BITS Pilani, Pilani Campus Two-Tier Client/Server Architecture 26
  • 27. BITS Pilani, Pilani Campus Three-tier/n-tier Architecture 27