When does oracle stop processing the query

Assignment Help Basic Computer Science
Reference no: EM13973038

Objectives:

·To demonstrate your understanding of how a query is processed.

·Related to Objectives #3 and #4 as listed in the Syllabus Addendum.

Scenario:

As a DBA it is vital that you understand in detail how a query is processed by the DBMS. Since Team Retail is using Oracle, you need to demonstrate your knowledge of Oracle query processing. You recognize that all relational DBMS must perform the same general steps when processing a query even though the steps may have different names and the details may be somewhat different.

1.Consider the processing of a (read-only) query in Oracle. The query will proceed through multiple steps to produce the output.Assume the query contains (or could contain)select, from, where,andorderby clauses. Assume also the query may require the join of two tables. Create a flowchart or structured English "algorithm" to describe how a query is processed.

a. A description at the appropriate level of detail will include how and when syntax and semantic errors are identified through the return of a result set.

b. Include the processing that occurs when a syntax or semantic error occurs.

c. Include other errors as appropriate. Hint: remember the user has to be authorized.

d. Do notinclude details of the optimizer processing; identifying when the optimizer step occurs is sufficient.

e. Acceptable diagram formats include a flowchart, a UML activity diagram, or similar diagram style. The "algorithm" would be a numbered list of steps similar to those used in our assignment descriptions or a checklist.

f. This must be your own diagram or list of steps. Do not copy an existing diagram or algorithm.Such diagrams are usually too detailed or not detailed enough to answer this question.

2.Use the Global Engineering query from your Discussion 3 contribution that has two syntax errors. Describe in detail how this query is processed by Oracle.I recommend that you execute the query and save the results in a spool file; then refer to those results in your analysis. Consider the following in your answer.

a. What error does Oracle find first?

b. When does Oracle stop processing the query?

c. What error message does Oracle return?

d. Is that error message accurate?

e. Does Oracle identify both errors? Why or why not?

3.Use the Global Engineering query from your Discussion 3 contribution that has two semantic errors. Describe in detail how this query is processed by Oracle.I recommend that you execute the query and save the results in a spool file; then refer to those results in your analysis. Consider the following in your answer.

a. What error does Oracle find first?

b. When does Oracle stop processing the query?

c. What error message does Oracle return?

d. Is that error message accurate?

e. Does Oracle identify both errors? Why or why not?

4.Use the Global Engineering query from your Discussion 3 contribution that produces incorrect results. Execute the Explain Plan for this query. Describe in detail how this query is processed by Oracle.I recommend that you execute the query and save the results in a spool file; then refer to those results in your analysis. Consider the following in your answer.

a. How does Oracle process this query? That is, what does Explain Plan tell you about how the query is processed?

b. How would you recognize that the results were not correct?

c. What is the error that caused the query to produce incorrect results?

5.Extra Credit Oracle has to complete many steps in the processing of a DDL statements such as acreate tablestatement. List and describe the steps or substeps Oracle needs to process acreate tablestatement. Show them in the order in which they would occur.

Reference no: EM13973038

Questions Cloud

Charge of communications for a company : When responding to your peers, review the types of social media that are addressed in their posts, and offer further possible examples for their choices.
Create a prototype or mockup of homepage and secondary page : Based on your recommendations from attachments, create a prototype or mockup of the homepage and a secondary page of your choice for your assigned/chosen Virtual Organization.
What are the leader most important tasks : What core personality traits do you bring to your personal leadership model? What leadership skills do you possess, and how do these skills enhance your model? What are the leader's most important tasks? What are the core values that your leadership ..
What were you able to accomplish : Which sources of power do you feel are most applicable to your field of study or industry? Describe a time when you exercised one of these sources of power. What were you able to accomplish
When does oracle stop processing the query : A description at the appropriate level of detail will include how and when syntax and semantic errors are identified through the return of a result set.
Determine the density of the solution : A student uses a volumetric pipet to transfer 10.00 mL of the NaCl solution as described question 3 to a beaker. the mass of this volume of solution is 10.08 g. Determine the density of the solution.
Calculate the density of the substance : If an unknown substance has a mass of 0.6035g and a volume of 0.550 mL, calculate the density of the substance. Please show any unit conversion factors. Your answers must have the correct number of sig figures. a. g/ml b.g/l c. kg.ml d.kg/dm^3.
What is meant by influence tactics : What is meant by "influence tactics"? What are some of the most common tactics used by leaders to influence followers? What is the cornerstone of presidential leadership according to Neustadt? Do you agree or disagree with his perspective and why
Percentage of tenkey assets : Sandra was alarmed because inventories constituted a large percentage of Tenkey's assets, and if losses could occur in even one store, they could probably occur in others too. She called a staff meeting that included the IT director and the genera..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe how your architecture could be implemented

Read the case study titled "A Patient Infonnation System for Mental Health Care", Describe any shortcomings associated with your chosen architecture pattern for the case study. Describe how your architecture could be implemented in hardware and softw..

  Describing problems with information systems management

Describe at least three issues/problems with Information Systems Management (ISM) in a named organization.

  International business

The Topic Paper will be on a current topic in international business. The paper must focus on the international aspects of the topic. The paper should have at least four sources other than the textbook, at least five pages in length as to content not..

  Effects of advertising presentation

Research the Internet to analyze how that product or service has been advertised. Prepare a 15- to 20-slide Microsoft® PowerPoint® presentation in which you investigate the role of advertising in a culture of consumerism. Be sure to discuss the follo..

  Systems development

If you view systems development as a question-and-answer session, another question you could ask is, "Why do organizations develop IT systems?"

  Find the minimum product of sumsexpression

Use algebraic manipulation to find the minimum product of sumsexpression for: (x1 + x3 + x4)(x1 + x2' +x3)(x1 + x2' + x3' + x4). Where ' stands for not.

  Find last ant to fall off the rod

Find last ant to fall off the rod - Output a single integer which is the index (lower index in case two ants are falling simultaneously in the end) of the last ant to fall off.

  Enable the recording of reference material

Create a database to enable the recording of reference material associated with each product. Reference material will be stored in a digital format (video, html, PDF etc) and classified to enable users to search and view the reference material.

  Compare and contrast between make-to-stock and make-to-order

Write your own personal statement or comment with the essay below with each question.1. Compare and contrast between make-to-stock and make-to-order systems. In your comparison, why does each system require different types of contracts?

  Converts live multimedia content for real-time streaming

Converts live multimedia content for real-time streaming

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Automata theory involves the study of mathematical objects

Automata theory involves the study of mathematical objects called automata and the computational problems that can be solved using them. Context-free grammar provides us with mathematical techniques of building phases in a language from other bloc..

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