Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 (10 points). Consider relation Ships (name, class, launched) having the following characteristics 1. name is the key. 2. There are 100 pages in Ships.

image text in transcribed

2 (10 points). Consider relation Ships (name, class, launched) having the following characteristics 1. name is the key. 2. There are 100 pages in Ships. 3. Ships is clustered on class, so we expect that all the ships in a class can be found by reading a single page. 4. On average, there are 10 ships in any class and 25 ships launched in any year 5. Query SELECT FROM Ships WHERE name n has probability Pr 6. Query SELECT FROM Ships WHERE class -c has probability p2. 7. Query SELECT FROM Ships WHERE launched - y has probability ps 8. With probability 1-P1-P2-P3 there is an update on Ships. Consider the creation of indexes on name, class, and launched. For each combination of indexes, estimate the average cost of an operation. As a function of P1-0.25, P2-: 0.35, and P 0.2, what is the best choice of indexes? 2 (10 points). Consider relation Ships (name, class, launched) having the following characteristics 1. name is the key. 2. There are 100 pages in Ships. 3. Ships is clustered on class, so we expect that all the ships in a class can be found by reading a single page. 4. On average, there are 10 ships in any class and 25 ships launched in any year 5. Query SELECT FROM Ships WHERE name n has probability Pr 6. Query SELECT FROM Ships WHERE class -c has probability p2. 7. Query SELECT FROM Ships WHERE launched - y has probability ps 8. With probability 1-P1-P2-P3 there is an update on Ships. Consider the creation of indexes on name, class, and launched. For each combination of indexes, estimate the average cost of an operation. As a function of P1-0.25, P2-: 0.35, and P 0.2, what is the best choice of indexes

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

How to find if any no. is divisble by 4 or not ?

Answered: 1 week ago

Question

Explain the Pascals Law ?

Answered: 1 week ago

Question

What are the objectives of performance appraisal ?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago