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

OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data modelAnilPokhrel7
 
Degree of relationship set
Degree of relationship setDegree of relationship set
Degree of relationship setMegha Sharma
 
Difference between File system And DBMS.pptx
Difference between File system And DBMS.pptxDifference between File system And DBMS.pptx
Difference between File system And DBMS.pptxShayanMujahid2
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relationalJafar Nesargi
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbmsNaresh Kumar
 
Unit I Database concepts - RDBMS & ORACLE
Unit I  Database concepts - RDBMS & ORACLEUnit I  Database concepts - RDBMS & ORACLE
Unit I Database concepts - RDBMS & ORACLEDrkhanchanaR
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data modelsABDUL KHALIQ
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database ModelShishir Aryal
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbmsshekhar1991
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship DiagramShakila Mahjabin
 
Query processing and optimization (updated)
Query processing and optimization (updated)Query processing and optimization (updated)
Query processing and optimization (updated)Ravinder Kamboj
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMSPadamNepal1
 

What's hot (20)

OODM-object oriented data model
OODM-object oriented data modelOODM-object oriented data model
OODM-object oriented data model
 
Degree of relationship set
Degree of relationship setDegree of relationship set
Degree of relationship set
 
Files Vs DataBase
Files Vs DataBaseFiles Vs DataBase
Files Vs DataBase
 
Difference between File system And DBMS.pptx
Difference between File system And DBMS.pptxDifference between File system And DBMS.pptx
Difference between File system And DBMS.pptx
 
Attributes
AttributesAttributes
Attributes
 
Chapter 6 relational data model and relational
Chapter  6  relational data model and relationalChapter  6  relational data model and relational
Chapter 6 relational data model and relational
 
All data models in dbms
All data models in dbmsAll data models in dbms
All data models in dbms
 
Unit I Database concepts - RDBMS & ORACLE
Unit I  Database concepts - RDBMS & ORACLEUnit I  Database concepts - RDBMS & ORACLE
Unit I Database concepts - RDBMS & ORACLE
 
Dbms classification according to data models
Dbms classification according to data modelsDbms classification according to data models
Dbms classification according to data models
 
Data Dictionary
Data DictionaryData Dictionary
Data Dictionary
 
The Relational Database Model
The Relational Database ModelThe Relational Database Model
The Relational Database Model
 
Relational algebra in dbms
Relational algebra in dbmsRelational algebra in dbms
Relational algebra in dbms
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
NESTED SUBQUERY.pptx
NESTED SUBQUERY.pptxNESTED SUBQUERY.pptx
NESTED SUBQUERY.pptx
 
Query processing and optimization (updated)
Query processing and optimization (updated)Query processing and optimization (updated)
Query processing and optimization (updated)
 
ER Diagram
ER DiagramER Diagram
ER Diagram
 
Relational model
Relational modelRelational model
Relational model
 
Types Of Keys in DBMS
Types Of Keys in DBMSTypes Of Keys in DBMS
Types Of Keys in DBMS
 
Dbms models
Dbms modelsDbms models
Dbms models
 
Database anomalies
Database anomaliesDatabase anomalies
Database anomalies
 

Viewers also liked

Viewers also liked (20)

Diffrence between dbms and rdbms
Diffrence between dbms and rdbmsDiffrence between dbms and rdbms
Diffrence between dbms and rdbms
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
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
 
Types of Database Models
Types of Database ModelsTypes of Database Models
Types of Database Models
 
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
 
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
 
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

Dbms relational model
Dbms relational modelDbms relational model
Dbms relational modelChirag vasava
 
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
 

Similar to Dbms Lec Uog 02 (20)

Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
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
 

Recently uploaded

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Recently uploaded (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

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)