SlideShare a Scribd company logo
1 of 47
Session Objectives ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DATA MODEL   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Data base management systems follow particular models (known as database models) to store and manipulate data.  A  data base model  is characterized by: 1.  The way it stores data : STRUCTURE 2.  The way data in the    structure are manipulated:  OPERATIONS Database Systems Models
Choosing Data Model ,[object Object],[object Object]
MAJOR  DATABASE  MODELS : HIERARCHICAL  MODEL NETWORK  MODEL  RELATIONAL  MODEL OBJECT ORIENTED  MODEL Note:  Currently, Relational Model is  most popular. Our class will focus on  Relational DBMS.
Evolution of Database Model Limitations Searching for records Data Redundancy Data Inconsistency  Index ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Data in books and registers   Manual databases   FLAT FILE Indexed file
Hierarchical Database Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Evolution of DB Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Database models ,[object Object],[object Object],[object Object],Traditional files Hierarchical Network Object oriented Object-relational ,[object Object],Client Oriented ? ,[object Object],Relational
Evolution of DB Systems
Hierarchical Database Model
DEPARTMENT EMPLOYEE PROJECT SKILL DEPENDENT EQUIPMENT Hierarchical Database Model
Models and Schemas ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Student(studno,name,address) Course(courseno,lecturer) Student(123,Bloggs,Woolton) (321,Jones,Owens) Schema Instance
Characteristics of Hierarchical DBMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],Drawbacks :
Network Database Model ,[object Object],[object Object],[object Object]
DEPARTMENT EMPLOYEE PROJECT DEPENDENT EQUIPMENT Network Database Model
Characteristics of Network DBMS ,[object Object],[object Object],[object Object],[object Object]
File Based Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relational Systems ,[object Object],[object Object],[object Object],[object Object],[object Object]
The Relational database:Definitions ,[object Object],[object Object]
Relational Database definition All information must be represented explicitly in one and only one way: as values in tables and each & every datum in the database must be accessible by specifying a table name, a column name, and a primary key.
Relational Database:  Definitions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relational Model   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
[object Object],[object Object],[object Object],[object Object],[object Object]
TABLE (Relation) Primary Key Degree Attributes Cardinality Tuples Islamabad 25 Nasir S5 Lahore 34 Abdul S4 Karachi 40 Azmat S3 Islamabad 10 Zafar S2 Lahore 20 Kamran S1 City Quantity SName SCode Supplier Domain Domain
Member of a relation type (set / table). All attribute names must be unique within a table / relation. A set of all possible values that can be attain by an attribute. Values currently contained in an attribute. Number of attributes in a relation / table. Rows in a table / relation. Number of tuples in a relation / table. Tuples: Relation / Table Degree: Attribute Value Set: Attribute Domain: Attribute Name: Attribute (field): Cardinality:
Ex: Instance of Students Relation •  Cardinality = 3, arity = 5 , all rows distinct ,[object Object],Student(studno,name,address) Course(courseno,lecturer) Student(123,Bloggs,Woolton) (321,Jones,Owens) Schema Instance 3.8 19 [email_address] Blake 53777 3.2 18 [email_address] smith 53444 3.4 18 [email_address] Jones 53666 GPA age Login Name sid
Database Schema The description of the database is called database schema. A database schema is describe during database design and not expected to change frequently. Schema Diagram Displayed schema is called schema diagram. Each object in schema is called a schema construct.
Database instance (occurrence or state) The data in a database at a particular moment of time. Intension & Extension The schema is sometimes called the intension and a database instance is called an extension of the schema.
Relational Database Concepts Field  Record Table Classical W.A. Mozart Requiem 3 Jazz John Coltrane Blue Train 2 Rock Pink Floyd The Wall 1 Genre Artist Title CD_ID
Basic component of a Relation
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Examples of Attribute Domains
Alternative Terminology for Relational Model
Characteristics of Relational Database Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Continue …….. ,[object Object],[object Object],[object Object],[object Object]
Difference between a DBMS and RDBMS   RDBMS normally use a 4GL  DBMS normally use 3GL   Examples are ORACLE, INGRESS, SQL Server 2000 etc  Examples are dBase, FOXBASE, etc  Uses concept of table  Uses concept of a file   Platform used can be any  DOS, UNIX,VAX,VMS, etc Platform used is normally DOS     Hardware and Software requirements are High Hardware and Software requirements are minimum Speed of operation is very Fast   Speed of operation is very slow   It is based on the concept Of relationships   The concepts of relationships is missing in  a DBMS. If it exits it is very less. RDBMS DBMS
Popular DBMS In The Market Sybase SQL Anywhere   Informix Dynamic Server  Borland Interbase
Popular RDBMS that support SQL   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Typical Components Software Users Data DBMS Database “ How” to get Application Programs “ What” to get End users interact Application Programmers develop Database Designers design maintain Database Administrators
RDMS Components   ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Overall System Structure
Tokyo France Paris Japan Beijing China New Delhi India Rome Italy Capital Country Francs Japan Yen France Quan China Rupee India Lira Italy Currency Country
 
Data about various entities and their relationships are stored in a series of  logical  tables (also known as  relations). A relation is a two-dimensional table with certain imposed restrictions: 1. Each Row is unique:  No duplicate row 2. Entries in any column have the same domain. 3. Each column has a unique name 4. Order of the columns or rows is irrelevant 5. Each entry in the table is single valued: No group item, repeating group, or array is allowed.  PRINCIPLES  OF RELATIONAL  MODEL Note:  A domain is the set of all possible values an attribute may assume.  Example:  Domain of Major= (Acct, Mktg, Mgmt, ISOM, Fina)

More Related Content

What's hot

Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbmsMegha yadav
 
Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database systemGiO Friginal
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
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]Atik Israk
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
Data base management system and Architecture ppt.
Data base management system and Architecture ppt.Data base management system and Architecture ppt.
Data base management system and Architecture ppt.AnkitAbhilashSwain
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational modelChirag vasava
 
Working with Databases and MySQL
Working with Databases and MySQLWorking with Databases and MySQL
Working with Databases and MySQLNicole Ryan
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databaseArpee Callejo
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPTTrinath
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and modelssabah N
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMSkoolkampus
 

What's hot (20)

Dbms presentaion
Dbms presentaionDbms presentaion
Dbms presentaion
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
 
Lesson 2 network database system
Lesson 2 network database systemLesson 2 network database system
Lesson 2 network database system
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Dbms slides
Dbms slidesDbms slides
Dbms slides
 
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]
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Data base management system and Architecture ppt.
Data base management system and Architecture ppt.Data base management system and Architecture ppt.
Data base management system and Architecture ppt.
 
Data Models
Data ModelsData Models
Data Models
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Database Systems Concepts, 5th Ed
Database Systems Concepts, 5th EdDatabase Systems Concepts, 5th Ed
Database Systems Concepts, 5th Ed
 
Working with Databases and MySQL
Working with Databases and MySQLWorking with Databases and MySQL
Working with Databases and MySQL
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS2. Entity Relationship Model in DBMS
2. Entity Relationship Model in DBMS
 
Data Base Management System
Data Base Management SystemData Base Management System
Data Base Management System
 

Viewers also liked

Diffrence between dbms and rdbms
Diffrence between dbms and rdbmsDiffrence between dbms and rdbms
Diffrence between dbms and rdbmsJitendra Thakur
 
Data Models In Database Management System
Data Models In Database Management SystemData Models In Database Management System
Data Models In Database Management SystemAmad Ahmad
 
Library Skill
Library SkillLibrary Skill
Library SkillDirz M
 
Oracle PL/SQL exception handling
Oracle PL/SQL exception handlingOracle PL/SQL exception handling
Oracle PL/SQL exception handlingSmitha Padmanabhan
 
Business intelligence databases and information management
Business intelligence databases and information managementBusiness intelligence databases and information management
Business intelligence databases and information managementProf. Othman Alsalloum
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
Different type of databases
Different type of databasesDifferent type of databases
Different type of databasesShwe Yee
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
Mis chapter 2 infomation, management and decision making
Mis chapter 2   infomation, management and decision makingMis chapter 2   infomation, management and decision making
Mis chapter 2 infomation, management and decision makingAjay Khot
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database modelPAQUIAAIZEL
 
Decision making and mis
Decision making and misDecision making and mis
Decision making and misadityapareek26
 
Decision Making and Information Systems
Decision Making and  Information SystemsDecision Making and  Information Systems
Decision Making and Information SystemsAriful Saimon
 
Database design process
Database design processDatabase design process
Database design processTayyab Hameed
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbmsTech_MX
 

Viewers also liked (20)

Diffrence between dbms and rdbms
Diffrence between dbms and rdbmsDiffrence between dbms and rdbms
Diffrence between dbms and rdbms
 
CIS 245 Final Review
CIS 245 Final ReviewCIS 245 Final Review
CIS 245 Final Review
 
Stored procedures
Stored proceduresStored procedures
Stored procedures
 
DBMS
DBMSDBMS
DBMS
 
Data Models In Database Management System
Data Models In Database Management SystemData Models In Database Management System
Data Models In Database Management System
 
Library Skill
Library SkillLibrary Skill
Library Skill
 
Dot net
Dot netDot net
Dot net
 
Oracle PL/SQL exception handling
Oracle PL/SQL exception handlingOracle PL/SQL exception handling
Oracle PL/SQL exception handling
 
Business intelligence databases and information management
Business intelligence databases and information managementBusiness intelligence databases and information management
Business intelligence databases and information management
 
Fundamentals of Database Design
Fundamentals of Database DesignFundamentals of Database Design
Fundamentals of Database Design
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Different type of databases
Different type of databasesDifferent type of databases
Different type of databases
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Mis chapter 2 infomation, management and decision making
Mis chapter 2   infomation, management and decision makingMis chapter 2   infomation, management and decision making
Mis chapter 2 infomation, management and decision making
 
Object oriented database model
Object oriented database modelObject oriented database model
Object oriented database model
 
Decision making and mis
Decision making and misDecision making and mis
Decision making and mis
 
Data models
Data modelsData models
Data models
 
Decision Making and Information Systems
Decision Making and  Information SystemsDecision Making and  Information Systems
Decision Making and Information Systems
 
Database design process
Database design processDatabase design process
Database design process
 
Mobile dbms
Mobile dbmsMobile dbms
Mobile dbms
 

Similar to Dbms Lec Uog 02

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
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdffikadumola
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representationRuhull
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfrsujeet169
 
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfchapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfMisganawAbeje1
 
Chapter – 2 Data Models.pdf
Chapter – 2 Data Models.pdfChapter – 2 Data Models.pdf
Chapter – 2 Data Models.pdfTamiratDejene1
 
DBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionDBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionRajeev Srivastava
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database Rc Os
 
Student POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxStudent POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxorlandov3
 
Database system concepts
Database system conceptsDatabase system concepts
Database system conceptsKumar
 
data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lernetarunprajapati0t
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyvk5985399
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfSameerKhanPathan7
 

Similar to Dbms Lec Uog 02 (20)

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,...
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
Databases and its representation
Databases and its representationDatabases and its representation
Databases and its representation
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
 
Data models
Data modelsData models
Data models
 
Data models
Data modelsData models
Data models
 
PPT_DBMS.pptx
PPT_DBMS.pptxPPT_DBMS.pptx
PPT_DBMS.pptx
 
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdfchapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
chapter 2-DATABASE SYSTEM CONCEPTS AND architecture [Autosaved].pdf
 
Chapter – 2 Data Models.pdf
Chapter – 2 Data Models.pdfChapter – 2 Data Models.pdf
Chapter – 2 Data Models.pdf
 
DATA BASE MODEL Rohini
DATA BASE MODEL RohiniDATA BASE MODEL Rohini
DATA BASE MODEL Rohini
 
DBMS & Data Models - In Introduction
DBMS & Data Models - In IntroductionDBMS & Data Models - In Introduction
DBMS & Data Models - In Introduction
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
 
Student POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docxStudent POST  Database processing models showcase the logical s.docx
Student POST  Database processing models showcase the logical s.docx
 
DISE - Database Concepts
DISE - Database ConceptsDISE - Database Concepts
DISE - Database Concepts
 
Database system concepts
Database system conceptsDatabase system concepts
Database system concepts
 
data base system to new data science lerne
data base system to new data science lernedata base system to new data science lerne
data base system to new data science lerne
 
Presentation1
Presentation1Presentation1
Presentation1
 
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvyppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
ppt_rdbms.pdfuvuguvuvugycycyctcucuvyvvuvuvy
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 

Recently uploaded

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Dbms Lec Uog 02

  • 1.
  • 2.
  • 3. Data base management systems follow particular models (known as database models) to store and manipulate data. A data base model is characterized by: 1. The way it stores data : STRUCTURE 2. The way data in the structure are manipulated: OPERATIONS Database Systems Models
  • 4.
  • 5. MAJOR DATABASE MODELS : HIERARCHICAL MODEL NETWORK MODEL RELATIONAL MODEL OBJECT ORIENTED MODEL Note: Currently, Relational Model is most popular. Our class will focus on Relational DBMS.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Evolution of DB Systems
  • 12. DEPARTMENT EMPLOYEE PROJECT SKILL DEPENDENT EQUIPMENT Hierarchical Database Model
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. DEPARTMENT EMPLOYEE PROJECT DEPENDENT EQUIPMENT Network Database Model
  • 18.
  • 19.
  • 20.
  • 21.
  • 22. Relational Database definition All information must be represented explicitly in one and only one way: as values in tables and each & every datum in the database must be accessible by specifying a table name, a column name, and a primary key.
  • 23.
  • 24.
  • 25.  
  • 26.
  • 27. TABLE (Relation) Primary Key Degree Attributes Cardinality Tuples Islamabad 25 Nasir S5 Lahore 34 Abdul S4 Karachi 40 Azmat S3 Islamabad 10 Zafar S2 Lahore 20 Kamran S1 City Quantity SName SCode Supplier Domain Domain
  • 28. Member of a relation type (set / table). All attribute names must be unique within a table / relation. A set of all possible values that can be attain by an attribute. Values currently contained in an attribute. Number of attributes in a relation / table. Rows in a table / relation. Number of tuples in a relation / table. Tuples: Relation / Table Degree: Attribute Value Set: Attribute Domain: Attribute Name: Attribute (field): Cardinality:
  • 29.
  • 30. Database Schema The description of the database is called database schema. A database schema is describe during database design and not expected to change frequently. Schema Diagram Displayed schema is called schema diagram. Each object in schema is called a schema construct.
  • 31. Database instance (occurrence or state) The data in a database at a particular moment of time. Intension & Extension The schema is sometimes called the intension and a database instance is called an extension of the schema.
  • 32. Relational Database Concepts Field Record Table Classical W.A. Mozart Requiem 3 Jazz John Coltrane Blue Train 2 Rock Pink Floyd The Wall 1 Genre Artist Title CD_ID
  • 33. Basic component of a Relation
  • 34.
  • 36. Alternative Terminology for Relational Model
  • 37.
  • 38.
  • 39. Difference between a DBMS and RDBMS RDBMS normally use a 4GL DBMS normally use 3GL Examples are ORACLE, INGRESS, SQL Server 2000 etc Examples are dBase, FOXBASE, etc Uses concept of table Uses concept of a file Platform used can be any DOS, UNIX,VAX,VMS, etc Platform used is normally DOS   Hardware and Software requirements are High Hardware and Software requirements are minimum Speed of operation is very Fast Speed of operation is very slow It is based on the concept Of relationships The concepts of relationships is missing in a DBMS. If it exits it is very less. RDBMS DBMS
  • 40. Popular DBMS In The Market Sybase SQL Anywhere Informix Dynamic Server Borland Interbase
  • 41.
  • 42. Typical Components Software Users Data DBMS Database “ How” to get Application Programs “ What” to get End users interact Application Programmers develop Database Designers design maintain Database Administrators
  • 43.
  • 45. Tokyo France Paris Japan Beijing China New Delhi India Rome Italy Capital Country Francs Japan Yen France Quan China Rupee India Lira Italy Currency Country
  • 46.  
  • 47. Data about various entities and their relationships are stored in a series of logical tables (also known as relations). A relation is a two-dimensional table with certain imposed restrictions: 1. Each Row is unique: No duplicate row 2. Entries in any column have the same domain. 3. Each column has a unique name 4. Order of the columns or rows is irrelevant 5. Each entry in the table is single valued: No group item, repeating group, or array is allowed. PRINCIPLES OF RELATIONAL MODEL Note: A domain is the set of all possible values an attribute may assume. Example: Domain of Major= (Acct, Mktg, Mgmt, ISOM, Fina)