What are the good/bad choices the first two rdb systems made

Assignment Help Database Management System
Reference no: EM13946410

1. What is the key benefit provided by the relational model over previous data models?

2. What are three types of physical data dependence described by Codd in his paper?

3. What are the good/bad choices the first two RDB systems made?

4. How the two systems finally united to the current relational database systems. Think about query language, system model, choices on storage, index, query evaluation, etc. What do you think are the choices made in commercial database, why? (Consider 80/20 rule).

5. Use the cost formula to explain why blocked access or pre-fetching is good exercise.

6. Considering a join operation between two tables, one M pages, another N pages, running on a buffer pool with K pages.

What is the number of I/Os using nested-loop join, block-nested loop join. What if a hot set algorithm is used or the DBMIN algorithm is used? What if the replacement policy is LRU or MRU?

7. Consider a 3-level tree structure index with maximum 64 entries per internal node. On a range query that retrieve 1000-1200 entries. What is the number of I/Os if the index is B-tree. What is the number of I/Os if the index is B+ tree. What is the number of I/Os if the index is a cluster index?

8. We say that the basic idea behind index is partition and labeling. What is the partition and labeling of a trie structure?

9. write the exhaustive node-split algorithm for R-tree, then analyze the complexity of the algorithm

10. Analyze the complexity of the node-split algorithms in the R*-tree paper. Compare the algorithms to the corresponding ones in the R-tree paper, illustrate under what circumstance the algorithms in the R*-tree paper will out-perform the ones in the R-tree paper, and under what circumstance they will not.

11. In a Z-curve on a 1024 x 1024 grid, the point with coordinates (1,1) is first, the point (1,2) is second, the point (2,1) is third, and so on. What are the coordinates of the 45th point? Of the 17,945th point?

12. Given you a set of nodes (in 2D space), that belongs to one R-tree node that is to be splitted, what is the results of the splitting, using the three algorithms (as presented in the R-tree paper) respectively?

13. Consider a scenario in which we want to use GIST to model the string matching operation, where containment relationship is a fussy sub-string (with gaps). Please specify what the key functions should be defined.

14. Given a table that has 10 columns, 100K tuples expended across 1000 pages, if we project on two columns, with duplicate elimination, and assume that there are 50 unique values on the combination of the two columns, what is number of I/Os in the best/worse cases?

15. Given two tables R1 and R2, one has 1000 tuples, 100 pages, the other has 2000 tuples, 20 pages. Perform join on the two tables with predicate "R1.a > 2 and R1.a = R2.b", what join algorithm will you use, if (1) there is no index at all. (2) there is B+ tree index on R1.a (3) there is B+ tree index on R2.b. (4) there is cluster B+ tree index on R1.a. (5) there is join index on R1.a and R2.b.

16. What does an operator do in the "open" phase? Consider operator sort, nested-loop join, block-nested-loop join, file scan, index scan.

17. What are the possible physical operator(s) that implement a join? Which are blocked, which are pipelined?

18. Give an example of ((A join B) join C) where the output of a sort-merge join for (A join B) can be fed as input to a simple merge join with C, with no intermediate sorting required. A,B,C are relations -- you pick the attributes and the join conditions to make the above example work out.

19. You have a database with a primary index on ID for Employee and Dept, and secondary index on Name for the Employee relation only. You have access methods available for a Nested Loops Join, Nested Indexed Loop Join, and a Grace Hash Join.

Generate alternative plans for the following query:
SELECT E.Name
FROM Employee E, Dept D
WHERE E.Dept = D.ID
AND D.Name = "Toys"

20. If you are to design an application-style benchmark for a text-oriented XML database, how would you configure the data set and what are the queries you may ask?

Attachment:- Relational Database.zip

Reference no: EM13946410

Questions Cloud

Design of a condensing system for steam : 1. Two configurations are being considered in the design of a condensing system for steam at 1 atm employing a vertical plate maintained at 90°C. The first configuration is a single vertical plate L X w and the second consists of two vertical plate..
The key ethical issues and the stakeholders : Imagine that you are an IT consultant who has been given the task of preparing a report for the management board of a software house that is currently thinking of implementing electronic monitoring throughout its operations.
Saturated steam at atmospheric pressure : A vertical plate 2.5 m high, maintained at a uniform temperature of 54°C, is exposed to saturated steam at atmospheric pressure.
How does shape of the distribution impact what conclude : From the MM207 Student Data Set identify one variable that is discrete and one variable that is continuous. Explain your reasoning. How do you know?
What are the good/bad choices the first two rdb systems made : What is the key benefit provided by the relational model over previous data models?
Derive the voltage measured by the voltmeter : Derive the voltage measured by the voltmeter - Determine the minimum value of Rm required to ensure that the measurement error is smaller than 1 percent of vmi.
Compare the liquidity situation of the two years : Compare the liquidity situation of the two years.  Did its liquidity improve or deteriorate in 2016? Why?  Compare the hotel's solvency over the two years. Was the hotel more or less solvent in 2016? Why
Function of condensation rate : (a) At what surface temperature must the plate be maintained to achieve a condensation rate of m = 25 kg/h? (b) Compute and plot the surface temperature as a function of condensation rate for 15 m 50 kg/h.
Maturity and pay interest semiannually : The bonds have a 10 year term to maturity and pay interest semiannually. Acorn's common stock has a par value of $20.00 per share

Reviews

Write a Review

Database Management System Questions & Answers

  Creating an er model including entity classes

You will need to start by creating an ER model, including both Entity Classes and attributes. This is to be done in MySQL Workbench

  What is meant by data independence

What is meant by data independence? Explain your answer and identify two benefits of separating application software from the database management system.

  Write a query that counts the number of maintenance

Write a query that counts the number of maintenance work orders for each vehicle in the maintenance work order table. Display the vehicle column and the corresponding count of work orders for each vehicle

  Define database systems and data warehouses

Describe how that firms likely use or should use Management Information Systems, Information Systems and Information Technology as it relates to the various topics covered in the class.

  Discussion of heather sweeney designs operational database

Based on the discussion of the Heather Sweeney Designs operational database (HSD) and dimensional database (HSD-DW) in the text, answer the following questions. Using the SQL statements shown in Figure 1, create the HSD-DW data-base in a DBMS

  Develop a model using an excel spreadsheet

Develop a model using an Excel spreadsheet to project financial statements for Rama's Lawn Mowing -  find how many jobs per year would be required for Rama's company to break even; i.e., to achieve a net present value of  0.00.

  Produce a distributed data design for enterprise

Produce a distributed data design for this enterprise. Show data fragmentation/partitioning and replication for each regional database location. Indicate what attributes are in each fragment

  Discuss the reasons for converting sql queries into

1. what a query execution plan?2. discuss the reasons for converting sql queries into relational algebra queries before

  Finance industry-based organization

Imagine that you work for a finance industry-based organization. Your organization is looking to submit its database design documentation to an evaluation team in order to meet Sarbanes-Oxley (SOX) compliance

  Data mining

DATA MINING-Business and Management Scenario assignment-Data Warehouse Reports. This is Part Three of the three-part assignment. For this week, you will complete the following: Resource: Business and Management Scenario assignment, Document data ware..

  What stage of water watch would you put ellis in

This is REAL data. Ellis, KS is currently listed in a Stage 3 Water Emergency. Some argue that this is not reflective of the actual situation. What stage of water watch would you put Ellis in

  Emphasizes entity-relationship diagramming

This week we will see the techniques used to structure the data requirements for an information system application as the textbook and lecture notes emphasizes entity-relationship (E-R) diagramming,

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