Develop your skills optimizing query

Assignment Help Database Management System
Reference no: EM131223143

Physical Database Design Assignment: Query Optimisation

This assignment aims to develop your skills optimizing query.

It involves identifying the suitable methods for structuring the data and writing the query.

First, you will need to create a query on some unstructured data. Unstructured data can be thought of in this context as a table which is NOT clustered or hashed. In addition the table should NOT contain any indexes at all. The query can be an equi-join or a sub-query.

The time a query with unstructured data takes to execute (execution time) will be used as the baseline.

Plan how to set up indexes, clusters, and hashed clusters for the same query. Use different numbers of rows and graph these for each type of structure. You need to create enough rows to indicate a trend in the performance (Number of rows should be enough).

You should then run the query and note the execution times for EACH of these structures.

Record the results. When doing this you could alter the way you set up some of these structures by, for instance, altering the hashkey or what you cluster together and note any differences in execution time.

You should by now have determined the optimal data structure in terms of performance. To be confident that your data will make things difficult for Oracle, ensure that:

  • the data is as unordered as possible
  • you retrieve a number of rows

You now have some choices about how you might improve the SQL statement. Take the best optimisation and try to improve it by inserting hints and swapping the order of the tables in the 'from' clause of your query.

The best of these 'improved' statements then needs to be tried out using Oracle's Parallel Query Option.

1323_Figure.png

Reference no: EM131223143

Questions Cloud

Show the impact on the federal reserves balance sheet : Show the impact on the Federal Reserve's balance sheet of a foreign exchange market intervention where the Fed sells $1,000 worth of foreign exchange reserves.
Explain how the given event influence the bank : Write a 2-page, double space 12 font essay. Introduce a current event and explain how this event influence the bank. Open topic.
Prepare new contribution format income statement : Miller Company’s most recent contribution format income statement is shown below: Prepare a new contribution format income statement under each of the following conditions (consider each case independently):
Combinations of monetary and exchange rate policies : Assuming the country is open to international capital flows, which of the given combinations of monetary and exchange-rate policies are viable?
Develop your skills optimizing query : 406706 - Physical Database Design Assignment: Query Optimisation. This assignment aims to develop your skills optimizing query. It involves identifying the suitable methods for structuring the data and writing the query
Do you think happiness is connected to being a good person : Aristotle seems to argue that happiness is only possible if you are a virtuous person. Aquinas, on the other hand, leaves happiness out of the universal human goods. Do you think happiness is connected to being a good person? If so, how? If not, w..
How it interprets the firms financial strength : Review Ford Motor Company's Form 10-K for 2012. Explain the purpose of a company's 10-K and how it interprets the firm's financial strength.
Construct a program flowchart and corresponding pseudcode : Construct a program flowchart and corresponding pseudcode that will compute and output the first number greater than 100 in the preceding series. No input is required.
Generate annually for purchase to be economically viable : MARTA is considering purchasing a fleet of 20 solar powered mini buses. The anticipated purchase price of the fleet is $1,500,000 or $75,000 per bus. Each mini bus is expected to have a useful life of four years when it can be sold for $5000. Assumin..

Reviews

len1223143

9/28/2016 2:56:03 AM

You need to write explanation (Brief explanation) on each event. Just handing in a list of a TRACE without saying what it all means will make you lose your mark. Your comment on each event is as important as the experiment itself. In your report as the conclusion part, you need to write (max length: 300 words) that discusses the effectiveness of Oracle’s query optimizer. The baseline query must take a sufficiently long time to allow improvements to occur later when tuned. The query will need to involve a join (s) of tables so that all data structures can be used. You must rebuild the tables and reload the data between tests when altering the data structures.

Write a Review

Database Management System Questions & Answers

  Write procedure to construct character frequency table

Write the procedure named Get_frequencies which constructs character frequency table. Input to procedure must be a pointer to the string, and pointer to array of 256 doublewords.

  Create a data model of process showing entity associations

Identify the valid entities, and explain why the rejected entities should no be modeled and create a data model of the process showing entity associations.

  Implement in access database using check and unique

These comprise NOT NULL, CHECK, UNIQUE, REFERENTIAL INTEGRITY, and PRIMARY KEY constraints. Are these constraints which we are talking about easy to implement in Access Database?

  What are some disadvantages of databases

Can you mix summarized data with non summarized data?

  Describe what the role of the database administrator is and

discuss what the role of the database administrator is and why it is such an important role in the company. do we

  Write short notes on erd and database file

This course utilizes the Virtual Organizations, an Apollo Group, Inc. learning tool. The Virtual Organizations portal is accessed from the link on your course materials page.

  If those were for me wed keep them all in two to three

if those were for me wed keep them all in two to three minutes longer he says. but thats not my call-its the

  Explaining emp table does not have assigned primary key

Developers have noticed that EMP table doesn't have an assigned primary key. EMP_ID column has been selected to be the primary key.

  Write three items contained in fat database

What does CHS stand for? List three items contained in the FAT database. List two features NTFS provides that FAT does not.

  Write a program that store names to an array

Write a program that store names to an array and accepts names until "quit" is entered. The program includes a menu having these choices

  Question 1explain ten desirable features which may be

question 1explain ten desirable features which may be included in the design of a warehouse. question 2how have to a

  Create an entity-relationship diagram and design

create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd