SlideShare une entreprise Scribd logo
1  sur  41
Z
Week6:
Basic Concept of Database
Subject Code: COMP131
By: Marlon Jamera
Email: mbjamera@ama.edu.ph
Z
Basic Concept of Database
Z
Scope of the Lesson
• Basic Concepts of Database
• Concept of Database
• Data Models, Schema and Instances
• Components of Database System
• Database System Architecture
Z
Learning Outcomes
By the end of the lesson, you will be
familiar with the current trends in the database
and its concepts.
• Define and explain perception of the basic
database management.
• Identify and compare the dynamics of the
different types of data models, schema and
instances.
• Describe the features and the aim of
components of database systems.
Z
Introduction
• DBMS stands for Database Management
System.
• DBMS is a software system for creating,
organizing and managing the database.
• It provides an environment to the user to
perform operations on the database for creation,
insertion, deletion, updating and retrieval of
data.
Z
What is a Data?
• Data: A collection of raw facts and figures.
• Raw material that can be processed by any
computing machine.
• A collection of facts from which conclusions
may be drawn.
• Data can be represented in the form of:
numbers and words which can be stored in
computer’s language.
Z
What is Information?
• Information: Systematic and meaningful form
of data.
• Knowledge acquired through study or
experience.
• Information helps human beings in their
decision making.
Z
Database
• Database: A repository of logically related and
similar data.
• An organized collection of related
information so that it can easily be accessed,
managed and updated.
• E.g.
Dictionary
Airline Database
Student Database
Library
Railways Timetable
YouTube
Z
Data Models, Schema and Instances
• Data Models: Describes structure of the
database.
• Aim is to support the development
of information systems by providing the
definition and format of data.
•If the same data structures are used to store
and access data then different applications can
share data.
Z
Data Models, Schema and Instances
• Data Models:
• Classifications:
1. High – Level Model
2. Representation Model
3. Low – Level Model
Z
Data Models, Schema and Instances
• High – Level Model: Ensures the data
requirement of the users.
• Not concerned with representation, but it’s a
conceptual form.
Z
Data Models, Schema and Instances
•Three Important Terms:
• Entity: Any object, exists physically or
conceptually.
• Attribute: Property or characteristic of
entity.
• Relationship: Association or link b/w two
entities.
* These 3 terms make Entity-Relationship
Model.
Z
Data Models, Schema and Instances
• Entity-Relationship Model
College Principal
College
Student C
Student A
Student B
College 3
College 2
College 1
Course C
Course B
Course A
Student Course
Admissi
on
Stud_Name Stud_Roll No Course_Id Course_Name
Relationships
ER Diagram
Z
Data Models, Schema and Instances
• Representation Model: Representation of data
stored inside a database.
• Describes the physical structure of the
database.
• It uses the concepts which are close to the
end-users.
Z
Data Models, Schema and Instances
• Representation Model:
• Classifications:
1. Hierarchical Database Model
2. Relational Database Model
3. Network Database Model
Z
Data Models, Schema and Instances
• Hierarchical Database Model: Developed by
IBM, is the Oldest database model.
• Represented using a tree-diagram.
• Each box is called a ‘Node’
•The nodes represent a record type.
• A line connecting nodes represents the link.
Z
Data Models, Schema and Instances
• Hierarchical Database Model: Parent-child
type is suited for One-to-many relationship
between two entities.
• But difficult to implement many-to-many
relationship.
• E.g. IMS system from IBM.
Z
Data Models, Schema and Instances
Hierarchical
Database
Model
Director
Marketing
Manager
HR Manager
Area Manager
1
Area Manager
2
Area Manager
3
Sales Executive Sales Executive
Sales Representative
Sales
Manager
Z
Data Models, Schema and Instances
• Relational Database Model: Simplest and the
most common model.
• Developed in 1970 by E.F. Codd, it became
commercial in the 80s.
• Data elements are stored in different tables
made up of rows and columns.
Roll No Name Surname Section
1001 Juan Dela Cruz D
1002 Maria Santina D
Z
Data Models, Schema and Instances
• Network Database Model: Represented using
a Data-Structure Diagram.
• Boxes represents the records & lines are the
links.
• Members of an owner may be many but for
many members owner is one.
• Can represent one-to-one
and many-to-many as well.
Z
Data Models, Schema and Instances
• Network Database Model:
Teacher 1 Teacher 2 Teacher 3
Course A Course B Course C
Student 1 Student 2 Student 3
Z
Data Models, Schema and Instances
• Schema: Logical structure of the database.
• Doesn’t show the data in database.
• Classifications:
1. Physical
2. Conceptual
3. External
Z
Data Models, Schema and Instances
• Physical Schema: Describes the physical
storage of database. Not in terms of blocks or
devices, but describes organization of files,
access path etc.
• Conceptual Schema: Describes structure of
whole database and describes entities like
relationship and constraints.
• External Schema: Provides a user’s view of
data and shows relevant info particular to users.
Z
Components of Database System
• User: People who interact with the database.
• Application Programmers
• End users
• Data Administrator
• Software: Lies between the stored data and
the users.
• DBMS
• Application Software
• User Interface
Z
Components of Database System
• Hardware: Physical device on which database
resides.
• Computers
• Hard Drives
• Cables, etc.
• Data: Numbers, characters, picures.
• 1001, Juan Dela Cruz, Student.
Z
Database Management System
• DBMS: A set of programs to access the
interrelated data.
• DBMS contains information about a
particular enterprise.
• Computerized record keeping system.
• Provides convenient environment to user to
perform operations:
• Creation, Insertion, Deletion, Updating and
Retrieving of Information
Z
Database Administrator
• DBA: Individual or a group, having
centralized control of the database.
• Has a good understanding of database and
coordinates all activities of the database
• Functions:
• Define Schema
• Granting user authority to access the
database.
• Monitoring performance and responsible to
change.
Z
Database Languages
• Once data is filled, manipulation is required
(Insertion, Deletion, Modification of Data)
• For these, a set of languages are provided by
DBMS:
• Data Definition Language
• Data Manipulation Language
• Data Control Language
Z
Database Languages
• Data Definition Language (DDL): Used by
DB designers to define schema. DDL compiler
converts DDL statements and generate a set of
tables which are stored in.
• Data Manipulation Language (DML): For
accessing and manipulating the data.
• Data Control Language (DCL): Similar to a
computer programming language used to
control access to data stored in a database.
Z
Database System Architecture
• The journey from big mainframe to pc has
also evolved the database and its architecture.
• Classifications:
1. Centralized DBMS Architecture
2. Client – Server Architecture
3. Distributed Databases
Z
Database System Architecture
• Centralized DBMS Architecture: Traditional
form, all data, functionality, apps are located on
one machine.
• Access via communication links.
Enterprise
database
Z
Database System Architecture
• Client – Server Architecture: Involves a client
and a server.
• Clients are PC’s or Workstations.
• Servers are powerful computers, can manage
files, printers, e-mails.
• Client interacts server when additional
functionality doesn’t exits in its own machine.
Z
Database System Architecture
• Client – Server Architecture:
User interface
Application program
Database tables
Client
Application server
Database server
Z
Database System Architecture
• Distributed Database Architecture:
Decentralized functionality, distributed among
many computers.
• Storage computers are at different
geographical locations.
Enterprise
main
database
Fragment
Fragment
Fragment
Fragment
Fragment
Z
Advantages of DBMS
• Controlling Data Redundancy: Data is
recorded only in one place in the database and
its not duplicated.
• Data Consistency: Data item appears only
once, and the updated value is immediately
available to all users.
• Control Over Concurrency: In a computer file
– based system in updating, one may overwrite
the values recorded by the other.
Z
Advantages of DBMS
• Backup and Recovery Procedures:
Automatically create the backup of data and
restore the data if required.
• Data Independence: Separation of data
structure of database from application program
that uses the data is called data independency.
Z
Disadvantage of DBMS
• Cost of Hardware and Software: Processor
with high speed of data processing and memory
of large size is required.
• Cost of Data Conversion: Very difficult and
costly method to convert data of data file into
database.
• Cost of Staff Training: A lot of amount for the
training of staff to run the DBMS.
Z
Disadvantage of DBMS
• Appointing Technical Staff: Trained technical
person such as database administrator,
application programmers, data entry operators,
etc are required to handle DBMS.
• Database Damage: All data is integrated into a
single database. If database is damaged due to
electric failure or database is corrupted on the
storage media, then your valuable data may be
lost forever.
Z
Applications of DBMS
• Airlines and Railways: Online databases for
reservation and displaying the schedule info.
• Banking: Customer inquiry, accounts, loans
and other transactions.
• Education: Course registration, student info
and other information.
Z
Applications of DBMS
• E-commerce: Business activity such as online
shopping, booking of holiday package and
consulting a doctor.
• Human Resources: Organization uses
databases for storing information about their
employees, salaries, benefits, taxes and for
generating salary checks.
Z
Let’s call it a day,
Thank you!

Contenu connexe

Tendances (20)

Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with ExamplesDML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
 
Components and Advantages of DBMS
Components and Advantages of DBMSComponents and Advantages of DBMS
Components and Advantages of DBMS
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
Rdbms
RdbmsRdbms
Rdbms
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Dbms and rdbms ppt
Dbms and rdbms pptDbms and rdbms ppt
Dbms and rdbms ppt
 
Database management system
Database management system Database management system
Database management system
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Data Models
Data ModelsData Models
Data Models
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
Database language
Database languageDatabase language
Database language
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
Dbms
DbmsDbms
Dbms
 
DATABASE CONSTRAINTS
DATABASE CONSTRAINTSDATABASE CONSTRAINTS
DATABASE CONSTRAINTS
 
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]Basic Concept Of Database Management System (DBMS) [Presentation Slide]
Basic Concept Of Database Management System (DBMS) [Presentation Slide]
 
Er model ppt
Er model pptEr model ppt
Er model ppt
 
Types of databases
Types of databases   Types of databases
Types of databases
 

En vedette

Les08 (manipulating data)
Les08 (manipulating data)Les08 (manipulating data)
Les08 (manipulating data)Achmad Solichin
 
Sql database object
Sql database objectSql database object
Sql database objectHarry Potter
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke LonerganLuke Lonergan
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database systemphilipsinter
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WPNguyen Tuan
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architectureNeeraj Kumar
 
Database Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDatabase Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDAGEOP LTD
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architectureKumar
 
overview of database concept
overview of database conceptoverview of database concept
overview of database conceptgourav kottawar
 
Database, data storage, hosting with Firebase
Database, data storage, hosting with FirebaseDatabase, data storage, hosting with Firebase
Database, data storage, hosting with FirebaseTu Pham
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database ConceptsRosalyn Lemieux
 
DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...
DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...
DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...Beat Signer
 

En vedette (20)

Les08 (manipulating data)
Les08 (manipulating data)Les08 (manipulating data)
Les08 (manipulating data)
 
Sql database object
Sql database objectSql database object
Sql database object
 
Database Concept by Luke Lonergan
Database Concept by Luke LonerganDatabase Concept by Luke Lonergan
Database Concept by Luke Lonergan
 
Fundamentals of Database system
Fundamentals of Database systemFundamentals of Database system
Fundamentals of Database system
 
09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP09.Local Database Files and Storage on WP
09.Local Database Files and Storage on WP
 
Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
 
Database Basics
Database BasicsDatabase Basics
Database Basics
 
Les09 Manipulating Data
Les09 Manipulating DataLes09 Manipulating Data
Les09 Manipulating Data
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architecture
 
OAI and OAI-PMH
OAI and OAI-PMHOAI and OAI-PMH
OAI and OAI-PMH
 
Database Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDatabase Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance Analysis
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
 
Chapter02
Chapter02Chapter02
Chapter02
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
Database, data storage, hosting with Firebase
Database, data storage, hosting with FirebaseDatabase, data storage, hosting with Firebase
Database, data storage, hosting with Firebase
 
Modern PHP Developer
Modern PHP DeveloperModern PHP Developer
Modern PHP Developer
 
Database migration
Database migrationDatabase migration
Database migration
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
 
Database management system basic, database, database management, learn databa...
Database management system basic, database, database management, learn databa...Database management system basic, database, database management, learn databa...
Database management system basic, database, database management, learn databa...
 
DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...
DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...
DBMS Architectures and Features - Lecture 7 - Introduction to Databases (1007...
 

Similaire à Basic Concept of Database

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptxAshmitKashyap1
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxRiannel Tecson
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxSoniaDevi15
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungaVaradKadtan1
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxuwmctesting
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2Mukund Trivedi
 
Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...mayurjagdale4
 
Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Vijayananda Ratnam Ch
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1Jyothis Menon
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptxdhanajimirajkar1
 

Similaire à Basic Concept of Database (20)

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
Fundamentals of DBMS
Fundamentals of DBMSFundamentals of DBMS
Fundamentals of DBMS
 
DBMS
DBMS DBMS
DBMS
 
Week 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptxWeek 1 and 2 Getting started with DBMS.pptx
Week 1 and 2 Getting started with DBMS.pptx
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
 
Ch1_Intro-95(1).ppt
Ch1_Intro-95(1).pptCh1_Intro-95(1).ppt
Ch1_Intro-95(1).ppt
 
dbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodungadbms Unit 1.pdf arey bhai teri maa chodunga
dbms Unit 1.pdf arey bhai teri maa chodunga
 
Unit 1 dbms
Unit 1 dbmsUnit 1 dbms
Unit 1 dbms
 
DatabaseManagementSystem.pptx
DatabaseManagementSystem.pptxDatabaseManagementSystem.pptx
DatabaseManagementSystem.pptx
 
Unit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptxUnit 2 DATABASE ESSENTIALS.pptx
Unit 2 DATABASE ESSENTIALS.pptx
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
 
Lecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.pptLecture 1 =Unit 1 Part 1.ppt
Lecture 1 =Unit 1 Part 1.ppt
 
Unit 1.pptx
Unit 1.pptxUnit 1.pptx
Unit 1.pptx
 
Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...Database Management Systems (DBMS) are software systems used to store, retrie...
Database Management Systems (DBMS) are software systems used to store, retrie...
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)Introduction to Database Management Systems (DBMS)
Introduction to Database Management Systems (DBMS)
 
DBMS-Unit-1.pptx
DBMS-Unit-1.pptxDBMS-Unit-1.pptx
DBMS-Unit-1.pptx
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 
01-database-management.pptx
01-database-management.pptx01-database-management.pptx
01-database-management.pptx
 

Plus de Marlon Jamera

JavaScript Conditional Statements
JavaScript Conditional StatementsJavaScript Conditional Statements
JavaScript Conditional StatementsMarlon Jamera
 
Tables and Forms in HTML
Tables and Forms in HTMLTables and Forms in HTML
Tables and Forms in HTMLMarlon Jamera
 
Images and Lists in HTML
Images and Lists in HTMLImages and Lists in HTML
Images and Lists in HTMLMarlon Jamera
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScriptMarlon Jamera
 
Trends in the Database
Trends in the DatabaseTrends in the Database
Trends in the DatabaseMarlon Jamera
 
Trends in Database Management
Trends in Database ManagementTrends in Database Management
Trends in Database ManagementMarlon Jamera
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTMLMarlon Jamera
 
Website Basics and Categories
Website Basics and CategoriesWebsite Basics and Categories
Website Basics and CategoriesMarlon Jamera
 
Trends In Telecommunications
Trends In TelecommunicationsTrends In Telecommunications
Trends In TelecommunicationsMarlon Jamera
 
Hardware Technology Trends
Hardware Technology TrendsHardware Technology Trends
Hardware Technology TrendsMarlon Jamera
 
Familiarization with Web Tools
Familiarization with Web ToolsFamiliarization with Web Tools
Familiarization with Web ToolsMarlon Jamera
 
Internet Applications
Internet ApplicationsInternet Applications
Internet ApplicationsMarlon Jamera
 
Introduction to World Wide Web
Introduction to World Wide WebIntroduction to World Wide Web
Introduction to World Wide WebMarlon Jamera
 

Plus de Marlon Jamera (17)

JavaScript Conditional Statements
JavaScript Conditional StatementsJavaScript Conditional Statements
JavaScript Conditional Statements
 
Tables and Forms in HTML
Tables and Forms in HTMLTables and Forms in HTML
Tables and Forms in HTML
 
Images and Lists in HTML
Images and Lists in HTMLImages and Lists in HTML
Images and Lists in HTML
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
ICT in Society
ICT in SocietyICT in Society
ICT in Society
 
ICT in Business
ICT in BusinessICT in Business
ICT in Business
 
The Future of ICT
The Future of ICTThe Future of ICT
The Future of ICT
 
Trends in the Database
Trends in the DatabaseTrends in the Database
Trends in the Database
 
Trends in Database Management
Trends in Database ManagementTrends in Database Management
Trends in Database Management
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
 
Website Basics and Categories
Website Basics and CategoriesWebsite Basics and Categories
Website Basics and Categories
 
Trends In Telecommunications
Trends In TelecommunicationsTrends In Telecommunications
Trends In Telecommunications
 
Software Trends
Software TrendsSoftware Trends
Software Trends
 
Hardware Technology Trends
Hardware Technology TrendsHardware Technology Trends
Hardware Technology Trends
 
Familiarization with Web Tools
Familiarization with Web ToolsFamiliarization with Web Tools
Familiarization with Web Tools
 
Internet Applications
Internet ApplicationsInternet Applications
Internet Applications
 
Introduction to World Wide Web
Introduction to World Wide WebIntroduction to World Wide Web
Introduction to World Wide Web
 

Dernier

Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Standkumarajju5765
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Onlineanilsa9823
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.CarlotaBedoya1
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Servicesexy call girls service in goa
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.soniya singh
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 

Dernier (20)

Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service OnlineCALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
CALL ON ➥8923113531 🔝Call Girls Lucknow Lucknow best sexual service Online
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Connaught Place ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 

Basic Concept of Database

  • 1. Z Week6: Basic Concept of Database Subject Code: COMP131 By: Marlon Jamera Email: mbjamera@ama.edu.ph
  • 3. Z Scope of the Lesson • Basic Concepts of Database • Concept of Database • Data Models, Schema and Instances • Components of Database System • Database System Architecture
  • 4. Z Learning Outcomes By the end of the lesson, you will be familiar with the current trends in the database and its concepts. • Define and explain perception of the basic database management. • Identify and compare the dynamics of the different types of data models, schema and instances. • Describe the features and the aim of components of database systems.
  • 5. Z Introduction • DBMS stands for Database Management System. • DBMS is a software system for creating, organizing and managing the database. • It provides an environment to the user to perform operations on the database for creation, insertion, deletion, updating and retrieval of data.
  • 6. Z What is a Data? • Data: A collection of raw facts and figures. • Raw material that can be processed by any computing machine. • A collection of facts from which conclusions may be drawn. • Data can be represented in the form of: numbers and words which can be stored in computer’s language.
  • 7. Z What is Information? • Information: Systematic and meaningful form of data. • Knowledge acquired through study or experience. • Information helps human beings in their decision making.
  • 8. Z Database • Database: A repository of logically related and similar data. • An organized collection of related information so that it can easily be accessed, managed and updated. • E.g. Dictionary Airline Database Student Database Library Railways Timetable YouTube
  • 9. Z Data Models, Schema and Instances • Data Models: Describes structure of the database. • Aim is to support the development of information systems by providing the definition and format of data. •If the same data structures are used to store and access data then different applications can share data.
  • 10. Z Data Models, Schema and Instances • Data Models: • Classifications: 1. High – Level Model 2. Representation Model 3. Low – Level Model
  • 11. Z Data Models, Schema and Instances • High – Level Model: Ensures the data requirement of the users. • Not concerned with representation, but it’s a conceptual form.
  • 12. Z Data Models, Schema and Instances •Three Important Terms: • Entity: Any object, exists physically or conceptually. • Attribute: Property or characteristic of entity. • Relationship: Association or link b/w two entities. * These 3 terms make Entity-Relationship Model.
  • 13. Z Data Models, Schema and Instances • Entity-Relationship Model College Principal College Student C Student A Student B College 3 College 2 College 1 Course C Course B Course A Student Course Admissi on Stud_Name Stud_Roll No Course_Id Course_Name Relationships ER Diagram
  • 14. Z Data Models, Schema and Instances • Representation Model: Representation of data stored inside a database. • Describes the physical structure of the database. • It uses the concepts which are close to the end-users.
  • 15. Z Data Models, Schema and Instances • Representation Model: • Classifications: 1. Hierarchical Database Model 2. Relational Database Model 3. Network Database Model
  • 16. Z Data Models, Schema and Instances • Hierarchical Database Model: Developed by IBM, is the Oldest database model. • Represented using a tree-diagram. • Each box is called a ‘Node’ •The nodes represent a record type. • A line connecting nodes represents the link.
  • 17. Z Data Models, Schema and Instances • Hierarchical Database Model: Parent-child type is suited for One-to-many relationship between two entities. • But difficult to implement many-to-many relationship. • E.g. IMS system from IBM.
  • 18. Z Data Models, Schema and Instances Hierarchical Database Model Director Marketing Manager HR Manager Area Manager 1 Area Manager 2 Area Manager 3 Sales Executive Sales Executive Sales Representative Sales Manager
  • 19. Z Data Models, Schema and Instances • Relational Database Model: Simplest and the most common model. • Developed in 1970 by E.F. Codd, it became commercial in the 80s. • Data elements are stored in different tables made up of rows and columns. Roll No Name Surname Section 1001 Juan Dela Cruz D 1002 Maria Santina D
  • 20. Z Data Models, Schema and Instances • Network Database Model: Represented using a Data-Structure Diagram. • Boxes represents the records & lines are the links. • Members of an owner may be many but for many members owner is one. • Can represent one-to-one and many-to-many as well.
  • 21. Z Data Models, Schema and Instances • Network Database Model: Teacher 1 Teacher 2 Teacher 3 Course A Course B Course C Student 1 Student 2 Student 3
  • 22. Z Data Models, Schema and Instances • Schema: Logical structure of the database. • Doesn’t show the data in database. • Classifications: 1. Physical 2. Conceptual 3. External
  • 23. Z Data Models, Schema and Instances • Physical Schema: Describes the physical storage of database. Not in terms of blocks or devices, but describes organization of files, access path etc. • Conceptual Schema: Describes structure of whole database and describes entities like relationship and constraints. • External Schema: Provides a user’s view of data and shows relevant info particular to users.
  • 24. Z Components of Database System • User: People who interact with the database. • Application Programmers • End users • Data Administrator • Software: Lies between the stored data and the users. • DBMS • Application Software • User Interface
  • 25. Z Components of Database System • Hardware: Physical device on which database resides. • Computers • Hard Drives • Cables, etc. • Data: Numbers, characters, picures. • 1001, Juan Dela Cruz, Student.
  • 26. Z Database Management System • DBMS: A set of programs to access the interrelated data. • DBMS contains information about a particular enterprise. • Computerized record keeping system. • Provides convenient environment to user to perform operations: • Creation, Insertion, Deletion, Updating and Retrieving of Information
  • 27. Z Database Administrator • DBA: Individual or a group, having centralized control of the database. • Has a good understanding of database and coordinates all activities of the database • Functions: • Define Schema • Granting user authority to access the database. • Monitoring performance and responsible to change.
  • 28. Z Database Languages • Once data is filled, manipulation is required (Insertion, Deletion, Modification of Data) • For these, a set of languages are provided by DBMS: • Data Definition Language • Data Manipulation Language • Data Control Language
  • 29. Z Database Languages • Data Definition Language (DDL): Used by DB designers to define schema. DDL compiler converts DDL statements and generate a set of tables which are stored in. • Data Manipulation Language (DML): For accessing and manipulating the data. • Data Control Language (DCL): Similar to a computer programming language used to control access to data stored in a database.
  • 30. Z Database System Architecture • The journey from big mainframe to pc has also evolved the database and its architecture. • Classifications: 1. Centralized DBMS Architecture 2. Client – Server Architecture 3. Distributed Databases
  • 31. Z Database System Architecture • Centralized DBMS Architecture: Traditional form, all data, functionality, apps are located on one machine. • Access via communication links. Enterprise database
  • 32. Z Database System Architecture • Client – Server Architecture: Involves a client and a server. • Clients are PC’s or Workstations. • Servers are powerful computers, can manage files, printers, e-mails. • Client interacts server when additional functionality doesn’t exits in its own machine.
  • 33. Z Database System Architecture • Client – Server Architecture: User interface Application program Database tables Client Application server Database server
  • 34. Z Database System Architecture • Distributed Database Architecture: Decentralized functionality, distributed among many computers. • Storage computers are at different geographical locations. Enterprise main database Fragment Fragment Fragment Fragment Fragment
  • 35. Z Advantages of DBMS • Controlling Data Redundancy: Data is recorded only in one place in the database and its not duplicated. • Data Consistency: Data item appears only once, and the updated value is immediately available to all users. • Control Over Concurrency: In a computer file – based system in updating, one may overwrite the values recorded by the other.
  • 36. Z Advantages of DBMS • Backup and Recovery Procedures: Automatically create the backup of data and restore the data if required. • Data Independence: Separation of data structure of database from application program that uses the data is called data independency.
  • 37. Z Disadvantage of DBMS • Cost of Hardware and Software: Processor with high speed of data processing and memory of large size is required. • Cost of Data Conversion: Very difficult and costly method to convert data of data file into database. • Cost of Staff Training: A lot of amount for the training of staff to run the DBMS.
  • 38. Z Disadvantage of DBMS • Appointing Technical Staff: Trained technical person such as database administrator, application programmers, data entry operators, etc are required to handle DBMS. • Database Damage: All data is integrated into a single database. If database is damaged due to electric failure or database is corrupted on the storage media, then your valuable data may be lost forever.
  • 39. Z Applications of DBMS • Airlines and Railways: Online databases for reservation and displaying the schedule info. • Banking: Customer inquiry, accounts, loans and other transactions. • Education: Course registration, student info and other information.
  • 40. Z Applications of DBMS • E-commerce: Business activity such as online shopping, booking of holiday package and consulting a doctor. • Human Resources: Organization uses databases for storing information about their employees, salaries, benefits, taxes and for generating salary checks.
  • 41. Z Let’s call it a day, Thank you!

Notes de l'éditeur

  1. https://youtu.be/FR4QIeZaPeM