SlideShare a Scribd company logo
WEEK 1 FUNDAMENTAL OF DATABASE SYSTEMS

Objectivities of this class
1. Learn the Differentiate different terms used in Database System
2. Learn the Database System Concepts
3. Learn the Database Architecture
This class is lecturing in order of above objectivities.
0. Introduction
1) Basic Terms of DB Systems
2) Database Management System

1. Database System Concepts
1) Data Model
2) Database Model

2. Database Architecture
1) Schemas vs. Instances
2) DB Languages and Interfaces
◈ Database:
Integrated collection of stored operational data used
by the application systems of a particular enterprise.
★ Examples:
Retail sector-department stores, Food outlets,
Mass storage-weather records,
Health industry - patient records, etc.
◈ Data vs. Information
★Data:
* Raw facts, concepts, characters, analog quantitie
* A formalized manner suitable for communication or
processing by humans.
* Data items to supply some information about an entity.
★Information:
Meaning that a human assigns to data by means of the
known conventions used in their representation.
◈ Data vs. Information
Data

Information
◈ Field, Columns, Record, Row, File
Field:
Group of characters with specific meaning.
Columns:
Columns corresponding to the attributes of the object.
Record:
Logically connected fields that describe a person, place, or thing.
Row:
A row consists of one set of attributes (or one tuple) corresponding
to one instance of the entity that a table schema describes.
File:
Collection of related records.
Definition:
A collection of programs that enables users to create and maintain
the database.
Advantages of DBMS:
Providing storage structure for efficient query processing.
Restricting unauthorized users.
Providing concurrency, backup and recovery.
Enforcing integrity constraints.
Disadvantages of DBMS:
Centralization
Reporting features may not be available in rDBMS.
Definition of Data model:
* A set of concepts that can be used to describe the structure of
a database:
- data types, relationships, constraints,
semantics and operational behaviour.
* It is a tool for data abstraction.

Data model operations :
Specifying database retrievals and updates by referring to the
concepts of the data model.
Categories of data models
Conceptual data model
Logical data model
Physical data model
• Identifying the business concepts (entities)
• Relationships between these concepts in order to gain, reflect, and
document understanding of the organization’s business from a data
perspective.
• Describes the data in as much detail as possible
• Specification all tables and columns.

• Foreign keys are used to identify relationships between tables.
Categories of database models

Flat database model
Hierarchical database model
Network database model
Relational database model
• Consists of a single, two-dimensional array of data elements.
• Data is organized into a tree-like structure, implying a single upward link
in each record to describe the nesting.
• A sort field to keep the records in a particular order in each same-

level list.
• Organizes data using two fundamental constructs, called records and sets.
• Records contain fields hierarchically.
• Allows the definition of data structures, storage and retrieval operations
and integrity constraints
• Organised in tables which is a collection of records and each record in a
table contains the same fields.
Schema:
- Logical structure of the database

Database Schema
- Described in a formal language by the DBMS
- Be able to create a blueprint of how a database
will be constructed
Schema Diagram
- A diagrammatic display of (some aspects of) a
database schema
Schema Diagram Example:
Definition:
The set of specifications, rules, processes
-- dictate how data is stored in a database
-- how data is accessed by components of a system.
Includes data types, relationships, and naming conventions.
Describes the organization of all database objects and how they
work together.
Affects integrity, reliability, scalability, and performance.
Involves anything that defines the nature, the structure of the data,
or how the data flows.
Database Independence :
Logical data independence
The capacity to change the conceptual schema without having to
change external schema or application programs.
Ex: employee (e#, name, address, salary)
Physical data independence
The capacity to change the internal schema without having to
change the conceptual (or external) schema.
Database Language :
Data Definition Language (DDL)
Used to specify the conceptual schema of a database.
For defining internal and external schemas(view).
* In some DBMSs, separate storage definition language (sdl) and
view definition language (vdl) are used to define internal and
external schemas.

Data Manipulation Language (DML)
Used to specify database retrievals and updates.
DML commands can be embedded in a general-purpose
programming language (host language), such as COBOL, C .
Data Control Language (DML)
High/Low level or Procedural/non-procedural languages.
Definition :
The aggregate of means by which people interact with the database.
- Input : users to manipulate a system
- Output : to produce the effects of the users' manipulation.

Examples :
Stand-alone query language interfaces.
Programmer interfaces.
* Pre-compiler approach
* Procedure (subroutine) call approach
User-friendly interfaces.
* Menu-based, popular for browsing on the web
* Forms-based, designed for naïve users
* Graphics-based (point and click, drag and drop etc.)
* Natural language: requests in written English
Week 1 Database System Concepts and Architecture:
summary

Real-life example

 Database Basic Concepts:
 DB Models:
 Schema:
 DB Architecture:
 DB Language:
 DB Interfaces:

quiz
Week 1 Database System Concepts and Architecture:
summary

Real-life example

quiz

 DVD Rental Database
A business on DVD Rental is a real life example of database application.
For instance the enterprise may track information about DVDs, employees,
customers and their phone numbers and the movies they offer along with details
such as their genre, addresses, ages...
Without the use of the database system the rental shop has to maintain scattered
DVD records and customer information. A centralized database will help to
provide general accessibility to this information as well as ensuring that the data
is preserved more securely.
The system may provide not only the features stated above and some other
features .
Week 1 Database System Concepts and Architecture:
summary

Real-life example

quiz

• Database schema for DVD Rental
DVD
DVD Id

Title

Published Year

Customer
Customer Id

Last Name

Director Id

Last Name

First Name

Sex

Address

Phone No

Address

Phone No

Director
First Name

Sex

Actor
Actor Id

Last Name

First Name

Sex

Address

Phone No
Week 1 Database System Concepts and Architecture:
summary

Real-life example

quiz

Introduction to Database Systems
1. A representations of raw facts, concepts, or instructions in a formalized manner
suitable for communication, interpretation, or processing by humans or by
automatic means is known as:
A. A field
B. Data
C. Information
D. A database
E. A record
2. The basic unit of data entry is called:
A. A field
B. A character
C. A bit
D. A kilobit
E. A cell

Enter answer,,,.
Week 1 Database System Concepts and Architecture:
summary

Real-life example

quiz

Introduction to Database Systems
1. A representations of raw facts, concepts, or instructions in a formalized manner
suitable for communication, interpretation, or processing by humans or by
automatic means is known as:
A. A field
B. Data
C. Information
D. A database
E. A record
2. The basic unit of data entry is called:
A. A field
B. A character
C. A bit
D. A kilobit
E. A cell

answer is:
1. B

2. A
Week 1 Database System Concepts and Architecture:
summary

Real-life example

quiz

3. A collection of related records is:
A. A character
B. A file
C. A bit
D. A kilobit
E. A cell
4.. A set of programs supporting the creation, maintenance and operation of
a database is called:
A. SQL SERVER
B. DBMS
C. BROWSER
D. WORD PROCESSOR
E. MS ACCESS

Enter answer,,,.
Week 1 Database System Concepts and Architecture:
summary

Real-life example

quiz

3. A collection of related records is:
A. A character
B. A file
C. A bit
D. A kilobit
E. A cell
4.. A set of programs supporting the creation, maintenance and operation of
a database is called:
A. SQL SERVER
B. DBMS
C. BROWSER
D. WORD PROCESSOR
E. MS ACCESS

answer is:
3. C

4. B

More Related Content

What's hot

Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
baabtra.com - No. 1 supplier of quality freshers
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
Praveen M Jigajinni
 
Mc0077 – advanced database systems
Mc0077 – advanced database systemsMc0077 – advanced database systems
Mc0077 – advanced database systems
Rabby Bhatt
 
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
oudesign
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
Ajay Jha
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
Bryan Corpuz
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
Marlon Jamera
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
Luke Lonergan
 
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
oudesign
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
Archit Saxena
 
Object-Relational Database Systems(ORDBMSs)
Object-Relational Database Systems(ORDBMSs)Object-Relational Database Systems(ORDBMSs)
Object-Relational Database Systems(ORDBMSs)
Sahan Walpitagamage
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
RajThakuri
 
Database system concepts
Database system conceptsDatabase system concepts
Database system conceptsKumar
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
Free Open Source Software Technology Lab
 
Database Part 2
Database Part 2Database Part 2
Database Part 2
Fizaril Amzari Omar
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
Pranab Dasgupta
 
Database management system chapter12
Database management system chapter12Database management system chapter12
Database management system chapter12Md. Mahedi Mahfuj
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database ConceptsRosalyn Lemieux
 
Dbms Lecture Notes
Dbms Lecture NotesDbms Lecture Notes
Dbms Lecture Notes
dM Technologies
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
sontumax
 

What's hot (20)

Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
 
11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Mc0077 – advanced database systems
Mc0077 – advanced database systemsMc0077 – advanced database systems
Mc0077 – advanced database systems
 
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
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Introduction to databases
Introduction to databasesIntroduction to databases
Introduction to databases
 
Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
 
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
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Object-Relational Database Systems(ORDBMSs)
Object-Relational Database Systems(ORDBMSs)Object-Relational Database Systems(ORDBMSs)
Object-Relational Database Systems(ORDBMSs)
 
Data resource management and DSS
Data resource management and DSSData resource management and DSS
Data resource management and DSS
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
Database Part 2
Database Part 2Database Part 2
Database Part 2
 
Database management system chapter1
Database management system chapter1Database management system chapter1
Database management system chapter1
 
Database management system chapter12
Database management system chapter12Database management system chapter12
Database management system chapter12
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Dbms Lecture Notes
Dbms Lecture NotesDbms Lecture Notes
Dbms Lecture Notes
 
Database System Concepts and Architecture
Database System Concepts and ArchitectureDatabase System Concepts and Architecture
Database System Concepts and Architecture
 

Similar to Week 1

Database management systems
Database management systemsDatabase management systems
Database management systems
Ravindra Singh Gohil
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
Daniel Francisco Tamayo
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
dbms notes.ppt
dbms notes.pptdbms notes.ppt
dbms notes.ppt
Ranjit273515
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Dipen Parmar
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
Rupali Rana
 
23246406 dbms-unit-1
23246406 dbms-unit-123246406 dbms-unit-1
23246406 dbms-unit-1
Piyush Kant Singh
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
DhruveeHalvadiya
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
MrjJoker1
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS
DBMS DBMS
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
ranjana dalwani
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
Nirmalavenkatachalam
 
Database Management System NOTES for 2nd year
Database Management System NOTES for 2nd yearDatabase Management System NOTES for 2nd year
Database Management System NOTES for 2nd year
dhasamalika
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
parveen204931475
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
Siti Ismail
 

Similar to Week 1 (20)

Unit01 dbms
Unit01 dbmsUnit01 dbms
Unit01 dbms
 
Database management systems
Database management systemsDatabase management systems
Database management systems
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 
dbms notes.ppt
dbms notes.pptdbms notes.ppt
dbms notes.ppt
 
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...Kskv kutch university DBMS unit 1  basic concepts, data,information,database,...
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
 
Ch 2-introduction to dbms
Ch 2-introduction to dbmsCh 2-introduction to dbms
Ch 2-introduction to dbms
 
23246406 dbms-unit-1
23246406 dbms-unit-123246406 dbms-unit-1
23246406 dbms-unit-1
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
DBMS.pptx
DBMS.pptxDBMS.pptx
DBMS.pptx
 
DBMS
DBMS DBMS
DBMS
 
DBMS introduction and functionality of of dbms
DBMS introduction and functionality of  of dbmsDBMS introduction and functionality of  of dbms
DBMS introduction and functionality of of dbms
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
Database Management System NOTES for 2nd year
Database Management System NOTES for 2nd yearDatabase Management System NOTES for 2nd year
Database Management System NOTES for 2nd year
 
27 fcs157al2
27 fcs157al227 fcs157al2
27 fcs157al2
 
database introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdfdatabase introductoin optimization1-app6891.pdf
database introductoin optimization1-app6891.pdf
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 

Recently uploaded

GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 

Recently uploaded (20)

GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 

Week 1

  • 1. WEEK 1 FUNDAMENTAL OF DATABASE SYSTEMS Objectivities of this class 1. Learn the Differentiate different terms used in Database System 2. Learn the Database System Concepts 3. Learn the Database Architecture This class is lecturing in order of above objectivities.
  • 2. 0. Introduction 1) Basic Terms of DB Systems 2) Database Management System 1. Database System Concepts 1) Data Model 2) Database Model 2. Database Architecture 1) Schemas vs. Instances 2) DB Languages and Interfaces
  • 3. ◈ Database: Integrated collection of stored operational data used by the application systems of a particular enterprise. ★ Examples: Retail sector-department stores, Food outlets, Mass storage-weather records, Health industry - patient records, etc.
  • 4. ◈ Data vs. Information ★Data: * Raw facts, concepts, characters, analog quantitie * A formalized manner suitable for communication or processing by humans. * Data items to supply some information about an entity. ★Information: Meaning that a human assigns to data by means of the known conventions used in their representation.
  • 5. ◈ Data vs. Information Data Information
  • 6. ◈ Field, Columns, Record, Row, File Field: Group of characters with specific meaning. Columns: Columns corresponding to the attributes of the object. Record: Logically connected fields that describe a person, place, or thing. Row: A row consists of one set of attributes (or one tuple) corresponding to one instance of the entity that a table schema describes. File: Collection of related records.
  • 7. Definition: A collection of programs that enables users to create and maintain the database. Advantages of DBMS: Providing storage structure for efficient query processing. Restricting unauthorized users. Providing concurrency, backup and recovery. Enforcing integrity constraints. Disadvantages of DBMS: Centralization Reporting features may not be available in rDBMS.
  • 8. Definition of Data model: * A set of concepts that can be used to describe the structure of a database: - data types, relationships, constraints, semantics and operational behaviour. * It is a tool for data abstraction. Data model operations : Specifying database retrievals and updates by referring to the concepts of the data model.
  • 9. Categories of data models Conceptual data model Logical data model Physical data model
  • 10. • Identifying the business concepts (entities) • Relationships between these concepts in order to gain, reflect, and document understanding of the organization’s business from a data perspective.
  • 11. • Describes the data in as much detail as possible
  • 12. • Specification all tables and columns. • Foreign keys are used to identify relationships between tables.
  • 13. Categories of database models Flat database model Hierarchical database model Network database model Relational database model
  • 14. • Consists of a single, two-dimensional array of data elements.
  • 15. • Data is organized into a tree-like structure, implying a single upward link in each record to describe the nesting. • A sort field to keep the records in a particular order in each same- level list.
  • 16. • Organizes data using two fundamental constructs, called records and sets. • Records contain fields hierarchically.
  • 17. • Allows the definition of data structures, storage and retrieval operations and integrity constraints • Organised in tables which is a collection of records and each record in a table contains the same fields.
  • 18. Schema: - Logical structure of the database Database Schema - Described in a formal language by the DBMS - Be able to create a blueprint of how a database will be constructed Schema Diagram - A diagrammatic display of (some aspects of) a database schema
  • 20. Definition: The set of specifications, rules, processes -- dictate how data is stored in a database -- how data is accessed by components of a system. Includes data types, relationships, and naming conventions. Describes the organization of all database objects and how they work together. Affects integrity, reliability, scalability, and performance. Involves anything that defines the nature, the structure of the data, or how the data flows.
  • 21. Database Independence : Logical data independence The capacity to change the conceptual schema without having to change external schema or application programs. Ex: employee (e#, name, address, salary) Physical data independence The capacity to change the internal schema without having to change the conceptual (or external) schema.
  • 22. Database Language : Data Definition Language (DDL) Used to specify the conceptual schema of a database. For defining internal and external schemas(view). * In some DBMSs, separate storage definition language (sdl) and view definition language (vdl) are used to define internal and external schemas. Data Manipulation Language (DML) Used to specify database retrievals and updates. DML commands can be embedded in a general-purpose programming language (host language), such as COBOL, C . Data Control Language (DML) High/Low level or Procedural/non-procedural languages.
  • 23. Definition : The aggregate of means by which people interact with the database. - Input : users to manipulate a system - Output : to produce the effects of the users' manipulation. Examples : Stand-alone query language interfaces. Programmer interfaces. * Pre-compiler approach * Procedure (subroutine) call approach User-friendly interfaces. * Menu-based, popular for browsing on the web * Forms-based, designed for naïve users * Graphics-based (point and click, drag and drop etc.) * Natural language: requests in written English
  • 24. Week 1 Database System Concepts and Architecture: summary Real-life example  Database Basic Concepts:  DB Models:  Schema:  DB Architecture:  DB Language:  DB Interfaces: quiz
  • 25. Week 1 Database System Concepts and Architecture: summary Real-life example quiz  DVD Rental Database A business on DVD Rental is a real life example of database application. For instance the enterprise may track information about DVDs, employees, customers and their phone numbers and the movies they offer along with details such as their genre, addresses, ages... Without the use of the database system the rental shop has to maintain scattered DVD records and customer information. A centralized database will help to provide general accessibility to this information as well as ensuring that the data is preserved more securely. The system may provide not only the features stated above and some other features .
  • 26. Week 1 Database System Concepts and Architecture: summary Real-life example quiz • Database schema for DVD Rental DVD DVD Id Title Published Year Customer Customer Id Last Name Director Id Last Name First Name Sex Address Phone No Address Phone No Director First Name Sex Actor Actor Id Last Name First Name Sex Address Phone No
  • 27. Week 1 Database System Concepts and Architecture: summary Real-life example quiz Introduction to Database Systems 1. A representations of raw facts, concepts, or instructions in a formalized manner suitable for communication, interpretation, or processing by humans or by automatic means is known as: A. A field B. Data C. Information D. A database E. A record 2. The basic unit of data entry is called: A. A field B. A character C. A bit D. A kilobit E. A cell Enter answer,,,.
  • 28. Week 1 Database System Concepts and Architecture: summary Real-life example quiz Introduction to Database Systems 1. A representations of raw facts, concepts, or instructions in a formalized manner suitable for communication, interpretation, or processing by humans or by automatic means is known as: A. A field B. Data C. Information D. A database E. A record 2. The basic unit of data entry is called: A. A field B. A character C. A bit D. A kilobit E. A cell answer is: 1. B 2. A
  • 29. Week 1 Database System Concepts and Architecture: summary Real-life example quiz 3. A collection of related records is: A. A character B. A file C. A bit D. A kilobit E. A cell 4.. A set of programs supporting the creation, maintenance and operation of a database is called: A. SQL SERVER B. DBMS C. BROWSER D. WORD PROCESSOR E. MS ACCESS Enter answer,,,.
  • 30. Week 1 Database System Concepts and Architecture: summary Real-life example quiz 3. A collection of related records is: A. A character B. A file C. A bit D. A kilobit E. A cell 4.. A set of programs supporting the creation, maintenance and operation of a database is called: A. SQL SERVER B. DBMS C. BROWSER D. WORD PROCESSOR E. MS ACCESS answer is: 3. C 4. B