Database System Concepts
Database System Concepts
7th Edition
ISBN: 9789332901384
Author: Henry F. Korth & S. Sudarshan Abraham Silberschatz
Publisher: MCGRAW-HILL HIGHER EDUCATION
Expert Solution & Answer
Book Icon
Chapter 7, Problem 16PE

Explanation of Solution

Ensuring a dependency-preserving decomposition into 3NF is a lossless decomposition:

  • Let F be a set of functional dependencies which hold on a schema R.
  • Let sigma={R1,R2,...,Rn} be a dependency-preserving 3NF decomposition of R.
  • Let X be a candidate key for R.
  • Consider a legal instance r of R. Let j=ProjectX(r) join ProjectR1(r) join ProjectR2(r) ... Join ProjectRn(r).
    1. ○ It is required to prove that r=j.
    2. ○ It is claimed that, t1 and t2 are two tuples, where t1=t2 such that t1[X]=t2[X].
    3. ○ The inductive argument is used for proving this claim.
    4. ○ Let F'=F1 union F2 union ... union Fn, where each Fi is the restriction of F to the schema Ri in sigma. Closure of X is computed under F'.
    5. ○ Induction is applied the number of times that the for loop in the algorithm executes.

Basis:

In the first step of the algorithm, result is assigned to X, and hence given that t1[X]=t2[X], it is known that t1[result]=t2[result] is true.

Induction Step:

  • Let t1[result]=t2[result] be true at the end of the kth execution of the for loop...

Blurred answer
Students have asked these similar questions
Question D.4: FIFO Page Replacement Consider the following page reference string: e, c, b, e, a, g, d, c, e, g, d, a Considering 4 frames, fill in the following table and then answer how many page faults would occur with the FIFO page replacement algorithm. RS: reference string; FO: frame 0, F1: frame 1, etc. Hint: all frames are initially empty, so your first unique pages will all cost one fault each. Time 1234567891011 12 RS e cb e agd ce g d a FO F1 F2 F3 Page fault? b) Total # page faults: c) Briefly (1-2 sentences) explain Belady's Anomaly that can occur in FIFO Page Replacement.
Consider a system that uses a fixed-partition scheme, with equal partitions of size 2" bytes, and the main memory has 2¹8 bytes. A process table is maintained with a pointer to the resident partition for each resident process. How many bits are required for the pointer in the process table? Show all your steps.
Use the same semaphore notation shown above to describe how we can ensure the execution order of the following process execution graph: P6 P2 P7 P1 P3 P4 P5 Use all of the following semaphores in your answer: s1=0; s2=0; s3=0; s4=0; s5=0; s6=0;
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education