SlideShare ist ein Scribd-Unternehmen logo
1 von 67
[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relational Database: Definitions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example Instance of Students Relation ,[object Object],[object Object],[object Object]
Relational Query Languages ,[object Object],[object Object],[object Object],[object Object]
The SQL Query Language SELECT  * FROM   Students S WHERE   S.age=18 ,[object Object],SELECT   S.name, S.login
Querying Multiple Relations ,[object Object],SELECT  S.name, E.cid FROM   Students S, Enrolled E WHERE   S.sid=E.sid  AND  E.grade=“A” Given the following instances of Enrolled and Students: we get:
Creating Relations in SQL ,[object Object],[object Object],CREATE TABLE Students (sid:  CHAR(20) ,    name:  CHAR(20) ,    login:  CHAR(10),   age:  INTEGER ,   gpa:  REAL )  CREATE TABLE Enrolled (sid:  CHAR(20) ,    cid:  CHAR(20) ,    grade:  CHAR (2))
Destroying and Altering Relations ,[object Object],DROP   TABLE   Students  ,[object Object],ALTER   TABLE   Students  ADD   COLUMN   firstYear: integer
Adding and Deleting Tuples ,[object Object],INSERT INTO  Students (sid, name, login, age, gpa) VALUES   (53688, ‘Smith’, ‘smith@ee’, 18, 3.2) ,[object Object],DELETE   FROM  Students S WHERE  S.name = ‘Smith’
Integrity Constraints (ICs) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Primary Key Constraints ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Primary and Candidate Keys in SQL ,[object Object],CREATE TABLE Enrolled (sid CHAR(20) cid  CHAR(20), grade CHAR(2), PRIMARY KEY   (sid,cid)  ) ,[object Object],[object Object],CREATE TABLE Enrolled (sid CHAR(20) cid  CHAR(20), grade CHAR(2), PRIMARY KEY   (sid), UNIQUE  (cid, grade) )
Foreign Keys, Referential Integrity ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Foreign Keys in SQL ,[object Object],CREATE TABLE Enrolled (sid CHAR(20),  cid CHAR(20),  grade CHAR(2), PRIMARY KEY   (sid,cid), FOREIGN KEY   (sid)  REFERENCES   Students ) Enrolled Students
Enforcing Referential Integrity ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Referential Integrity in SQL ,[object Object],[object Object],[object Object],[object Object],CREATE TABLE  Enrolled (sid  CHAR (20), cid  CHAR(20) , grade  CHAR (2), PRIMARY KEY   (sid,cid), FOREIGN KEY   (sid) REFERENCES   Students ON DELETE CASCADE ON UPDATE SET  DEFAULT  )
Where do ICs Come From? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Logical DB Design: ER to Relational ,[object Object],CREATE TABLE  Employees  (ssn  CHAR (11), name  CHAR (20), lot  INTEGER , PRIMARY KEY   (ssn)) Employees ssn name lot
Relationship Sets to Tables ,[object Object],[object Object],[object Object],[object Object],CREATE TABLE  Works_In( ssn  CHAR (11), did  INTEGER , since  DATE , PRIMARY KEY  (ssn, did), FOREIGN KEY  (ssn)  REFERENCES  Employees, FOREIGN KEY  (did)  REFERENCES  Departments)
Review: Key Constraints ,[object Object],Translation to  relational model? Many-to-Many 1-to-1 1-to Many Many-to-1 budget did Departments dname since lot name ssn Manages Employees
Translating ER Diagrams with Key Constraints ,[object Object],[object Object],[object Object],[object Object],CREATE TABLE  Manages( ssn  CHAR(11) , did  INTEGER , since  DATE , PRIMARY KEY  (did), FOREIGN KEY  (ssn)  REFERENCES  Employees, FOREIGN KEY  (did)  REFERENCES  Departments) CREATE TABLE  Dept_Mgr( did  INTEGER, dname  CHAR(20), budget  REAL, ssn  CHAR(11) , since  DATE , PRIMARY KEY  (did), FOREIGN KEY  (ssn)  REFERENCES  Employees)
Review: Participation Constraints ,[object Object],[object Object],[object Object],lot name dname budget did since name dname budget did since Manages since Departments Employees ssn Works_In
Participation Constraints in SQL ,[object Object],CREATE TABLE  Dept_Mgr( did  INTEGER, dname  CHAR(20) , budget  REAL , ssn  CHAR(11)  NOT NULL , since  DATE , PRIMARY KEY  (did), FOREIGN KEY  (ssn)  REFERENCES  Employees, ON DELETE NO ACTION )
Review: Weak Entities ,[object Object],[object Object],[object Object],lot name age pname Dependents Employees ssn Policy cost
Translating Weak Entity Sets ,[object Object],[object Object],CREATE TABLE  Dep_Policy ( pname  CHAR(20) , age  INTEGER , cost  REAL , ssn  CHAR(11) NOT NULL , PRIMARY KEY  (pname, ssn), FOREIGN KEY  (ssn)  REFERENCES  Employees, ON DELETE CASCADE )
Review: ISA Hierarchies ,[object Object],[object Object],Contract_Emps name ssn Employees lot hourly_wages ISA Hourly_Emps contractid hours_worked ,[object Object],[object Object]
Translating ISA Hierarchies to Relations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Review: Binary vs. Ternary Relationships ,[object Object],age pname Dependents Covers age pname Dependents Purchaser Bad design Better design name Employees ssn lot Policies policyid cost Beneficiary policyid cost Policies name Employees ssn lot
Binary vs. Ternary Relationships (Contd.) ,[object Object],[object Object],[object Object],CREATE TABLE  Policies ( policyid  INTEGER , cost  REAL , ssn  CHAR(11)  NOT NULL , PRIMARY KEY  (policyid). FOREIGN KEY  (ssn)  REFERENCES  Employees, ON DELETE CASCADE ) CREATE TABLE  Dependents   ( pname  CHAR(20) , age  INTEGER , policyid  INTEGER , PRIMARY KEY  (pname, policyid). FOREIGN KEY  (policyid)  REFERENCES  Policies, ON DELETE CASCADE )
Views ,[object Object],CREATE  VIEW   YoungActiveStudents (name, grade) AS   SELECT  S.name, E.grade FROM   Students S, Enrolled E WHERE   S.sid = E.sid and S.age<21 ,[object Object],[object Object],[object Object]
Views and Security ,[object Object],[object Object]
View Definition ,[object Object],[object Object],[object Object],[object Object],[object Object]
Example Queries ,[object Object],[object Object],create view  all_customer  as   ( select  branch_name, customer_name     from  depositor, account   where  depositor.account_number = account.account_number  ) union   ( select  branch_name, customer_name   from  borrower, loan   where  borrower.loan_number = loan.loan_number  ) select  customer_name from  all_customer where  branch_name =  'Perryridge'
Uses of Views ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Processing of Views ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
View Expansion ,[object Object],[object Object],[object Object],[object Object],[object Object]
With Clause ,[object Object],[object Object]
Complex Queries using With Clause ,[object Object],with   branch_total  ( branch _ name ,  value )  as   select   branch _ name ,  sum  ( balance )   from   account   group   by   branch _ name   with   branch _ total _ avg  ( value )  as   select   avg  ( value )   from   branch _ total   select  branch _ name   from   branch _ total ,  branch _ total_avg    where   branch_total.value >= branch_total_avg.value ,[object Object],[object Object]
Update of a View ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Formal Relational Query Languages ,[object Object],[object Object],[object Object]
Preliminaries ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example Instances ,[object Object],[object Object],R1 S1 S2
Relational Algebra ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Projection ,[object Object],[object Object],[object Object],[object Object]
Selection ,[object Object],[object Object],[object Object],[object Object]
Union, Intersection, Set-Difference ,[object Object],[object Object],[object Object],[object Object]
Cross-Product ,[object Object],[object Object],[object Object],[object Object]
Joins ,[object Object],[object Object],[object Object],[object Object]
Joins ,[object Object],[object Object],[object Object]
Division ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Examples of Division A/B A B1 B2 B3 A/B1 A/B2 A/B3
Expressing A/B Using Basic Operators ,[object Object],[object Object],[object Object],[object Object],[object Object],A/B: all disqualified tuples
Find names of sailors who’ve reserved boat #103 ,[object Object],[object Object],[object Object]
Find names of sailors who’ve reserved a red boat ,[object Object],A query optimizer can find this, given the first solution! ,[object Object]
Find sailors who’ve reserved a red or a green boat ,[object Object],[object Object],[object Object]
Find sailors who’ve reserved a red  and  a green boat ,[object Object]
Relational Calculus ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Domain Relational Calculus ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
DRC Formulas ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Free and Bound Variables ,[object Object],[object Object],[object Object],[object Object]
Find all sailors with a rating above 7 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Find sailors rated > 7 who have reserved boat #103 ,[object Object],[object Object]
Find sailors rated > 7 who’ve reserved a red boat ,[object Object],[object Object]
Find sailors who’ve reserved all boats ,[object Object]
Find sailors who’ve reserved all boats (again!) ,[object Object],[object Object],.....
Unsafe Queries,  Expressive Power ,[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMSkoolkampus
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity ConstraintsMegha yadav
 
12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMSkoolkampus
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model IntroductionNishant Munjal
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMSkoolkampus
 
DeadLock in Operating-Systems
DeadLock in Operating-SystemsDeadLock in Operating-Systems
DeadLock in Operating-SystemsVenkata Sreeram
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data StructureAnuj Modi
 
Types Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql ServerTypes Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql Serverprogrammings guru
 
Query optimization
Query optimizationQuery optimization
Query optimizationPooja Dixit
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment>. &lt;
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mountingrajshreemuthiah
 
02. chapter 3 lexical analysis
02. chapter 3   lexical analysis02. chapter 3   lexical analysis
02. chapter 3 lexical analysisraosir123
 
Error Detection & Recovery
Error Detection & RecoveryError Detection & Recovery
Error Detection & RecoveryAkhil Kaushik
 

Was ist angesagt? (20)

Triggers
TriggersTriggers
Triggers
 
Database language
Database languageDatabase language
Database language
 
Input-Buffering
Input-BufferingInput-Buffering
Input-Buffering
 
11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS11. Storage and File Structure in DBMS
11. Storage and File Structure in DBMS
 
Integrity Constraints
Integrity ConstraintsIntegrity Constraints
Integrity Constraints
 
joins in database
 joins in database joins in database
joins in database
 
12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS12. Indexing and Hashing in DBMS
12. Indexing and Hashing in DBMS
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Functional dependency
Functional dependencyFunctional dependency
Functional dependency
 
3. Relational Models in DBMS
3. Relational Models in DBMS3. Relational Models in DBMS
3. Relational Models in DBMS
 
DeadLock in Operating-Systems
DeadLock in Operating-SystemsDeadLock in Operating-Systems
DeadLock in Operating-Systems
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data Structure
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Types Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql ServerTypes Of Join In Sql Server - Join With Example In Sql Server
Types Of Join In Sql Server - Join With Example In Sql Server
 
Query optimization
Query optimizationQuery optimization
Query optimization
 
Chapter 2 database environment
Chapter 2 database environmentChapter 2 database environment
Chapter 2 database environment
 
directory structure and file system mounting
directory structure and file system mountingdirectory structure and file system mounting
directory structure and file system mounting
 
02. chapter 3 lexical analysis
02. chapter 3   lexical analysis02. chapter 3   lexical analysis
02. chapter 3 lexical analysis
 
Error Detection & Recovery
Error Detection & RecoveryError Detection & Recovery
Error Detection & Recovery
 
SQL(DDL & DML)
SQL(DDL & DML)SQL(DDL & DML)
SQL(DDL & DML)
 

Ähnlich wie Unit03 dbms (20)

Unit03 dbms
Unit03 dbmsUnit03 dbms
Unit03 dbms
 
Eer >r.model
Eer >r.modelEer >r.model
Eer >r.model
 
Ch3_Rel_Model-95.ppt
Ch3_Rel_Model-95.pptCh3_Rel_Model-95.ppt
Ch3_Rel_Model-95.ppt
 
Keys.ppt
Keys.pptKeys.ppt
Keys.ppt
 
Unit 03 dbms
Unit 03 dbmsUnit 03 dbms
Unit 03 dbms
 
DEE 431 Database keys and Normalisation Slide 2
DEE 431 Database keys and Normalisation Slide 2DEE 431 Database keys and Normalisation Slide 2
DEE 431 Database keys and Normalisation Slide 2
 
B.tech admission in india
B.tech admission in indiaB.tech admission in india
B.tech admission in india
 
Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013Dbms ii mca-ch4-relational model-2013
Dbms ii mca-ch4-relational model-2013
 
DBMS-Unit-2.pptx
DBMS-Unit-2.pptxDBMS-Unit-2.pptx
DBMS-Unit-2.pptx
 
2 rel-algebra
2 rel-algebra2 rel-algebra
2 rel-algebra
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
uniT 4 (1).pptx
uniT 4 (1).pptxuniT 4 (1).pptx
uniT 4 (1).pptx
 
RDBMS
RDBMSRDBMS
RDBMS
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
Ch 3.pdf
Ch 3.pdfCh 3.pdf
Ch 3.pdf
 
ch3.ppt
ch3.pptch3.ppt
ch3.ppt
 
NMEC RD_UNIT 1.ppt
NMEC RD_UNIT 1.pptNMEC RD_UNIT 1.ppt
NMEC RD_UNIT 1.ppt
 

Mehr von arnold 7490 (20)

Les14
Les14Les14
Les14
 
Les13
Les13Les13
Les13
 
Les11
Les11Les11
Les11
 
Les10
Les10Les10
Les10
 
Les09
Les09Les09
Les09
 
Les07
Les07Les07
Les07
 
Les06
Les06Les06
Les06
 
Les05
Les05Les05
Les05
 
Les04
Les04Les04
Les04
 
Les03
Les03Les03
Les03
 
Les02
Les02Les02
Les02
 
Les01
Les01Les01
Les01
 
Les12
Les12Les12
Les12
 
Unit 8 Java
Unit 8 JavaUnit 8 Java
Unit 8 Java
 
Unit 6 Java
Unit 6 JavaUnit 6 Java
Unit 6 Java
 
Unit 5 Java
Unit 5 JavaUnit 5 Java
Unit 5 Java
 
Unit 4 Java
Unit 4 JavaUnit 4 Java
Unit 4 Java
 
Unit 3 Java
Unit 3 JavaUnit 3 Java
Unit 3 Java
 
Unit 2 Java
Unit 2 JavaUnit 2 Java
Unit 2 Java
 
Unit 1 Java
Unit 1 JavaUnit 1 Java
Unit 1 Java
 

Kürzlich hochgeladen

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 

Kürzlich hochgeladen (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

Unit03 dbms

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52. Examples of Division A/B A B1 B2 B3 A/B1 A/B2 A/B3
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.

Hinweis der Redaktion

  1. 3
  2. 4
  3. 9
  4. 15
  5. 16
  6. 10
  7. 5
  8. 6
  9. 6
  10. 7
  11. 7
  12. 13
  13. 14
  14. 3 The slides for this text are organized into several modules. Each lecture contains about enough material for a 1.25 hour class period. (The time estimate is very approximate--it will vary with the instructor, and lectures also differ in length; so use this as a rough guideline.) This covers Lectures 1 and 2 (of 6) in Module (5). Module (1): Introduction (DBMS, Relational Model) Module (2): Storage and File Organizations (Disks, Buffering, Indexes) Module (3): Database Concepts (Relational Queries, DDL/ICs, Views and Security) Module (4): Relational Implementation (Query Evaluation, Optimization) Module (5): Database Design (ER Model, Normalization, Physical Design, Tuning) Module (6): Transaction Processing (Concurrency Control, Recovery) Module (7): Advanced Topics
  15. 5
  16. 6
  17. 7
  18. 8
  19. 9
  20. 10
  21. 11
  22. 12
  23. 13
  24. 7
  25. 8
  26. 18
  27. 22
  28. 4
  29. 5
  30. 6
  31. 7
  32. 8
  33. 9
  34. 10
  35. 11
  36. 12
  37. 13
  38. 14
  39. 15
  40. 16
  41. 17
  42. 18
  43. 19