What are different types of query optimization algorithms


Discuss te below:

Q1. Suppose that you are a manufacturer of product ABC, which is composed of parts A, B, and C. Each time a new product is created, it must be added to the product inventory, using the PROD_QOH in a table named PRODUCT. And each time the product ABC is created, the parts inventory, using PART_QOH in a table named PART, must be reduced by one each of parts A, B, and C. The sample database contents are shown in Table below

Table name product

PROD_Code  PROD_QOH
ABC         12.05

TAble name: PART

PART_Code   PART_QOH
A            567
B            499
C            549

Given this information, answer questions a-e.

a. How many database requests can you identify for an inventory update for both PRODUCT and PART?

b. Using SQL, write each database request you have identified in Step a.

c. Write the complete transaction(s).

d. Write the transaction log, using table in an attachment as your template.

e. Using the transaction log you created in Step d, trace its use in database recovery.

Q2. This problem is based on the DDBMS scenario in figure P10.1 in the attachment. Specify the minimum type(s) of operation(s) the database must support (remote request, remote transaction, distributed transaction, or distributed request) in order to perform the following operations at sites C, A and B. Please refer to the attachment for complete question.

Q3. What are the different types of query optimization algorithms?

Q4. Describe three data fragmentation strategies. Give some examples of each.

Q5. What is data replication, and what are the three replication strategies?

Attachment:- DDBMS Scenario.rar

Solution Preview :

Prepared by a verified Expert
Database Management System: What are different types of query optimization algorithms
Reference No:- TGS01932614

Now Priced at $30 (50% Discount)

Recommended (92%)

Rated (4.4/5)