Examlex
Consider the following relational database for the Central Zoo. Central Zoo wants to maintain information about its animals, the enclosures in which they live, and its zookeepers and the services they perform for the animals. In addition, Central Zoo has a program by which people can be sponsor of animals. Central Zoo wants to track its sponsors, their dependents, and associated data.
Each animal has a unique animal number and each enclosure has a unique enclosure number. An animal can live in only one enclosure. An enclosure can have several animals in it or it can be currently empty. A zookeeper has a unique employee number. Every animal has been cared for by at least one and generally many zookeepers; each zookeeper has cared for at least one and generally many animals. Each time a zookeeper performs a specific, significant service for an animal the service type, date, and time are recorded. A zookeeper may perform a particular service on a particular animal more than once on a given day.
A sponsor, who has a unique sponsor number and a unique social security number, sponsors at least one and possibly several animals. An animal may have several sponsors or none. For each animal that a particular sponsor sponsors, the zoo wants to track the annual sponsorship contribution and renewal date. In addition, Central Zoo wants to keep track of each sponsor's dependents. A sponsor may have several dependents or none. A dependent is associated with exactly one sponsor.
News flash!!! Central Zoo now has branches in four cities: Miami (also the Zoo's headquarters), Tucson, Detroit, and Cleveland. The database structure remains the same except that the Location attribute of the ENCLOSURE relation now indicates in which of the four cities the enclosure is located.
Central Zoo has decided to reconfigure its database as a distributed database among its four locations. Distributed and replicated among these four locations, the tables have the following characteristics:
ENCLOSURE consists of 4,000 records and is used most heavily in the cities in which the individual enclosures are located.
ANIMAL consists of 50,000 records. The entire table is used in the Miami headquarters, in addition to which the records concerning individual animals are used frequently in the locations at which the animals are housed.
ZOOKEEPER consists of 1,500 records with a situation similar to the ANIMAL table.
CARES FOR consists of consists of 5,000 records with a situation similar to the ANIMAL table.
SPONSOR consists of 10,000 records and is used mostly at the Miami headquarters.
CONTRIBUTION consists of 30,000 records with a situation similar to the SPONSOR table.
DEPENDENT consists of 90,000 records with a situation similar to the SPONSOR table.
Design a distributed relational database for Central Zoo. Justify your placement, replication, and partitioning of the tables.
ENCLOSURE Relation
ANIMAL Relation
ZOOKEEPER Relation
CARES FOR Relation
SPONSOR Relation
CONTRIBUTION Relation
DEPENDENT Relation
N-Sleep
Refers to non-rapid eye movement (NREM) sleep, which encompasses stages 1 through 3 of the sleep cycle, involving deepening sleep and physiological rest.
Alpha Rhythms
Brainwaves detected through EEG, associated with relaxed, wakeful states, typically with closed eyes.
Beta Rhythms
A pattern of brain wave activity with a frequency of approximately 13 to 30 Hz that is associated with active thinking, focus, and concentration.
Delta Rhythms
Slow, high-amplitude brainwaves present in deep sleep, meditative states, and under certain pathological conditions, reflecting the deepest levels of relaxation and restorative processes in sleep.
Q6: According to Grisso 1988), the _ objective
Q14: In a disk, once the access arm
Q15: Describe the process of civil commitment.
Q16: _ first formally recognized the rights of
Q20: The usual solution to the lost update
Q33: The _ standard proposes that the state's
Q35: A data dictionary is a program that
Q39: A data mart is a small-scale data
Q54: All of the following are good rules
Q61: The tables used in a SELECT command