12-12
33. An advantage of targeted data replication in a distributed database network is reduced
communications costs for read-only data access.
34. Partitioned tables in a distributed database network tend to decrease local autonomy
over data.
Problems
1. 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.