Use the example schema (16.4) on page 703 to design a query for finding the names of all managers (employees with Title = ’manager’) whose salary is more than |S20,000, but assume that there are three warehouses. Also assume that the total number of employees is 100,000, that 5000 of them make over |S20,000, that the total number of managers is 50, and that 90% of the managers make more than |S20,000.

What will be an ideal response?

The best alternative is the one given in the text.
1. At each of the warehouse sites, select all tuples for which the title is manager.
2. Send these tables to the headquarters site. Do the join there, Then send the sames to site A
The number of bytes to be sent is exactly the same as in the text — 1,300 bytes from
all the warehouse sites to the headquarters, plus 675 bytes from the headquarters site
to site A, for a total of 1,975 bytes.

Computer Science & Information Technology

You might also like to view...

___________ and links, such as personal network Bluetooth devices, barcode readers, and handheld PDAs, pose a security risk in terms of both eavesdropping and spoofing.

A. DoS B. Accidental association C. Nontraditional networks D. Ad hoc networks

Computer Science & Information Technology

The PMK is used to generate the _________ which consists of three keys to be used for communication between a STA and AP after they have been mutually authenticated.

A. AAA Key B. GTK C. PTK D. PSK

Computer Science & Information Technology