Explain how queries are processed by the oracle dbms

Assignment Help Database Management System
Reference no: EM13750528 , Length: 2137 words

Question 1. What is a relational database?

Write a 1500 word essay on the above question. Your response should include the evolution of 1st generation data models, the relevance of seminal work that led to the 2nd generation data model, a discussion of higher order semantics in the relational data model, and an explanation of the related concepts, theories, and modeling notations that are used to create the logical model of a relational database. Elaborate on the role of functional dependencies in normalization, and how the goal of eliminating insertion, deletion, and update anomalies is achieved in relational design. Describe relations in the context of the conceptual and logical data model, as well as the physical implementation of the relational database.

Question 2.

(a) Describe the major advantages and disadvantages of a database system approach to managing data.

(b) Given the DBLC as a structured methodology for designing and implementing a database system, explain the activities that are associated with each phase.

(c) Describe four significant differences between a file-processing system and a DBMS.

(d) Outline at least two reasons why database systems support data manipulation using a declarative query language such as SQL, rather than just providing a library of C or C++ functions to carry out data manipulation. Support your answer by example.

Question 3.

Part 1. Given the following employee database:

Employee (employee_ID, employee_name, street, city, zip, manager_ID)
Works (employee_ID, company_ID, hire_date, salary)
Company (company_ID, company_name, city)

Where the primary keys are underlined with a solid line and any foreign keys are underlined with a dashed line, give an expression in SQL for each of the following queries:

(a) Find the names and cities of residence of all employees who work for ABC Corporation.

(b) Find the names, street addresses, and cities of residence of all employees who work for ABC Corporation and earn more than $10,000.

(c) Find all employees in the database who do not work for ABC Corporation.

(d) Find all companies located in the city in which ABC Corporation is located.

(e) Find all employees hired on or after January 1, 2010. (Note: make sure to use a function on the date column to ensure the date formats in the condition statement match)

Part 2. The Oracle Instance and Transaction/Query Processing

(a) Illustrate and detail the architecture of the Oracle instance, including all memory structures, processes, and associated physical files.

(b) Explain how transactions are processed by the Oracle DBMS.

(c) Explain how queries are processed by the Oracle DBMS.

Question 4: Consider a database used to record the marks that students get on different examinations of different course offerings.

(a) Construct an E-R diagram for the database that models exams as entities, and uses a ternary relationship.

(b) Construct an alternative E-R diagram that uses only a binary relationship between students and course_offerings. Make sure that only one relationship exists between a particular student and course_offering pair, yet you can represent the marks that a student gets in different exams of a course offering.

(c) Design an E-R diagram for keeping track of the exploits of your favorite sports team. You should store the matches played, the scores in each match, the players in each match, and individual player statistics for each match. Summary statistics should be modeled as derived attributes.

(d) Construct an E-R diagram for a car insurance company whose customers own one or more cars each. Each car has associated with it zero to any number of recorded accidents.

(e) A weak entity set can always be made into a strong entity set by adding to its attributes the primary key attributes of its identifying entity set. Outline what sort of redundancy will result if we do so.

Verified Expert

Reference no: EM13750528

Questions Cloud

The three types of qualitative research are phenomenological : The three types of qualitative research are phenomenological, grounded theory, and ethnographic research. What are the differences and similarities between two of the three types of studies?
Research government policies and regulation : Examine the major effects that government policies have on production and employment. Predict the potential effects that government policies could have on your company.
Read about vocabulary development : You have read about vocabulary development, reading comprehension, and the reading-writing connection. How are all 3 of these related? How are you, as a teacher, going to ensure your students are getting all 3? Be specific and give at least 2 example..
What were some of the influences of the pop art phenomenon : What were some of the influences of the pop art phenomenon? Should we consider the creative elements of popular culture, which are very often mass produced works of art?
Explain how queries are processed by the oracle dbms : Explain how queries are processed by the Oracle DBMS and Explain how transactions are processed by the Oracle DBMS
Describe the project scope and project management plan : Prepare four (4) team-building strategies for handling the newly formed team. Discuss the manner in which the strategies that you have prepared may positively or negatively affect productivity within the company. Describe the project scope and proj..
Memo to the president of eec : Prepare a memo to the President of EEC detailing your findings and showing the effects if:
How did japan succeed in keeping europeans largely away : Why and how did Japan succeed in keeping Europeans largely away from its territory in the seventeenth century?
Compare and contrast greek and roman cultures : Compare and Contrast Greek and Roman Cultures. How did the Cycladic, Minoan, and Mycenaean cultures contribute to Greeks' sense of themselves?

Reviews

Write a Review

Database Management System Questions & Answers

  Create an e-r diagram and logical schema

Computerize the entire business, just the processes that Bob's Home Repairs finds most bothersome. You don't need to create forms for data entry - discuss why these differences exist and what, if any, solution you would recommend.

  Write select statement that returns three columns

Write a SELECT statement that returns three columns: InvoiceTotal From the Invoices table, 10% 10% of the value of InvoiceTotal.

  Describes a virtualization project

Subsequently, the evaluation of the project is based on different types of virtualization mechanisms compared to standard physical server deployment.

  Scanner object associated with standard input

Assume that name1, name2, and name3 have been declared and use them in your code. Assume also that stdin is a variable that reference a scanner object associated with standard input.

  Expressions in tuple relational calculus and domain relation

Consider the relational database described in Problem Give expressions in tuple relational calculus and domain relational calculus for each of the following queries: Find all the companies that have offices in all the cities in which company C2..

  Role of metadata in data acquisition process

You are a vice president of marketing for a nation-wide appliance manufacturer with three production plants. Explain different ways you would tend to analyze your sales. What are the business dimensions for your analysis?

  By using the instructions given by your instructor install

using the instructions provided by your instructor install mysql and connect from netbeans. create a user account that

  Security associated with new project

Your company has put in the request for a new database system and you have been tasked with architecting the security associated with this new project.

  How referential integrity constraint prevent data

In physical database design, referential integrity constraints can be defined. What actions does referential integrity constraint prevent from happening when data is inserted in table which contains this constraint?

  1 start with checksalary trigger explain below on triggers

1 start with checksalary trigger explain below on triggers. show that that trigger creates muttating table error. in

  Explain the concept of physical data independence

Explain the concept of physical data independence and its importance in database systems,  List four significant differences between a file-processing system and a DBMS.

  Create query that spans both tables

Create a query that spans both tables. Eliminate redundant fields. Modify the Query to select only those Customers that had service dates in October and November 2006.

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