SlideShare ist ein Scribd-Unternehmen logo
1 von 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!

Weitere ähnliche Inhalte

Was ist angesagt?

1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
koolkampus
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
Jotham Gadot
 
Database Design
Database DesignDatabase Design
Database Design
learnt
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
Mohd Arif
 

Was ist angesagt? (20)

Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
1. Introduction to DBMS
1. Introduction to DBMS1. Introduction to DBMS
1. Introduction to DBMS
 
Data Models
Data ModelsData Models
Data Models
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
Database concepts
Database conceptsDatabase concepts
Database concepts
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Relational model
Relational modelRelational model
Relational model
 
Database systems
Database systemsDatabase systems
Database systems
 
Dbms Introduction and Basics
Dbms Introduction and BasicsDbms Introduction and Basics
Dbms Introduction and Basics
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Database Design
Database DesignDatabase Design
Database Design
 
Basic DBMS ppt
Basic DBMS pptBasic DBMS ppt
Basic DBMS ppt
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
Introduction: Databases and Database Users
Introduction: Databases and Database UsersIntroduction: Databases and Database Users
Introduction: Databases and Database Users
 
Data models
Data modelsData models
Data models
 
DBMS languages/ Types of SQL Commands
DBMS languages/ Types of SQL CommandsDBMS languages/ Types of SQL Commands
DBMS languages/ Types of SQL Commands
 
Unit1 DBMS Introduction
Unit1 DBMS IntroductionUnit1 DBMS Introduction
Unit1 DBMS Introduction
 
Database abstraction
Database abstractionDatabase abstraction
Database abstraction
 

Andere mochten auch

Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
Rustamji Institute of Technology
 
Datamodels & architecture
Datamodels & architectureDatamodels & architecture
Datamodels & architecture
Neeraj Kumar
 
2 database system concepts and architecture
2 database system concepts and architecture2 database system concepts and architecture
2 database system concepts and architecture
Kumar
 
Introduction to Database Concepts
Introduction to Database ConceptsIntroduction to Database Concepts
Introduction to Database Concepts
Rosalyn Lemieux
 

Andere mochten auch (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
 
Database language
Database languageDatabase language
Database language
 
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...
 

Ähnlich wie Basic Concept of Database

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
AshmitKashyap1
 
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
Riannel 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 managemnet
Utsav Mahendra
 
Module 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptxModule 1 - Chapter 2.pptx
Module 1 - Chapter 2.pptx
SoniaDevi15
 
9a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc29a797dbms chapter1 b.sc2
9a797dbms chapter1 b.sc2
Mukund Trivedi
 

Ähnlich wie Basic Concept of Database (20)

Database management system.pptx
Database management system.pptxDatabase management system.pptx
Database management system.pptx
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
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
 
Presentation on Database management system
Presentation on Database management systemPresentation on Database management system
Presentation on Database management system
 
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...
 
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
 

Mehr von Marlon Jamera

Mehr von 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
 

Kürzlich hochgeladen

6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
nirzagarg
 
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
nilamkumrai
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 

Kürzlich hochgeladen (20)

Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
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...
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
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.
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men  🔝mehsana🔝   Escorts...
➥🔝 7737669865 🔝▻ mehsana Call-girls in Women Seeking Men 🔝mehsana🔝 Escorts...
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
 
𓀤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...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
( Pune ) VIP Pimpri Chinchwad Call Girls 🎗️ 9352988975 Sizzling | Escorts | G...
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
(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!

Hinweis der Redaktion

  1. https://youtu.be/FR4QIeZaPeM