As a dba it is vital that you understand in detail how a

Assignment Help Database Management System
Reference no: EM13380278

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, and order by 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 not include 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?

Reference no: EM13380278

Questions Cloud

Write a java application that calculates and displays the : write a java application that calculates and displays the property tax for n property owners. n should be declared
Information has many facets value confidentiality integrity : information has many facets value confidentiality integrity privacy legality and so on. all information is not the same
Imagine that you have been hired as the database : imagine that you have been hired as the database administrator for a local department store. the department store has
1write a program that uses joptionpanes to perform the : 1.write a program that uses joptionpanes to perform the following stepsmiddotfirst display a welcome message to your
As a dba it is vital that you understand in detail how a : as a dba it is vital that you understand in detail how a query is processed by the dbms. since team retail is using
As a dba it is vital that you understand in detail how a : as a dba it is vital that you understand in detail how a query is processed by the dbms. since team retail is using
Select a topic from the list and conduct research based on : select a topic from the list and conduct research based on literature at least three recent research papers and prepare
Based on the following background information and project : based on the following background information and project requirements complete a project making use of opnetbackground
You can are required to research into one of the : you can are required to research into one of the following topics on data security or computer-network security and

Reviews

Write a Review

Database Management System Questions & Answers

  Define relational databases

In this Discussion Board, you are asked to define and describe background information of a relational database. Include the following information.

  Draw an e-r diagram

Draw an E-R Diagram and draw an E-R Diagram for Student Information System.

  Potential sales and department store transactions

Identify the potential sales and department store transactions that can be stored within the database and design a database solution and the potential business rules that could be used to house the sales transactions of the department store.

  Evaluate a dbms in terms of lock granularity

Suppose you are asked to evaluate a DBMS in terms of lock granularity and the different locking levels. Create a simple database environment in which these features would be important.

  Explain the security mechanisms available for a database

Use technology and information resources to research issues in database systems. Write clearly and concisely about relational database management systems using proper writing mechanics and technical style conventions.

  Write down responsibilities of database administrator

Write down the responsibilities of the database administrator (DBA)? Could you outline tasks that he/she has to perform, and what could be consequences if these matters are not handled?

  Modify oracle table data using the correct sql statements

modify oracle table data using the correct sql statements. you must create the statements in oracle by using the

  Integrity constraint prevent-data inserted in table

Integrity constraint prevent from happening when data is inserted in table which contains this constraint? Let INSERT, UPDATE, and DELETE actions on both child and the parent.

  Use of the internet and web continues to increase

As the use of the Internet and web continues to increase, students should be familiar with Internet shopping and the information security related to it. This should be done by answering the issues below related to a shopping of a product via the I..

  Create a gis database of information about vietnam

You are asked to create a GIS database of information about Vietnam at scale of 1:100,000. Database will include the following: Which of these features are best represented by raster model? Explain why?

  Create a database design - relational data model

Create a database design specification Enhanced Entity Relationship Diagram (EERD) and Relational Data Model from the given business description - Database Management System

  Its a lead a project that will implement a new learning

its a lead a project that will implement a new learning management system for your university. you have two key tasks

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