Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Q. Explain data aggregation and discuss different design constraints.
Sol. Aggregation One limitation of the E-R model is that it cannot express relationships among relationships. To illustrate the need for such a construct consider the ternary relationships works on which we will see between a employee, branch and job (see figure). Now, suppose we want to record managers for tasks performed by an employee at a branch that is we want to record managers for (employee branch job) combinations. Let us assume that there is an entity set manager. One alternative for representing these relationships is to create a quaternary relationship manages between employee, branch, job and manager (A quaternary relationships required a binary relationship between manager and employee would not permit us to represent which (branch, job) combinations of an employee are managed by which manager.) Using the basic E R modeling constructs we obtain the E R diagram of given figure. It appears that the relationship sets works on and manages can be combined into one single relationship set. Nevertheless we should not combine them into a single relationship since some employee; branch job combinations may not have a manager. There is redundant information in the resultant figure however since every employee; branch job combination it manages is also in works on. If the managers were a value rather than manager entity we could instead make manager a multivalued attribute of the relationship works on. But doing so makes it more difficult to find for example employee branch job triples for which a manager is responsible. Since the manager is manager entity this alternative is ruled out in any case. The best way to model a situation such as the just described is to use aggregation. Aggregation is an abstraction through which relationship are treated as higher level entities. Thus for our example we regard the relationship set works on as a higher level entity set called works on. Such an entity set is treated in the same manager between works on and manager to represent who manages what tasks. Figure shows a notation for aggregation commonly used to represent the above situation.
Explain Foreign Key? Foreign Key - Let there are two relations (tables) R and S. Any candidate key of the relation R that is referred within the relation S is known as the fo
Explain the term- Query. Queries are used to repossess and show specific records in a table. They can also be used to show specific fields of specific records, which meet the co
Conflicting Operations in Schedule: The three simple ways of interleaved instruction implement of transactions T1 and T2. Please note that in the following tables the first col
Read the description below and draw an Entity-Relationship diagram for it. You must use the symbols described in the course materials. This database will help the Parents Assocc
What kind of advantages to copying records from one table to another? -) When an algorithm that modifies a table is used after that it's safer to work with the copy -) When
Scenario: You are a freelance database designer who has just been contacted by a small software development company named Altair Software. The president of the company has asked
What is a Transaction? A transaction is an event which happens on the database. Generally a transaction reads a value from the database or writes a value to the database. If y
A collection of a same kind of entities is known as an Entity Set or entity type. Example: For the COLLEGE database defines earlier objects of concern are Students, Faculty,
What are the disadvantages of file processing system? The drawbacks of file processing systems are a) Data redundancy and inconsistency b) Complexity in accessing data
Discuss the methods for a hash file to expand and shrink dynamically. What are the advantages and disadvantages of each? The hashing methods that permit dyanamic file expansi
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd