SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Characteristics and Benefits of a
Database
2
 The processing power of a database
allows it to manipulate the data it
houses, so it can:
Sort
Match
Link
Aggregate
Skip fields
Calculate
Database Manipulation
2
3
Uses for database systems include:
 They store data
 They store special information used to manage the
data. This information is called metadata and it is
not shown to all the people looking at the data.
 They can solve cases where many users want to
access (and possibly change) the same entries of
data.
 They manage access rights (who is allowed to see
the data, who can change it)
 When there are many users asking questions to the
database, the questions must be answered faster.
 Certain attributes are more important than others,
Database Uses
3
DATABASES
Characteristics of a Database
5
1. Self-describing nature of a database system
2. Insulation between program and data
3. Support for multiple views of data
4. Sharing of data and multiuser system
5. Control of data redundancy
6. Data sharing
7. Enforcement of integrity constraints
8. Restriction of unauthorized access
9. Data independence
10. Transaction processing
11. Provision for multiple views of data
12. Backup and recovery facilities
Characteristics of a Database
5
6
 A database system is referred to as self-
describing because it not only contains the
database itself, but also metadata which
defines and describes the data and
relationships between tables in the database.
1. Self-describing nature of a database system
6
Metadata means "data about data". Metadata is defined as the
data providing information about one or more aspects of the
data; it is used to summarize basic information about data which
can make tracking and working with specific data easier. Some
examples include:
 Means of creation of the data
 Purpose of the data
 Time and date of creation
 Creator or author of the data
 File size
7
 In the file based system, the structure of the data
files is defined in the application programs so if a
user wants to change the structure of a file, all the
programs that access that file might need to be
changed as well.
 On the other hand, in the database approach, the
data structure is stored in the system catalog not in
the programs. Therefore, one change is all that’s
needed.
2. Insulation between program and data
7
8
 A database supports multiple views of data.
 A view is a subset of the database, which is defined
and dedicated for particular users of the system.
 Multiple users in the system might have different
views of the system.
 Each view might contain only the data of interest to
a user or group of users.
3. Support for multiple views of data
8
9
 Current database systems are designed for multiple
users. That is, they allow many users to access the
same database at the same time.
 This access is achieved through features called
concurrency control strategies.
 These strategies ensure that the data accessed are
always correct and that data integrity is maintained.
4. Sharing of data and multiuser system
9
10
 In the database approach, ideally, each data item is
stored in only one place in the database.
 In some cases, data redundancy still exists to improve
system performance, but such redundancy is controlled
by application programming and kept to minimum by
introducing as little redundancy as possible when
designing the database.
 The additional data can simply be a complete copy of
the actual data, or only select pieces of data that
allow detection of errors and reconstruction of lost or
damaged data up to a certain level.
5. Control of data redundancy
10
11
 The integration of all the data, for an organization, within
a database system has many advantages.
 First, it allows for data sharing among employees and
others who have access to the system.
 Second, it gives users the ability to generate more
information from a given amount of data than would be
possible without the integration.
6. Data sharing
11
12
 Database management systems must
provide the ability to define and enforce
certain constraints to ensure that users enter
valid information and maintain data integrity.
 A database constraint is a restriction or rule
that dictates what can be entered or edited
in a table such as a postal code using a
certain format or adding a valid city in the
City field.
Database Constraint: (next
slide)
7.Enforcement of integrity constraints
12
7.Enforcement of integrity constraints
13
 A NOT NULL constraint prohibits a database value
from being null.
 A unique constraint prohibits multiple rows from having
the same value in the same column or combination of
columns but allows some values to be null.
 A primary key constraint combines
a NOT NULL constraint and a unique constraint in a
single declaration. That is, it prohibits multiple rows
from having the same value in the same column or
combination of columns and prohibits values from
being null.
 A foreign key constraint requires values in one table to
Database
Constraint
8. Restriction of unauthorized access
14
 Not all users of a database system will have the same
accessing privileges.
 For example, one user might have read- only access
(i.e., the ability to read a file but not make changes),
while another might have read and write privileges,
which is the ability to both read and modify a file.
 For this reason, a database management system
should provide a security subsystem to create and
control different types of user accounts and restrict
unauthorized access.
9. Data independence
15
 Another advantage of a database management system
is how it allows for data independence.
 In other words, the system data descriptions or data
describing data (metadata) are separated from the
application programs.
 This is possible because changes to the data structure
are handled by the database management system and
are not embedded in the program itself.
10. Transaction processing
16
 A database management system must include
concurrency control subsystems.
 This feature ensures that data remains consistent and
valid during transaction processing even if several
users update the same information.
11. Provision for multiple views of data
17
 By its very nature, a DBMS permits many users to have
access to its database either individually or
simultaneously.
 It is not important for users to be aware of how and
where the data they access is stored
12. Backup and recovery facilities
18
 Backup and recovery are methods that allow you
to protect your data from loss.
 The database system provides a separate process,
from that of a network backup, for backing up and
recovering data.
 If a hard drive fails and the database stored on the
hard drive is not accessible, the only way to
recover the database is from a backup.
 If a computer system fails in the middle of a
complex update process, the recovery subsystem
is responsible for making sure that the database is
restored to its original state.
Types of Data Models
Phases of Database Design
21
 In the picture
there are the main
phases of
database design.
 Database design
is connected with
application
design.
Phases of Database Design
21
22
 The requirements and the collection analysis phase
produce both
 data requirements and
 functional requirements
 The data requirements are used as a source of
database design. The data requirements should be
specified in as detailed and complete form as
possible.
In parallel with specifying the data requirements, it is
useful to specify the known functional
requirements of the application.
 These consist of user-defined operations that will be
applied to the database (retrievals and updates).
Phases of Database Design
22
Types of Data Models
24
The three levels of data modeling,
 conceptual data model,
 logical data model, and
 physical data model,
Types of Data Models
24
Data can be modeled at many levels, the most
common are the conceptual, logical and physical
level.
 What is conceptual data modeling?
 It is a very high-level representation of
organizational data.
 The purpose is to show the basic building blocks
for the organization, i.e. the entities and rules
about their meaning and interrelationships.
 Logical data modeling adds more detail to
conceptual modeling, but is still concerned only
with how the organization/business uses data.
 Physical data modeling adds more detail, but is
especially concerned with the actual physical
Types of Data Models
 A conceptual data model identifies the highest-level
relationships between the different entities.
Features of conceptual data model include:
 Includes the important entities and the relationships
among them.
 No attribute is specified.
 No primary key is specified.
 The figure is an example of
a conceptual data model.
Types of Data Models
Conceptual Data Model
 A logical data model describes the data in as much
detail as possible, without regard to how they will be
physical implemented in the database.
Features of a logical data model include:
 Includes all entities and relationships among them.
 All attributes for each entity are specified.
 The primary key for each entity is specified.
 Foreign keys (keys identifying the relationship
between different entities) are specified.
 Normalization occurs at this level.
Types of Data Models
Logical Data Model
The steps for designing the
logical data model are as
follows:
 Specify primary keys for all
entities.
 Find the relationships
between different entities.
 Find all attributes for each
entity.
 Resolve many-to-many
relationships.
Types of Data Models
Logical Data Model
 Physical data model represents how the model will be built in
the database.
 A physical database model shows all table structures, including
column name, column data type, column constraints, primary
key, foreign key, and relationships between tables.
Features of a physical data model include:
 Specification all tables and columns.
 Foreign keys are used to identify relationships between tables.
 Denormalization may occur based on user requirements.
 Physical considerations may cause the physical data model to
be quite different from the logical data model.
 Physical data model will be different for different RDBMS.
 For example, data type for a column may be different
Types of Data Models
Physical Data Model
The steps for physical data
model design are as follows:
 Convert entities into tables.
 Convert relationships into
foreign keys.
 Convert attributes into
columns.
 Modify the physical data
model based on physical
constraints requirements.
Types of Data Models
Physical Data Model
Types of Data Models
Feature
Conceptua
l
Logical Physical
Entity Names ✓ ✓
Entity
Relationships
✓ ✓
Attributes ✓
Primary Keys ✓ ✓
Foreign Keys ✓ ✓
Table Names ✓
Column Names ✓
Column Data
✓
Types of Data Models
Copyright

Weitere ähnliche Inhalte

Was ist angesagt?

File based approach
File based approachFile based approach
File based approachPreethaAS
 
2.3.1 creating database, table and relationship on Access 2003
2.3.1 creating database, table and relationship on Access 20032.3.1 creating database, table and relationship on Access 2003
2.3.1 creating database, table and relationship on Access 2003Steven Alphonce
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)Dhani Ahmad
 
Data Dictionary in System Analysis and Design
Data Dictionary in System Analysis and DesignData Dictionary in System Analysis and Design
Data Dictionary in System Analysis and DesignArafat Hossan
 
Database systems
Database systemsDatabase systems
Database systemsDhani Ahmad
 
Advantages and disadvantages of DBMS
Advantages and disadvantages of DBMSAdvantages and disadvantages of DBMS
Advantages and disadvantages of DBMSMohit Singhal
 
Characteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management SystemCharacteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management SystemCharthaGaglani
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Jotham Gadot
 
A critique on traditional file system vs databases
A critique on traditional file system vs databasesA critique on traditional file system vs databases
A critique on traditional file system vs databasesShallote Dsouza
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
Implementation of dbms
Implementation of dbmsImplementation of dbms
Implementation of dbmsPrashant Ranka
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Ravinder Kamboj
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database ModelsMurassa Gillani
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databasePradnya Saval
 

Was ist angesagt? (20)

ER to Relational Mapping
ER to Relational MappingER to Relational Mapping
ER to Relational Mapping
 
File based approach
File based approachFile based approach
File based approach
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
2.3.1 creating database, table and relationship on Access 2003
2.3.1 creating database, table and relationship on Access 20032.3.1 creating database, table and relationship on Access 2003
2.3.1 creating database, table and relationship on Access 2003
 
Introduction to structured query language (sql)
Introduction to structured query language (sql)Introduction to structured query language (sql)
Introduction to structured query language (sql)
 
Data Dictionary in System Analysis and Design
Data Dictionary in System Analysis and DesignData Dictionary in System Analysis and Design
Data Dictionary in System Analysis and Design
 
Database Chapter 1
Database Chapter 1Database Chapter 1
Database Chapter 1
 
Database systems
Database systemsDatabase systems
Database systems
 
Advantages and disadvantages of DBMS
Advantages and disadvantages of DBMSAdvantages and disadvantages of DBMS
Advantages and disadvantages of DBMS
 
Database design
Database designDatabase design
Database design
 
Characteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management SystemCharacteristics and Advantages of Database Management System
Characteristics and Advantages of Database Management System
 
Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03Fundamentals of Database ppt ch03
Fundamentals of Database ppt ch03
 
A critique on traditional file system vs databases
A critique on traditional file system vs databasesA critique on traditional file system vs databases
A critique on traditional file system vs databases
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
database
databasedatabase
database
 
Implementation of dbms
Implementation of dbmsImplementation of dbms
Implementation of dbms
 
Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)Architecture of dbms(lecture 3)
Architecture of dbms(lecture 3)
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 

Ähnlich wie Week 2 Characteristics & Benefits of a Database & Types of Data Models

Bca examination 2016 dbms
Bca examination 2016 dbmsBca examination 2016 dbms
Bca examination 2016 dbmsAnjaan Gajendra
 
A relational model of data for large shared data banks
A relational model of data for large shared data banksA relational model of data for large shared data banks
A relational model of data for large shared data banksSammy Alvarez
 
1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdffikadumola
 
Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Ankit Dubey
 
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
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementflyinimohamed
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introductionJananath Banuka
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdfMuniraALmogren
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnRajasekhar364622
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Usman Tariq
 
data base unit one on what is databases.pptx
data base unit one on what is databases.pptxdata base unit one on what is databases.pptx
data base unit one on what is databases.pptxmulukendemis44
 
Chap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptChap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptLisaMalar
 

Ähnlich wie Week 2 Characteristics & Benefits of a Database & Types of Data Models (20)

INT 1010 07-5.pdf
INT 1010 07-5.pdfINT 1010 07-5.pdf
INT 1010 07-5.pdf
 
Assign 1
Assign 1Assign 1
Assign 1
 
Bca examination 2016 dbms
Bca examination 2016 dbmsBca examination 2016 dbms
Bca examination 2016 dbms
 
A relational model of data for large shared data banks
A relational model of data for large shared data banksA relational model of data for large shared data banks
A relational model of data for large shared data banks
 
DataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPTDataMgt - UNIT-I .PPT
DataMgt - UNIT-I .PPT
 
1. Chapter One.pdf
1. Chapter One.pdf1. Chapter One.pdf
1. Chapter One.pdf
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01Chapter2databaseenvironment 120307033742-phpapp01
Chapter2databaseenvironment 120307033742-phpapp01
 
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
 
CP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implementCP 121_2.pptx about time to be implement
CP 121_2.pptx about time to be implement
 
Data models
Data modelsData models
Data models
 
Database & dbms
Database & dbmsDatabase & dbms
Database & dbms
 
database ppt(2)
database ppt(2)database ppt(2)
database ppt(2)
 
Database Systems - introduction
Database Systems - introductionDatabase Systems - introduction
Database Systems - introduction
 
1-introduction to DB.pdf
1-introduction to DB.pdf1-introduction to DB.pdf
1-introduction to DB.pdf
 
DBMS-material for b.tech students to learn
DBMS-material for b.tech students to learnDBMS-material for b.tech students to learn
DBMS-material for b.tech students to learn
 
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
Data Models [DATABASE SYSTEMS: Design, Implementation, and Management]
 
data base unit one on what is databases.pptx
data base unit one on what is databases.pptxdata base unit one on what is databases.pptx
data base unit one on what is databases.pptx
 
Chap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.pptChap1-Introduction to database systems.ppt
Chap1-Introduction to database systems.ppt
 
1.introduction qb
1.introduction qb1.introduction qb
1.introduction qb
 

Mehr von oudesign

Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechoudesign
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowoudesign
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchainoudesign
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policyoudesign
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspaceoudesign
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Roboticsoudesign
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3oudesign
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Designoudesign
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2oudesign
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computingoudesign
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSoudesign
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginningoudesign
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Divisionoudesign
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Processoudesign
 
Week 6 Normalization
Week 6 NormalizationWeek 6 Normalization
Week 6 Normalizationoudesign
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Modeloudesign
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modelingoudesign
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directionsoudesign
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Conceptsoudesign
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychologyoudesign
 

Mehr von oudesign (20)

Week 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTechWeek 8 multicultural images OUacademicTech
Week 8 multicultural images OUacademicTech
 
ITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshowITS-35505-Amazing_photoshop_slideshow
ITS-35505-Amazing_photoshop_slideshow
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
 
CST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity PolicyCST 20363 Session 6 Cybersecurity Policy
CST 20363 Session 6 Cybersecurity Policy
 
CST 20363 Session 6 Cyberspace
CST 20363 Session 6 CyberspaceCST 20363 Session 6 Cyberspace
CST 20363 Session 6 Cyberspace
 
CST 20363 Session 5 Robotics
CST 20363 Session 5 RoboticsCST 20363 Session 5 Robotics
CST 20363 Session 5 Robotics
 
CST 20363 Session 3
CST 20363 Session 3CST 20363 Session 3
CST 20363 Session 3
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
 
CST 20363 Session 2
CST 20363 Session 2CST 20363 Session 2
CST 20363 Session 2
 
CST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of ComputingCST 20363-Session 1.2-A Brief History of Computing
CST 20363-Session 1.2-A Brief History of Computing
 
CST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CSCST-20363-Session 1.1-Something Called CS
CST-20363-Session 1.1-Something Called CS
 
CST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the BitginningCST-20363-Session 1-In the Bitginning
CST-20363-Session 1-In the Bitginning
 
Synthetic Division
Synthetic DivisionSynthetic Division
Synthetic Division
 
Week 7 Database Development Process
Week 7 Database Development ProcessWeek 7 Database Development Process
Week 7 Database Development Process
 
Week 6 Normalization
Week 6 NormalizationWeek 6 Normalization
Week 6 Normalization
 
Week 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data ModelWeek 4 The Relational Data Model & The Entity Relationship Data Model
Week 4 The Relational Data Model & The Entity Relationship Data Model
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Week 1 Lab Directions
Week 1 Lab DirectionsWeek 1 Lab Directions
Week 1 Lab Directions
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
 
ACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental PsychologyACG 7000 Week 5 Developmental Psychology
ACG 7000 Week 5 Developmental Psychology
 

Kürzlich hochgeladen

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 

Kürzlich hochgeladen (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 

Week 2 Characteristics & Benefits of a Database & Types of Data Models

  • 2. 2  The processing power of a database allows it to manipulate the data it houses, so it can: Sort Match Link Aggregate Skip fields Calculate Database Manipulation 2
  • 3. 3 Uses for database systems include:  They store data  They store special information used to manage the data. This information is called metadata and it is not shown to all the people looking at the data.  They can solve cases where many users want to access (and possibly change) the same entries of data.  They manage access rights (who is allowed to see the data, who can change it)  When there are many users asking questions to the database, the questions must be answered faster.  Certain attributes are more important than others, Database Uses 3
  • 5. 5 1. Self-describing nature of a database system 2. Insulation between program and data 3. Support for multiple views of data 4. Sharing of data and multiuser system 5. Control of data redundancy 6. Data sharing 7. Enforcement of integrity constraints 8. Restriction of unauthorized access 9. Data independence 10. Transaction processing 11. Provision for multiple views of data 12. Backup and recovery facilities Characteristics of a Database 5
  • 6. 6  A database system is referred to as self- describing because it not only contains the database itself, but also metadata which defines and describes the data and relationships between tables in the database. 1. Self-describing nature of a database system 6 Metadata means "data about data". Metadata is defined as the data providing information about one or more aspects of the data; it is used to summarize basic information about data which can make tracking and working with specific data easier. Some examples include:  Means of creation of the data  Purpose of the data  Time and date of creation  Creator or author of the data  File size
  • 7. 7  In the file based system, the structure of the data files is defined in the application programs so if a user wants to change the structure of a file, all the programs that access that file might need to be changed as well.  On the other hand, in the database approach, the data structure is stored in the system catalog not in the programs. Therefore, one change is all that’s needed. 2. Insulation between program and data 7
  • 8. 8  A database supports multiple views of data.  A view is a subset of the database, which is defined and dedicated for particular users of the system.  Multiple users in the system might have different views of the system.  Each view might contain only the data of interest to a user or group of users. 3. Support for multiple views of data 8
  • 9. 9  Current database systems are designed for multiple users. That is, they allow many users to access the same database at the same time.  This access is achieved through features called concurrency control strategies.  These strategies ensure that the data accessed are always correct and that data integrity is maintained. 4. Sharing of data and multiuser system 9
  • 10. 10  In the database approach, ideally, each data item is stored in only one place in the database.  In some cases, data redundancy still exists to improve system performance, but such redundancy is controlled by application programming and kept to minimum by introducing as little redundancy as possible when designing the database.  The additional data can simply be a complete copy of the actual data, or only select pieces of data that allow detection of errors and reconstruction of lost or damaged data up to a certain level. 5. Control of data redundancy 10
  • 11. 11  The integration of all the data, for an organization, within a database system has many advantages.  First, it allows for data sharing among employees and others who have access to the system.  Second, it gives users the ability to generate more information from a given amount of data than would be possible without the integration. 6. Data sharing 11
  • 12. 12  Database management systems must provide the ability to define and enforce certain constraints to ensure that users enter valid information and maintain data integrity.  A database constraint is a restriction or rule that dictates what can be entered or edited in a table such as a postal code using a certain format or adding a valid city in the City field. Database Constraint: (next slide) 7.Enforcement of integrity constraints 12
  • 13. 7.Enforcement of integrity constraints 13  A NOT NULL constraint prohibits a database value from being null.  A unique constraint prohibits multiple rows from having the same value in the same column or combination of columns but allows some values to be null.  A primary key constraint combines a NOT NULL constraint and a unique constraint in a single declaration. That is, it prohibits multiple rows from having the same value in the same column or combination of columns and prohibits values from being null.  A foreign key constraint requires values in one table to Database Constraint
  • 14. 8. Restriction of unauthorized access 14  Not all users of a database system will have the same accessing privileges.  For example, one user might have read- only access (i.e., the ability to read a file but not make changes), while another might have read and write privileges, which is the ability to both read and modify a file.  For this reason, a database management system should provide a security subsystem to create and control different types of user accounts and restrict unauthorized access.
  • 15. 9. Data independence 15  Another advantage of a database management system is how it allows for data independence.  In other words, the system data descriptions or data describing data (metadata) are separated from the application programs.  This is possible because changes to the data structure are handled by the database management system and are not embedded in the program itself.
  • 16. 10. Transaction processing 16  A database management system must include concurrency control subsystems.  This feature ensures that data remains consistent and valid during transaction processing even if several users update the same information.
  • 17. 11. Provision for multiple views of data 17  By its very nature, a DBMS permits many users to have access to its database either individually or simultaneously.  It is not important for users to be aware of how and where the data they access is stored
  • 18. 12. Backup and recovery facilities 18  Backup and recovery are methods that allow you to protect your data from loss.  The database system provides a separate process, from that of a network backup, for backing up and recovering data.  If a hard drive fails and the database stored on the hard drive is not accessible, the only way to recover the database is from a backup.  If a computer system fails in the middle of a complex update process, the recovery subsystem is responsible for making sure that the database is restored to its original state.
  • 19. Types of Data Models
  • 21. 21  In the picture there are the main phases of database design.  Database design is connected with application design. Phases of Database Design 21
  • 22. 22  The requirements and the collection analysis phase produce both  data requirements and  functional requirements  The data requirements are used as a source of database design. The data requirements should be specified in as detailed and complete form as possible. In parallel with specifying the data requirements, it is useful to specify the known functional requirements of the application.  These consist of user-defined operations that will be applied to the database (retrievals and updates). Phases of Database Design 22
  • 23. Types of Data Models
  • 24. 24 The three levels of data modeling,  conceptual data model,  logical data model, and  physical data model, Types of Data Models 24
  • 25. Data can be modeled at many levels, the most common are the conceptual, logical and physical level.  What is conceptual data modeling?  It is a very high-level representation of organizational data.  The purpose is to show the basic building blocks for the organization, i.e. the entities and rules about their meaning and interrelationships.  Logical data modeling adds more detail to conceptual modeling, but is still concerned only with how the organization/business uses data.  Physical data modeling adds more detail, but is especially concerned with the actual physical Types of Data Models
  • 26.  A conceptual data model identifies the highest-level relationships between the different entities. Features of conceptual data model include:  Includes the important entities and the relationships among them.  No attribute is specified.  No primary key is specified.  The figure is an example of a conceptual data model. Types of Data Models Conceptual Data Model
  • 27.  A logical data model describes the data in as much detail as possible, without regard to how they will be physical implemented in the database. Features of a logical data model include:  Includes all entities and relationships among them.  All attributes for each entity are specified.  The primary key for each entity is specified.  Foreign keys (keys identifying the relationship between different entities) are specified.  Normalization occurs at this level. Types of Data Models Logical Data Model
  • 28. The steps for designing the logical data model are as follows:  Specify primary keys for all entities.  Find the relationships between different entities.  Find all attributes for each entity.  Resolve many-to-many relationships. Types of Data Models Logical Data Model
  • 29.  Physical data model represents how the model will be built in the database.  A physical database model shows all table structures, including column name, column data type, column constraints, primary key, foreign key, and relationships between tables. Features of a physical data model include:  Specification all tables and columns.  Foreign keys are used to identify relationships between tables.  Denormalization may occur based on user requirements.  Physical considerations may cause the physical data model to be quite different from the logical data model.  Physical data model will be different for different RDBMS.  For example, data type for a column may be different Types of Data Models Physical Data Model
  • 30. The steps for physical data model design are as follows:  Convert entities into tables.  Convert relationships into foreign keys.  Convert attributes into columns.  Modify the physical data model based on physical constraints requirements. Types of Data Models Physical Data Model
  • 31. Types of Data Models Feature Conceptua l Logical Physical Entity Names ✓ ✓ Entity Relationships ✓ ✓ Attributes ✓ Primary Keys ✓ ✓ Foreign Keys ✓ ✓ Table Names ✓ Column Names ✓ Column Data ✓
  • 32. Types of Data Models