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

Database Management System
Database Management SystemDatabase Management System
Database Management SystemNishant Munjal
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and modelssabah N
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management Systemcpjcollege
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level ArchitectureAdeel Rasheed
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database DesignArchit Saxena
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant Munjal
 
Client server architecture
Client server architectureClient server architecture
Client server architectureBhargav Amin
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2shahab3
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbmsMegha yadav
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Jotham Gadot
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management SystemAjay Jha
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System IntroductionSmriti Jain
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbmsRituBhargava7
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational modelChirag vasava
 

What's hot (20)

11 Database Concepts
11 Database Concepts11 Database Concepts
11 Database Concepts
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
data modeling and models
data modeling and modelsdata modeling and models
data modeling and models
 
Introduction To Database Management System
Introduction To Database Management SystemIntroduction To Database Management System
Introduction To Database Management System
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
3 Level Architecture
3 Level Architecture3 Level Architecture
3 Level Architecture
 
2. visualization in data mining
2. visualization in data mining2. visualization in data mining
2. visualization in data mining
 
Ch09
Ch09Ch09
Ch09
 
Relational Database Design
Relational Database DesignRelational Database Design
Relational Database Design
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Dbms
DbmsDbms
Dbms
 
Client server architecture
Client server architectureClient server architecture
Client server architecture
 
Database systems - Chapter 2
Database systems - Chapter 2Database systems - Chapter 2
Database systems - Chapter 2
 
Structure of dbms
Structure of dbmsStructure of dbms
Structure of dbms
 
Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01Fundamentals of Database ppt ch01
Fundamentals of Database ppt ch01
 
Object Oriented Database Management System
Object Oriented Database Management SystemObject Oriented Database Management System
Object Oriented Database Management System
 
Data Models
Data ModelsData Models
Data Models
 
Database Management System Introduction
Database Management System IntroductionDatabase Management System Introduction
Database Management System Introduction
 
File systems versus a dbms
File systems versus a dbmsFile systems versus a dbms
File systems versus a dbms
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 

Viewers also liked

Diffrence between dbms and rdbms
Diffrence between dbms and rdbmsDiffrence between dbms and rdbms
Diffrence between dbms and rdbmsJitendra Thakur
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPTTrinath
 
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
 
Different type of databases
Different type of databasesDifferent type of databases
Different type of databasesShwe Yee
 
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
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handlingkamal kotecha
 

Viewers also liked (20)

Dbms models
Dbms modelsDbms models
Dbms models
 
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
 
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
 
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
 
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
 
Java Exception handling
Java Exception handlingJava Exception handling
Java Exception handling
 

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

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
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
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
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
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

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)