SlideShare a Scribd company logo
1 of 47
Download to read offline
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

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of DatabaseMarlon Jamera
 
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
 
Data base management system
Data base management systemData base management system
Data base management systemashirafzal1
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to databaseArpee Callejo
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to databaseemailharmeet
 
Different type of databases
Different type of databasesDifferent type of databases
Different type of databasesShwe Yee
 
Indexing and Hashing
Indexing and HashingIndexing and Hashing
Indexing and Hashingsathish sak
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management SystemMian Abdul Raheem
 
Degree of relationship set
Degree of relationship setDegree of relationship set
Degree of relationship setMegha Sharma
 
Codd's rules
Codd's rulesCodd's rules
Codd's rulesMohd Arif
 
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
 
Rdbms
RdbmsRdbms
Rdbmsrdbms
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 

What's hot (20)

Basic Concept of Database
Basic Concept of DatabaseBasic Concept of Database
Basic Concept of Database
 
DbMs
DbMsDbMs
DbMs
 
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
 
Data base management system
Data base management systemData base management system
Data base management system
 
Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
Introduction to database
Introduction to databaseIntroduction to database
Introduction to database
 
Lecture 01 introduction to database
Lecture 01 introduction to databaseLecture 01 introduction to database
Lecture 01 introduction to database
 
DBMS and its Models
DBMS and its ModelsDBMS and its Models
DBMS and its Models
 
Different type of databases
Different type of databasesDifferent type of databases
Different type of databases
 
Indexing and Hashing
Indexing and HashingIndexing and Hashing
Indexing and Hashing
 
Relational Database Management System
Relational Database Management SystemRelational Database Management System
Relational Database Management System
 
Degree of relationship set
Degree of relationship setDegree of relationship set
Degree of relationship set
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Dbms
DbmsDbms
Dbms
 
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]
 
Rdbms
RdbmsRdbms
Rdbms
 
DBMS
DBMSDBMS
DBMS
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
Data mining primitives
Data mining primitivesData mining primitives
Data mining primitives
 

Viewers also liked

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

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
 

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
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 

Recently uploaded

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

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)