Exam 12: Clientserver Database and Distributed Database

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

An advantage of a centralized database is that there is no need for a distributed directory since all of the data is in one place.

(True/False)
4.9/5
(31)

In the commit phase of the two-phase commit process, either the process is aborted or each site writes the update from their log to their database.

(True/False)
4.8/5
(35)

Distributed data with no replication provides a high degree of availability.

(True/False)
4.9/5
(40)

All of the following are true about a two-tiered client/server LAN, except ____.

(Multiple Choice)
4.8/5
(40)

One of the principles of data replication in a distributed database is to maximize the number of copies of any one table to control the security and concurrency issues.

(True/False)
4.9/5
(30)

If the nature of the data and of the applications that use it can tolerate retrieved data not necessarily being up-to-the-minute accurate, then several "synchronous" approaches to updating replicated data are appropriate.

(True/False)
4.8/5
(31)

If all went well during the prepare phase of the two-phase commit, then during the commit phase ____.

(Multiple Choice)
4.9/5
(29)

The more volatile the data in the database is, the more attractive is the two-phase commit type of synchronous procedure for updating replicated tables in the distributed database.

(True/False)
4.8/5
(38)

If a distributed database network with data replication has one node that has a copy of every table in the database ____.

(Multiple Choice)
4.7/5
(43)

In the two-tier approach to client/server database, location transparency means that the person issuing a query at a client does not have to know whether the data is at the client or at the server.

(True/False)
4.9/5
(34)

A distributed join is required when the tables needed for a join query do not all reside at any one site on the distributed network.

(True/False)
4.8/5
(37)

One use of the term three-tier approach to client/server database is that data sought from one of the client PCs can be on the client's hard drive, at the LAN server, or at a mainframe beyond the LAN.

(True/False)
4.7/5
(43)

If in a distributed database network, a copy of the entire database is kept at the headquarters site and each table is replicated exactly once at any one of the other sites, there is no reason for the headquarters site to ever become a bottleneck.

(True/False)
4.9/5
(25)

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 Date Number Type Location Size Built ENCLOSURE Relation Animal Animal Country Enclosure Number Species Name Gender Of Birth Weight Number ANIMAL Relation Employee Employee Year Number Narne Title Hired ZOOKEEPER Relation Animal Employee Service Number Number Type Date Time CARES FOR Relation Sponsor Social Security Sponsor Number Number Name Address Telephone SPONSOR Relation Animal Sponsor Annual Renewal Number Number Contribution Date CONTRIBUTION Relation Sponsor Dependent Date of Number Name Relationship Birth DEPENDENT Relation

(Essay)
4.7/5
(32)

During the prepare phase of the two-phase commit____.

(Multiple Choice)
4.8/5
(30)

A distributed database management system manages the distributed data as a single, logical database.

(True/False)
4.8/5
(25)

Consider a distributed relational database in which there is no data replication. All of the following are true, except ____.

(Multiple Choice)
4.9/5
(39)

Placing a complete copy of the database at every site on the distributed network maximizes availability and minimizes concurrent update problems.

(True/False)
4.8/5
(31)

The two-phase commit process is used for asynchronous updating of replicated data.

(True/False)
4.9/5
(32)

Dispersing tables on a distributed network without replication avoids the need for a distributed directory.

(True/False)
4.9/5
(30)
Showing 21 - 40 of 56
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)