Provide the expected cardinality of the output of operator A. You are encouraged to show your work and/or reasoning. Provide the expected cardinality of the output of operator B. You are encouraged to show your work and/or reasoning.

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter11: Database Performance Tuning And Query Optimization
Section: Chapter Questions
Problem 24P: Problems 2224 are based on the following query: SELECT P_CODE, P_DESCRIPT, P_PRICE, P.V_CODE,...
icon
Related questions
Question

I need answer quickly

For
the following query plan and statistics, determine the expected cardinality of the query at
the points indicated.
Statistics:
T(Patient)
10,000,000
B (Patient)
100,000
V(Patient, ZipCode)
T(Visits)
=
100,000,000
B(Visits)
= 200,000
V(Visits, CID) = 5,000
V(C, PID)
=
20
P.PatientID = V.PID
A
σ
V.CID 10101
Visits V
=
=
90,000
σ
P.ZipCode = 98177
Patient P
B
C
Transcribed Image Text:For the following query plan and statistics, determine the expected cardinality of the query at the points indicated. Statistics: T(Patient) 10,000,000 B (Patient) 100,000 V(Patient, ZipCode) T(Visits) = 100,000,000 B(Visits) = 200,000 V(Visits, CID) = 5,000 V(C, PID) = 20 P.PatientID = V.PID A σ V.CID 10101 Visits V = = 90,000 σ P.ZipCode = 98177 Patient P B C
Provide the expected cardinality of the output of operator A. You are encouraged to show your
work and/or reasoning.
Provide the expected cardinality of the output of operator B. You are encouraged to show your
work and/or reasoning.
Transcribed Image Text:Provide the expected cardinality of the output of operator A. You are encouraged to show your work and/or reasoning. Provide the expected cardinality of the output of operator B. You are encouraged to show your work and/or reasoning.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Bare Bones Programming Language
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning