Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Business
Study Set
Management Study Set 42
Quiz 4: Object-Relational DBMSs, Database Planning, Design, and Administration
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Question 1
Essay
Compare and contrast the two manifestos: Object-Oriented Database System Manifesto based on the object-oriented paradigm (Atkinson et al., 1989a) and the Third Generation Database System Manifesto published by the Committee for Advanced DBMS Function (CADF).
Question 2
Essay
Discuss how the new version of the SQL standard addresses object-oriented data management. Give examples to illustrate your answers.
Question 3
Essay
The on-going debate between proponents of the relational data model and proponents of the object-oriented data model (if one truly exists), resembles that between the proponents of network/hierarchic systems and relational systems a couple of decades ago. However, another system is evolving that may have a significant impact on what the database management system of the future may be and that is the Object-Relational Database Management System (ORDBMS). Give your definition of an ORDBMS. Compare and contrast the ORDBMS and the Object-Oriented Database Management System (OODBMS).
Question 4
Essay
Discuss how the proposed SQL:2011 standard will handle object identity and give an example of its intended use.
Question 5
Essay
Consider the following schema: Pet (
petNo
, petName, petDescription, dateRegistered, picture, surgeryNo, doctorStaffNo) Staff (
staffNo
, sName, sAddress, position, surgeryNo) Surgery (
surgeryNo
, surgeryAddress, surgeryTelNo) where: Pet
\quad
contains details of pets and the pet number (petNo) is the key. The surgery where the pet is registered is given by the surgery number (surgeryNo). A pet can only be registered with one surgery at a time. The doctor who treats the pet is given by the doctorStaffNo. Picture contains an image of the pet. Staff
\quad
contains details of staff and staff number (staffNo) is the key. Surgery
\quad
contains details of each surgery and the surgery number (surgeryNo) is the key. Now consider the following SQL:2003 query: SELECT petNo, staffNo FROM Pet p, TABLE StaffDoctors s WHERE p.doctorStaffNo = s.staffNo AND p.brownShortHairedTerrier(picture) AND s.surgeryNo = 'S3' AND p.dateRegistered < '1-Jan-90'; The routine brownShortHairedTerrier() is an externally defined routine that searches the specified image for certain characteristics. The StaffDoctors() function is fully defined within SQL3 as: CREATE FUNCTION StaffDoctors() RETURNS SET(Staff) SELECT * FROM Staff WHERE position = 'Doctor'; Discuss how you would want a query optimiser within an ORDBMS to handle this type of query. Use a relational algebra tree to illustrate your answer.
Question 6
Essay
Given the following example of an object type in Oracle: CREATE TYPE carType AS OBJECT ( regNo
\quad
VARCHAR2 (8), make
\quad
VARCHAR2 (20), model
\quad
VARCHAR2 (20)); CREATE TABLE vehicles OF carType; State the two ways: (a) in which the 'vehicles' table can be viewed; (b) to insert a record in the 'vehicles' table; (c) to retrieve records of all Ford cars from the 'vehicles' table.
Question 7
Essay
In the Object Relational Model (ORM) an object-type has a name, attributes, and methods. • What is a method? And what is the principal use of methods? • What kinds of methods are supported by Oracle ORM.