Question

In the relational model of database, what does decomposition of a relation scheme means and why...

In the relational model of database, what does decomposition of a relation scheme means and why such decomposition is desirable? Give example(s) to support your discussion.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

A functional decomposition is the process of breaking down the functions of an organization into progressively greater (finer and finer) levels of detail.
In decomposition, one function is described in greater detail by a set of other supporting functions.
The decomposition of a relation scheme R consists of replacing the relation schema by two or more relation schemas that each contain a subset of the attributes of R and together include all attributes in R.
Decomposition helps in eliminating some of the problems of bad design such as redundancy, inconsistencies and anomalies.
There are two types of decomposition :

  1. Lossy Decomposition
  2. Lossless Join Decomposition

Lossy Decomposition :

"The decomposition of relation R into R1 and R2 is lossy when the join of R1 and R2 does not yield the same relation as in R."
One of the disadvantages of decomposition into two or more relational schemes (or tables) is that some information is lost during retrieval of original relation or table.

In lossy decomposition ,spurious tuples are generated when a natural join is applied to the relations in the decomposition.

Lossless Join Decomposition :

"The decomposition of relation R into R1 and R2 is lossless when the join of R1 and R2 yield the same relation as in R."
A relational table is decomposed (or factored) into two or more smaller tables, in such a way that the designer can capture the precise content of the original table by joining the decomposed parts. This is called lossless-join (or non-additive join) decomposition.

This is also refferd as non-additive decomposition.

The lossless-join decomposition is always defined with respect to a specific set F of dependencies.

In lossless decomposition, no any spurious tuples are generated when a natural joined is applied to the relations in the decomposition.

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
In the relational model of database, what does decomposition of a relation scheme means and why...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. What is the structure of a relational database? How do you implement a simple relational...

    1. What is the structure of a relational database? How do you implement a simple relational database in Python and what are some of the benefits? 2. What is the purpose of the “self” argument in the method definitions of a class 3.What does operator-overloading mean in Python? Give an example. 4.Describe the meaning of polymorphism in Object Oriented Programming. Give an example of polymorphism and how it works when the program is executing. 5.What is inheritance in object-oriented design?...

  • NoSQL is an alternative to the traditional relational database system. There is a significant growth of...

    NoSQL is an alternative to the traditional relational database system. There is a significant growth of using NoSQL databases, particularly in big companies. Answer the following questions in relation to NoSQL. a) Why NoSQL is better than relational database for big data? Compare and contrast the differences between relational databases and NoSQL databases. Your discussion should touch on performance, operational workloads and scale. Compare the circumstances under which you would use one over the other and provide contrasting examples. b)...

  • Describe each questions: Explain why the object-oriented database model was developed. How does ...

    Describe each questions: Explain why the object-oriented database model was developed. How does the OID in the OO model differ from the primary key in the relational model? Is it possible for a superkey not to be a candidate key? Why or why not? Briefly describe the four types of binary relationships possible between an entity set A and an entity set B based on relationship cardinality. Sales Database: Customer(custId, lastName, firstName, address, phone, creditLimit) Order(orderNumber, date, total, custID) LineItem(orderNumber,...

  • Define what a relational database is. Describe its importance to an organization and why securing it...

    Define what a relational database is. Describe its importance to an organization and why securing it is important. Provide a database schema in tabular format and provide the necessary SQL statements to build it. Your database should include a table with a minimum of three attributes (columns). Include the SQL statement to create the table and insert data into three rows of the table. This is an individual assignment.

  • What makes the relational data model the most popular data model in use today and give...

    What makes the relational data model the most popular data model in use today and give an example of an relational data model and it's best for that activity?

  • Discuss the normal forms for a relational database schema. What does functional dependency mean? Given is...

    Discuss the normal forms for a relational database schema. What does functional dependency mean? Given is the relational schema R( A, B, C, D, E ) as well as the functional dependencies • AC → BDE • B → D • A → E. Convert the schema into its 3rd normal form.

  • (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications...

    (MMU) has decided to consolidate the functionality of three small overlapping database systems, which support applications for 1) teaching (e.g. instructor assignment and evaluation), for 2) registration (e.g. online course status, waiting lists), and for 3) student records (e.g. transcript generation) The resulting new system will support the following enterprise description: Professors and GTAs are assigned to teach the sections of each class being offered in a semester. At the end of the semester, they get a "team rating" (professors...

  • Help ASAP! 1. (10 pts) Given a relation schema R = (A, B, C, D, G,...

    Help ASAP! 1. (10 pts) Given a relation schema R = (A, B, C, D, G, H) and a set of functional dependencies F = {D -> G, CD -> G, D -> C, H -> G} Find FC, a canonical cover of F. Please show all the steps to get your answer.    2. (30 pts) A Hollywood movie studio uses a relation called Movie to keep track of information about movie stars, what fee a star charges for...

  • **************PLEASE COMPLETE PART F) ONLY************** Consider the following relational database schema (primary keys are underlined) and...

    **************PLEASE COMPLETE PART F) ONLY************** Consider the following relational database schema (primary keys are underlined) and SQL query: Hotel (hotelNo, hotelName, city) Room (roomNo, hotelNo, type, price) Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo) Guest (guestNo, guestName, guestAddress) SELECT g.guestNo, g.guestName FROM Room r, Booking b, Hotel h, Guest g WHERE h.hotelNo = b.hotelNo AND g.guestNo = b.guestNo AND h.hotelNo = r.hotelNo AND h.hotelName = "Ritz" AND dateFrom >= "Jan 01, 2001" AND dateTo <= "Dec 31, 2001"; (A) state what...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT