Create a query on some unstructured data

Assignment Help Basic Statistics
Reference no: EM131226865

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 NOTcontain 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.

Please note:

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.

575_Figure.jpg

Points to note when designing the tests
- 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.
- Tests can vary in their total time and it is safer to run each test 2-3 times to ensure the execution time is consistent.
- The data must stay the same for all the tests otherwise it will not be possible to make comparisons.
- You may need to make design changes to your tables before all the tests will work.
- If you leave the assignment to the last minute you will find the server responses slow because of all the other students also completing assignments at this time.

Reference no: EM131226865

Questions Cloud

What is the future value : What is the future value of $1,200 a year for 46 years at 8 percent interest? Assume annual compounding.
Determine the phase margin of the new amplifier : An open-loop amplifier can be described.- Determine β and the required dominant pole frequency.-  Determine the phase margin of this new amplifier.
Estimate the closed-loop gain at low frequencies : A measurement of the closed-loop gain of an amplifier shows it to be -25 VN at 120 kHz and -100 VN at S kHz. Estimate the closed-loop gain at low frequencies and the corresponding 3 dB frequency. What is f, for the op amp used? (Bc careful!)
Project management office establishment : In your writing show an example of the three steps in documenting a soft return. Also, would a project management office establishment be of any assistance in monitoring the project?
Create a query on some unstructured data : 406706 - Physical Database Design - 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 NOTcontain any indexes at all. The query ca..
Advantages of globalization and standardization of culture : In Unit II, we learned about the concept of globalization of culture. What are the advantages and disadvantages of the globalization and standardization of culture? Provide at least one specific example of the advantage and at least one specific e..
What is the size of your target market : What type of leadership and innovative qualities do you plan to implement in order to execute your marketing strategy? What is the size of your target market? What resources do you believe would be required to implement your plan?
Effects of cca depreciation : The firm's cost of equity is 16% and its pre-tax cost of debt is 8%. The flotation costs of debt and equity are 2% and 8%, respectively. Assume the firm's tax rate is 34% and ignore the effects of CCA depreciation.
Oberon before-tax component cost of debt : Oberon, Inc., has a $20 million (face value) 8-year bond issue selling for 99 percent of par that pays an annual coupon of 8.05 percent. What would be Oberon's before-tax component cost of debt?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Considering the knowledge from module content what are your

a private school utilizes a measure with well-established predictive validity for admissions. however members of a

  The mean and standard deviation on a calculus mid term are

the mean and standard deviation on a calculus mid term are 55 and 16 points while they are 65 and 22 on the final. if a

  Given the following data on seven seas sales type of boat

given the following data on seven seas sales type of boat observed sales expected sales expected observedpirates

  Difference in hemorrhaging rates

The drug Ancrod was tested in a double-blind clinical trial in which subjects who had strokes were randomly assigned to get either Ancrod or a placebo.

  Question 1 a box has 4 red and 5 blue marbles as part of an

question 1. a box has 4 red and 5 blue marbles. as part of an experiment one of the marbles is drawn at random but when

  Determine test grade results at significance level

A high of 10 was possible. A sample of five tests was selected from each group. The test grade results were: At the 0.01 level, what is the critical value?

  Estimate population mean of length of carrots using gro-haut

What would be the minimum sample needed to estimate the population mean of the length of carrots using Gro-Haut to within 1.5 cm with 99% confidence?

  Based on comparing h to the critical value to the critical

There is significant evidence at alpha=0.05 t o show that the populations of endotoxin levels in children living varying distances from operating farms are not equal.

  Determine first and third quartiles for federal savings bank

Determine the first and third quartiles for Federal Savings Bank. Develop a box plot. Are there any outliers? Do the amounts follow a symmetric distribution or are they skewed? Justify your answer.

  Find the probabilities for observe a six

A die is to be rolled and we are to observe the number that falls face up. Find the probabilities for these events: Observe a 6 and Observe an odd number.

  Likelihood that the sample mean

Calculate the likelihood that the sample mean is between $492 and $512. And what is the probability the sample mean is greater than $550?

  Answer the following using the research hypothesis there

the number of deaths due to firearms in the united states between 1968 and 1993 are given belowyearfirearm deaths

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