SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
Chapter 1
1Database and Database Users
Topics Covered
 Introduction to Database, DBMS, Database System
 Properties of Database
 Characteristics Of Database Approach
 Actors on the scene
 Database Administrator
 System Designer
 End Users
 Workers Behind the Scene
 Advantages of DBMS Approach
 When Not to use a Database
2Database and Database Users
Introduction
 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 : telephone numbers , addresses of the
people.
3Database and Database Users
Properties of database
 A database represents some aspect of the real world,
sometimes called the miniworld . Changes to the
miniworld are reflected in the database
 A database is a logically coherent collection of data
with some inherent meaning. A random assortment of
data cannot correctly be referred to as a database.
 A database is designed, built, and populated with data
for a specific purpose. It has an intended group of
users and some preconceived applications in which
these users are interested.
4Database and Database Users
Database management system(DBMS)
 A database management system (DBMS) is a
collection of programs that enables users to create and
maintain a database.
 The DBMS is hence a general-purpose software system
that facilitates the processes of defining, constructing,
manipulating, and sharing databases among various
users and applications.
5Database and Database Users
Database and Database Users 6
 Defining: It involves specifying the data types,
structures and constraints of the date to be stored in
the database.
Constructing : Constructing the data base is the
process of storing the data on some storage medium
that is controlled by the DBMS.
 Manipulating: Manipulating a data base includes
functions such querying the database to retrieve
specific data.
 Sharing : Sharing a data base allows multiple users
and programs to access the database simultaneously
A Simplified Database Environment
7Database and Database Users
CHARACTERISTICS OFTHE DATABASE APPROACH
 Self-describing nature of a database system
 The database system contains not only the database
itself but also a complete definition or description of the
database structure and constraints.
 This definition is stored in the DBMS catalog, which
contains information such as the structure of each file,
the type and storage format of each data item, and
various constraints on the data.
 The information stored in the catalog is called meta-
data
8Database and Database Users
CHARACTERISTICS OFTHE DATABASE APPROACH
 Insulation between programs and data, and data
abstraction
 Program-data Independence
 Program-operation Independence
 The characteristics that allows program-data
independence and program-operation independence is
called data abstraction.
9Database and Database Users
CHARACTERISTICS OFTHE DATABASE APPROACH
 Support of multiple views of the data
 A database typically has many users, each of whom may
require a different perspective or view of the database.
 A multiuser DBMS whose users have a variety of
distinct applications must provide facilities for defining
multiple views.
10Database and Database Users
CHARACTERISTICS OFTHE DATABASE APPROACH
 Sharing of data and multiuser transaction processing
 A multiuser DBMS allow multiple users to access the
database at the same time.
 The DBMS must include concurrency control software
to ensure that several users trying to update the same
data do so in a controlled manner so that the result of
the updates is correct.
11Database and Database Users
ACTORS ON THE SCENE
 Database Administrator
In a database environment, the primary resource is the
database itself, and administering these resources is
the responsibility of the database administrator
(DBA). The DBA is responsible for authorizing access
to the database, for coordinating and monitoring its
use, and for acquiring software and hardware
resources as needed.
12Database and Database Users
Database Designer
 Database designers are responsible for identifying the
data to be stored in the database and for choosing
appropriate structures to represent and store this data.
It is the responsibility of database designers to
communicate with all prospective database users in
order to understand their requirements, and to come
up with a design that meets these requirements.
13Database and Database Users
End Users
 End users are the people whose jobs require access to
the database for querying, updating, and generating
reports; the database primarily exists for their use.
There are several categories of end users:
 Casual end users occasionally access the database, but
they may need different information each time.
 Naive or parametric end users -Their main job
function revolves around constantly querying and
updating the database, using standard types of queries
and updates-called canned transactions.
14Database and Database Users
End Users
 Sophisticated end users include engineers, scientists,
business analysts, and others who thoroughly familiarize
themselves with the facilities of the DBMS so as to
implement their applications to meet their complex
requirements.
 Stand-alone users maintain personal databases by
using ready-made program packages that provide easy-
to-use menu-based or graphics-based interfaces.
15Database and Database Users
End Users
 System Analysts and Application Programmers
(Software Engineers)
 System analysts determine the requirements of end
users, especially naive and parametric end users, and
develop specifications for canned transactions that meet
these requirements. Application programmers
implement these specifications as programs.
16Database and Database Users
WORKERS BEHIND THE SCENE
 DBMS system designers and implementers are persons
who design and implement the DBMS modules and
interfaces as a software package.
 Tool developers include persons who design and
implement tools-the software packages that facilitate
database system design and use and that help improve
performance.
 Operators and maintenance personnel are the system
administration personnel who are responsible for the
actual running and maintenance of the hardware and
software environment for the database system.
17Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Controlling Redundancy
 In traditional software development utilizing file processing,
every user group maintains its own files for handling its data-
processing applications.
 Much of the data is stored twice.
 This redundancy in storing the same data multiple times
leads to several problems
 Duplication of effort
 Storage space is wasted
 In the database approach, the views of different user groups
are integrated during database design. This ensures
consistency and controls redundancy.
18Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Restricting Unauthorized Access
 When multiple users share a large database, it is likely
that most users will not be authorized to access all
information in the database.
 Hence, the type of access operation-retrieval or update-
must also be controlled.
 The DBMS should provide a security and authorization
subsystem and then enforce restrictions automatically.
19Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Providing Persistent Storage for Program Objects
 Databases can be used to provide persistent storage for
program objects and data structures.
 This is one of the main reasons for object-oriented
database systems.
 An object is said to be persistent, if it survives the
termination of program execution and can later be
directly retrieved by another program.
 Object-oriented database systems typically offer data
structure compatibility with one or more object
oriented programming languages.
20Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Providing Storage Structures for Efficient Query
Processing
 Database systems must provide capabilities for
efficiently executing queries and updates.
 Because the database is typically stored on disk, the
DBMS must provide specialized data structures to speed
up disk search for the desired records.
 Auxiliary files called indexes are used for this purpose.
21Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Providing Backup and Recovery
 A DBMS must provide facilities for recovering from
hardware or software failures.
 The backup and recovery subsystem of the DBMS is
responsible for recovery.
22Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Providing Multiple User Interfaces
 Because many types of users with varying levels of
technical knowledge use a database, a DBMS should
provide a variety of user interfaces.
 Query languages for casual users
 Programming language interfaces for application
programmers.
 Forms and command codes for parametric users
 And menu-driven interfaces and natural language
interfaces for stand-alone users.
23Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Representing Complex Relationships among Data
 A database may include numerous varieties of data that
are interrelated in many ways.
 A DBMS must have the capability to represent a variety
of complex relationships among the data as well as to
retrieve and update related data easily and efficiently.
24Database and Database Users
ADVANTAGES OF USING THE DBMS
APPROACH
 Enforcing Integrity Constraints
 Most database applications have certain integrity
constraints that must hold for the data.
 A DBMS should provide capabilities for defining and
enforcing these constraints.
 The simplest type of integrity constraint involves
specifying a data type for each data item. For example,
the value of Name must be a string.
25Database and Database Users
Implications of Using the Database
Approach
 Potential for Enforcing Standards
 Reduced Application Development Time
 Flexibility
 Availability of Up-to-Date Information
 Economies of Scale
26Database and Database Users
WHEN NOT TO USE A 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
27Database and Database Users

Mais conteúdo relacionado

Mais procurados

Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data modelsABDUL KHALIQ
 
1 introduction databases and database users
1 introduction databases and database users1 introduction databases and database users
1 introduction databases and database usersKumar
 
Adbms 3 main characteristics of the database approach
Adbms 3 main characteristics of the database approachAdbms 3 main characteristics of the database approach
Adbms 3 main characteristics of the database approachVaibhav Khanna
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management systemPrerana Bhattarai
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMSkoolkampus
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
Codd's rules
Codd's rulesCodd's rules
Codd's rulesMohd Arif
 

Mais procurados (20)

Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
1 introduction databases and database users
1 introduction databases and database users1 introduction databases and database users
1 introduction databases and database users
 
Adbms 3 main characteristics of the database approach
Adbms 3 main characteristics of the database approachAdbms 3 main characteristics of the database approach
Adbms 3 main characteristics of the database approach
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Dbms and rdbms ppt
Dbms and rdbms pptDbms and rdbms ppt
Dbms and rdbms ppt
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASEINTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Dbms architecture
Dbms architectureDbms architecture
Dbms architecture
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database & Database Users
Database & Database UsersDatabase & Database Users
Database & Database Users
 
Data Models
Data ModelsData Models
Data Models
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Elmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 pptElmasri Navathe DBMS Unit-1 ppt
Elmasri Navathe DBMS Unit-1 ppt
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 

Destaque

Publishing xml
Publishing xmlPublishing xml
Publishing xmlKumar
 
Applying xml
Applying xmlApplying xml
Applying xmlKumar
 
Forms of organization
Forms of organizationForms of organization
Forms of organizationKumar
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
XML Schema
XML SchemaXML Schema
XML SchemaKumar
 
Graphics devices
Graphics devicesGraphics devices
Graphics devicesKumar
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramShakila Mahjabin
 
Chapter 1 - the role of financial management
Chapter 1  - the role of financial managementChapter 1  - the role of financial management
Chapter 1 - the role of financial managementPrafulla Tekriwal
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)tameemyousaf
 

Destaque (13)

Chapter1
Chapter1Chapter1
Chapter1
 
Publishing xml
Publishing xmlPublishing xml
Publishing xml
 
Applying xml
Applying xmlApplying xml
Applying xml
 
Forms of organization
Forms of organizationForms of organization
Forms of organization
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
XML Schema
XML SchemaXML Schema
XML Schema
 
Graphics devices
Graphics devicesGraphics devices
Graphics devices
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
Chapter 1 - the role of financial management
Chapter 1  - the role of financial managementChapter 1  - the role of financial management
Chapter 1 - the role of financial management
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
Entity relationship diagram (erd)
Entity relationship diagram (erd)Entity relationship diagram (erd)
Entity relationship diagram (erd)
 

Semelhante a Chapter1

DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDivyaKS12
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptxChandanHegde13
 
Database User and Administrator
Database User and AdministratorDatabase User and Administrator
Database User and AdministratorA. S. M. Shafi
 
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 UsersMustafa Kamel Mohammadi
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMSShubham Joon
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01ITNet
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbmssethu pm
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_materialgayaramesh
 
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-1Raj vardhan
 
Database management systems
Database management systemsDatabase management systems
Database management systemsJoel Briza
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1ahfiki
 
We presented a list of capabilities that should be provided by the DB.pdf
We presented a list of capabilities that should be provided by the DB.pdfWe presented a list of capabilities that should be provided by the DB.pdf
We presented a list of capabilities that should be provided by the DB.pdfarchanacomputers1
 

Semelhante a Chapter1 (20)

DBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptxDBMS-INTRODUCTION.pptx
DBMS-INTRODUCTION.pptx
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 
Database User and Administrator
Database User and AdministratorDatabase User and Administrator
Database User and Administrator
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
Chapter one
Chapter oneChapter one
Chapter one
 
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
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
Assign 1
Assign 1Assign 1
Assign 1
 
Cp 121 lecture 01
Cp 121 lecture 01Cp 121 lecture 01
Cp 121 lecture 01
 
Introduction & history of dbms
Introduction & history of dbmsIntroduction & history of dbms
Introduction & history of dbms
 
Unit 2 rdbms study_material
Unit 2  rdbms study_materialUnit 2  rdbms study_material
Unit 2 rdbms study_material
 
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
 
ppt on database management
ppt on database management ppt on database management
ppt on database management
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Intro to dbms
Intro to dbmsIntro to dbms
Intro to dbms
 
En ch01
En ch01En ch01
En ch01
 
Database Design Slide 1
Database Design Slide 1Database Design Slide 1
Database Design Slide 1
 
DBMS_UNIT_1.pdf
DBMS_UNIT_1.pdfDBMS_UNIT_1.pdf
DBMS_UNIT_1.pdf
 
We presented a list of capabilities that should be provided by the DB.pdf
We presented a list of capabilities that should be provided by the DB.pdfWe presented a list of capabilities that should be provided by the DB.pdf
We presented a list of capabilities that should be provided by the DB.pdf
 

Mais de Jafar Nesargi

Network adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devicesNetwork adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devicesJafar Nesargi
 
An introduction to networking
An introduction to networkingAn introduction to networking
An introduction to networkingJafar Nesargi
 
Computer basics Intro
Computer basics IntroComputer basics Intro
Computer basics IntroJafar Nesargi
 
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database languageJafar Nesargi
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relationalJafar Nesargi
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationJafar Nesargi
 
Introduction to-oracle
Introduction to-oracleIntroduction to-oracle
Introduction to-oracleJafar Nesargi
 
Cascading style sheets
Cascading style sheetsCascading style sheets
Cascading style sheetsJafar Nesargi
 
Session1 gateway to web page development
Session1   gateway to web page developmentSession1   gateway to web page development
Session1 gateway to web page developmentJafar Nesargi
 
Chapter 3 servlet & jsp
Chapter 3 servlet & jspChapter 3 servlet & jsp
Chapter 3 servlet & jspJafar Nesargi
 
Record storage and primary file organization
Record storage and primary file organizationRecord storage and primary file organization
Record storage and primary file organizationJafar Nesargi
 

Mais de Jafar Nesargi (20)

Network adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devicesNetwork adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devices
 
An introduction to networking
An introduction to networkingAn introduction to networking
An introduction to networking
 
Computer basics Intro
Computer basics IntroComputer basics Intro
Computer basics Intro
 
Css
CssCss
Css
 
Chapter 7 relation database language
Chapter 7 relation database languageChapter 7 relation database language
Chapter 7 relation database language
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
 
Chapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organizationChapter 4 record storage and primary file organization
Chapter 4 record storage and primary file organization
 
Chapter3
Chapter3Chapter3
Chapter3
 
Introduction to-oracle
Introduction to-oracleIntroduction to-oracle
Introduction to-oracle
 
Chapter2
Chapter2Chapter2
Chapter2
 
Cascading style sheets
Cascading style sheetsCascading style sheets
Cascading style sheets
 
Session1 gateway to web page development
Session1   gateway to web page developmentSession1   gateway to web page development
Session1 gateway to web page development
 
Introduction to jsp
Introduction to jspIntroduction to jsp
Introduction to jsp
 
Chapter 3 servlet & jsp
Chapter 3 servlet & jspChapter 3 servlet & jsp
Chapter 3 servlet & jsp
 
Rmi
RmiRmi
Rmi
 
Java bean
Java beanJava bean
Java bean
 
Networking
NetworkingNetworking
Networking
 
Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
 
Chapter 1 swings
Chapter 1 swingsChapter 1 swings
Chapter 1 swings
 
Record storage and primary file organization
Record storage and primary file organizationRecord storage and primary file organization
Record storage and primary file organization
 

Último

Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentMahmoud Rabie
 
How Do You Query a Stream? | Kafka Summit London
How Do You Query a Stream? | Kafka Summit LondonHow Do You Query a Stream? | Kafka Summit London
How Do You Query a Stream? | Kafka Summit LondonHostedbyConfluent
 
Real-time Geospatial Aircraft Monitoring Using Apache Kafka
Real-time Geospatial Aircraft Monitoring Using Apache KafkaReal-time Geospatial Aircraft Monitoring Using Apache Kafka
Real-time Geospatial Aircraft Monitoring Using Apache KafkaHostedbyConfluent
 
Data Contracts In Practice With Debezium and Apache Flink
Data Contracts In Practice With Debezium and Apache FlinkData Contracts In Practice With Debezium and Apache Flink
Data Contracts In Practice With Debezium and Apache FlinkHostedbyConfluent
 
Case Study: Implementing a Data Mesh at NORD/LB
Case Study: Implementing a Data Mesh at NORD/LBCase Study: Implementing a Data Mesh at NORD/LB
Case Study: Implementing a Data Mesh at NORD/LBHostedbyConfluent
 
Bridge to the Future: Migrating to KRaft
Bridge to the Future: Migrating to KRaftBridge to the Future: Migrating to KRaft
Bridge to the Future: Migrating to KRaftHostedbyConfluent
 
Aggregating Ad Events with Kafka Streams and Interactive Queries at Invidi
Aggregating Ad Events with Kafka Streams and Interactive Queries at InvidiAggregating Ad Events with Kafka Streams and Interactive Queries at Invidi
Aggregating Ad Events with Kafka Streams and Interactive Queries at InvidiHostedbyConfluent
 
The Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemThe Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemSafe Software
 
Error Handling with Kafka: From Patterns to Code
Error Handling with Kafka: From Patterns to CodeError Handling with Kafka: From Patterns to Code
Error Handling with Kafka: From Patterns to CodeHostedbyConfluent
 
Transport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MITransport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MIRomil Mishra
 
Women in Automation 2024: Technical session - Get your career started in auto...
Women in Automation 2024: Technical session - Get your career started in auto...Women in Automation 2024: Technical session - Get your career started in auto...
Women in Automation 2024: Technical session - Get your career started in auto...DianaGray10
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfAarwolf Industries LLC
 
How to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical GridHow to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical GridHostedbyConfluent
 
CERN IoT Kafka Pipelines | Kafka Summit London
CERN IoT Kafka Pipelines | Kafka Summit LondonCERN IoT Kafka Pipelines | Kafka Summit London
CERN IoT Kafka Pipelines | Kafka Summit LondonHostedbyConfluent
 
Event Modeling Anti-patterns | Kafka Summit London
Event Modeling Anti-patterns | Kafka Summit LondonEvent Modeling Anti-patterns | Kafka Summit London
Event Modeling Anti-patterns | Kafka Summit LondonHostedbyConfluent
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...BookNet Canada
 
Introduction to Cybersecurity | IIT(BHU)CyberSec
Introduction to Cybersecurity | IIT(BHU)CyberSecIntroduction to Cybersecurity | IIT(BHU)CyberSec
Introduction to Cybersecurity | IIT(BHU)CyberSecYashSomalkar
 
Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...
Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...
Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...HostedbyConfluent
 
Exactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and KafkaExactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and KafkaHostedbyConfluent
 
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support PerspectiveApache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support PerspectiveHostedbyConfluent
 

Último (20)

Digital Tools & AI in Career Development
Digital Tools & AI in Career DevelopmentDigital Tools & AI in Career Development
Digital Tools & AI in Career Development
 
How Do You Query a Stream? | Kafka Summit London
How Do You Query a Stream? | Kafka Summit LondonHow Do You Query a Stream? | Kafka Summit London
How Do You Query a Stream? | Kafka Summit London
 
Real-time Geospatial Aircraft Monitoring Using Apache Kafka
Real-time Geospatial Aircraft Monitoring Using Apache KafkaReal-time Geospatial Aircraft Monitoring Using Apache Kafka
Real-time Geospatial Aircraft Monitoring Using Apache Kafka
 
Data Contracts In Practice With Debezium and Apache Flink
Data Contracts In Practice With Debezium and Apache FlinkData Contracts In Practice With Debezium and Apache Flink
Data Contracts In Practice With Debezium and Apache Flink
 
Case Study: Implementing a Data Mesh at NORD/LB
Case Study: Implementing a Data Mesh at NORD/LBCase Study: Implementing a Data Mesh at NORD/LB
Case Study: Implementing a Data Mesh at NORD/LB
 
Bridge to the Future: Migrating to KRaft
Bridge to the Future: Migrating to KRaftBridge to the Future: Migrating to KRaft
Bridge to the Future: Migrating to KRaft
 
Aggregating Ad Events with Kafka Streams and Interactive Queries at Invidi
Aggregating Ad Events with Kafka Streams and Interactive Queries at InvidiAggregating Ad Events with Kafka Streams and Interactive Queries at Invidi
Aggregating Ad Events with Kafka Streams and Interactive Queries at Invidi
 
The Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data EcosystemThe Critical Role of Spatial Data in Today's Data Ecosystem
The Critical Role of Spatial Data in Today's Data Ecosystem
 
Error Handling with Kafka: From Patterns to Code
Error Handling with Kafka: From Patterns to CodeError Handling with Kafka: From Patterns to Code
Error Handling with Kafka: From Patterns to Code
 
Transport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MITransport in Open Pits______SM_MI10415MI
Transport in Open Pits______SM_MI10415MI
 
Women in Automation 2024: Technical session - Get your career started in auto...
Women in Automation 2024: Technical session - Get your career started in auto...Women in Automation 2024: Technical session - Get your career started in auto...
Women in Automation 2024: Technical session - Get your career started in auto...
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdf
 
How to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical GridHow to Build an Event-based Control Center for the Electrical Grid
How to Build an Event-based Control Center for the Electrical Grid
 
CERN IoT Kafka Pipelines | Kafka Summit London
CERN IoT Kafka Pipelines | Kafka Summit LondonCERN IoT Kafka Pipelines | Kafka Summit London
CERN IoT Kafka Pipelines | Kafka Summit London
 
Event Modeling Anti-patterns | Kafka Summit London
Event Modeling Anti-patterns | Kafka Summit LondonEvent Modeling Anti-patterns | Kafka Summit London
Event Modeling Anti-patterns | Kafka Summit London
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
 
Introduction to Cybersecurity | IIT(BHU)CyberSec
Introduction to Cybersecurity | IIT(BHU)CyberSecIntroduction to Cybersecurity | IIT(BHU)CyberSec
Introduction to Cybersecurity | IIT(BHU)CyberSec
 
Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...
Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...
Mastering Kafka Consumer Distribution: A Guide to Efficient Scaling and Resou...
 
Exactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and KafkaExactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and Kafka
 
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support PerspectiveApache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
Apache Kafka's Common Pitfalls & Intricacies: A Customer Support Perspective
 

Chapter1

  • 1. Chapter 1 1Database and Database Users
  • 2. Topics Covered  Introduction to Database, DBMS, Database System  Properties of Database  Characteristics Of Database Approach  Actors on the scene  Database Administrator  System Designer  End Users  Workers Behind the Scene  Advantages of DBMS Approach  When Not to use a Database 2Database and Database Users
  • 3. Introduction  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 : telephone numbers , addresses of the people. 3Database and Database Users
  • 4. Properties of database  A database represents some aspect of the real world, sometimes called the miniworld . Changes to the miniworld are reflected in the database  A database is a logically coherent collection of data with some inherent meaning. A random assortment of data cannot correctly be referred to as a database.  A database is designed, built, and populated with data for a specific purpose. It has an intended group of users and some preconceived applications in which these users are interested. 4Database and Database Users
  • 5. Database management system(DBMS)  A database management system (DBMS) is a collection of programs that enables users to create and maintain a database.  The DBMS is hence a general-purpose software system that facilitates the processes of defining, constructing, manipulating, and sharing databases among various users and applications. 5Database and Database Users
  • 6. Database and Database Users 6  Defining: It involves specifying the data types, structures and constraints of the date to be stored in the database. Constructing : Constructing the data base is the process of storing the data on some storage medium that is controlled by the DBMS.  Manipulating: Manipulating a data base includes functions such querying the database to retrieve specific data.  Sharing : Sharing a data base allows multiple users and programs to access the database simultaneously
  • 7. A Simplified Database Environment 7Database and Database Users
  • 8. CHARACTERISTICS OFTHE DATABASE APPROACH  Self-describing nature of a database system  The database system contains not only the database itself but also a complete definition or description of the database structure and constraints.  This definition is stored in the DBMS catalog, which contains information such as the structure of each file, the type and storage format of each data item, and various constraints on the data.  The information stored in the catalog is called meta- data 8Database and Database Users
  • 9. CHARACTERISTICS OFTHE DATABASE APPROACH  Insulation between programs and data, and data abstraction  Program-data Independence  Program-operation Independence  The characteristics that allows program-data independence and program-operation independence is called data abstraction. 9Database and Database Users
  • 10. CHARACTERISTICS OFTHE DATABASE APPROACH  Support of multiple views of the data  A database typically has many users, each of whom may require a different perspective or view of the database.  A multiuser DBMS whose users have a variety of distinct applications must provide facilities for defining multiple views. 10Database and Database Users
  • 11. CHARACTERISTICS OFTHE DATABASE APPROACH  Sharing of data and multiuser transaction processing  A multiuser DBMS allow multiple users to access the database at the same time.  The DBMS must include concurrency control software to ensure that several users trying to update the same data do so in a controlled manner so that the result of the updates is correct. 11Database and Database Users
  • 12. ACTORS ON THE SCENE  Database Administrator In a database environment, the primary resource is the database itself, and administering these resources is the responsibility of the database administrator (DBA). The DBA is responsible for authorizing access to the database, for coordinating and monitoring its use, and for acquiring software and hardware resources as needed. 12Database and Database Users
  • 13. Database Designer  Database designers are responsible for identifying the data to be stored in the database and for choosing appropriate structures to represent and store this data. It is the responsibility of database designers to communicate with all prospective database users in order to understand their requirements, and to come up with a design that meets these requirements. 13Database and Database Users
  • 14. End Users  End users are the people whose jobs require access to the database for querying, updating, and generating reports; the database primarily exists for their use. There are several categories of end users:  Casual end users occasionally access the database, but they may need different information each time.  Naive or parametric end users -Their main job function revolves around constantly querying and updating the database, using standard types of queries and updates-called canned transactions. 14Database and Database Users
  • 15. End Users  Sophisticated end users include engineers, scientists, business analysts, and others who thoroughly familiarize themselves with the facilities of the DBMS so as to implement their applications to meet their complex requirements.  Stand-alone users maintain personal databases by using ready-made program packages that provide easy- to-use menu-based or graphics-based interfaces. 15Database and Database Users
  • 16. End Users  System Analysts and Application Programmers (Software Engineers)  System analysts determine the requirements of end users, especially naive and parametric end users, and develop specifications for canned transactions that meet these requirements. Application programmers implement these specifications as programs. 16Database and Database Users
  • 17. WORKERS BEHIND THE SCENE  DBMS system designers and implementers are persons who design and implement the DBMS modules and interfaces as a software package.  Tool developers include persons who design and implement tools-the software packages that facilitate database system design and use and that help improve performance.  Operators and maintenance personnel are the system administration personnel who are responsible for the actual running and maintenance of the hardware and software environment for the database system. 17Database and Database Users
  • 18. ADVANTAGES OF USING THE DBMS APPROACH  Controlling Redundancy  In traditional software development utilizing file processing, every user group maintains its own files for handling its data- processing applications.  Much of the data is stored twice.  This redundancy in storing the same data multiple times leads to several problems  Duplication of effort  Storage space is wasted  In the database approach, the views of different user groups are integrated during database design. This ensures consistency and controls redundancy. 18Database and Database Users
  • 19. ADVANTAGES OF USING THE DBMS APPROACH  Restricting Unauthorized Access  When multiple users share a large database, it is likely that most users will not be authorized to access all information in the database.  Hence, the type of access operation-retrieval or update- must also be controlled.  The DBMS should provide a security and authorization subsystem and then enforce restrictions automatically. 19Database and Database Users
  • 20. ADVANTAGES OF USING THE DBMS APPROACH  Providing Persistent Storage for Program Objects  Databases can be used to provide persistent storage for program objects and data structures.  This is one of the main reasons for object-oriented database systems.  An object is said to be persistent, if it survives the termination of program execution and can later be directly retrieved by another program.  Object-oriented database systems typically offer data structure compatibility with one or more object oriented programming languages. 20Database and Database Users
  • 21. ADVANTAGES OF USING THE DBMS APPROACH  Providing Storage Structures for Efficient Query Processing  Database systems must provide capabilities for efficiently executing queries and updates.  Because the database is typically stored on disk, the DBMS must provide specialized data structures to speed up disk search for the desired records.  Auxiliary files called indexes are used for this purpose. 21Database and Database Users
  • 22. ADVANTAGES OF USING THE DBMS APPROACH  Providing Backup and Recovery  A DBMS must provide facilities for recovering from hardware or software failures.  The backup and recovery subsystem of the DBMS is responsible for recovery. 22Database and Database Users
  • 23. ADVANTAGES OF USING THE DBMS APPROACH  Providing Multiple User Interfaces  Because many types of users with varying levels of technical knowledge use a database, a DBMS should provide a variety of user interfaces.  Query languages for casual users  Programming language interfaces for application programmers.  Forms and command codes for parametric users  And menu-driven interfaces and natural language interfaces for stand-alone users. 23Database and Database Users
  • 24. ADVANTAGES OF USING THE DBMS APPROACH  Representing Complex Relationships among Data  A database may include numerous varieties of data that are interrelated in many ways.  A DBMS must have the capability to represent a variety of complex relationships among the data as well as to retrieve and update related data easily and efficiently. 24Database and Database Users
  • 25. ADVANTAGES OF USING THE DBMS APPROACH  Enforcing Integrity Constraints  Most database applications have certain integrity constraints that must hold for the data.  A DBMS should provide capabilities for defining and enforcing these constraints.  The simplest type of integrity constraint involves specifying a data type for each data item. For example, the value of Name must be a string. 25Database and Database Users
  • 26. Implications of Using the Database Approach  Potential for Enforcing Standards  Reduced Application Development Time  Flexibility  Availability of Up-to-Date Information  Economies of Scale 26Database and Database Users
  • 27. WHEN NOT TO USE A 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 27Database and Database Users