, Primary_author, Topic,
Tota7_stock, \$price) BOOKSTORE (Store#, City, State, Zip, Inventory_value)
STOCK (Store#, Book#,…
#
Consider the following relations:
BOOKS (Book#, Primary_author, Topic, Tota7_stock, \$price) BOOKSTORE (Store#,
City, State, Zip, Inventory_value) STOCK (Store#, Book#, Qty)
Total_STock is the total number of books in stock, and INVENTORY_VALUE is the
total inventory value for the store in dollars.
a. Give an example of two simple predicates that would be meaningful for the
BOOKSTORE relation for horizontal partitioning.
b. How would a derived horizontal partitioning of stock be defined based on
the partitioning of BOOKSTORE?
c. Show predicates by which Books may be horizontally partitioned by topic.
d. Show how the stock may be further partitioned from the partitions in (b) by
adding the predicates in \((\mathrm{c})\)