Database Systems: Design, Implementation, & Management
Database Systems: Design, Implementation, & Management
12th Edition
ISBN: 9781305627482
Author: Carlos Coronel, Steven Morris
Publisher: Cengage Learning
bartleby

Concept explainers

Expert Solution & Answer
Book Icon
Chapter 12, Problem 3P

Explanation of Solution

a. Recommendations of required database system:

Recommendations make regarding the type and characteristics of the required data base system are as follows:

  • • The magazine publishing organization wants a distributed system with distributed database capabilities.
  • • The distributed system will be distributed among the organization locations in Tennessee, South Carolina, Florida, and Georgia.
  • • The distributed transparency features such as transaction transparency, fragmentation transparency, performance transparency, and replica transparency are supported by the Distributed Database Management System (DDBMS).
  • • Heterogeneous competency is not a compulsory feature since the customers assume there is no existing Database Management System (DBMS) in place and that the organizations needs to normalize on a single DBMS.

Explanation of Solution

b. Data fragmentation needed for tables:

The data fragmentation needed for “CUSTOMER”, and “INVOICE” table is as follows:

The database is horizontally partitioned using the “REGION” attribute for the “INVOICE” table and the “STATE” attribute for the “CUSTOMER” table.

Explanation of Solution

c. Criteria used to partition the database:

The criteria “horizontal fragmentation” is used to partition the database.

Horizontal fragmentation of the “INVOICE” table by region is as follows:

Fragment nameLocationConditionNode name
I1TennesseeREGION_CODE = “TN”NAS
I2GeorgiaREGION_CODE = “GA”ATL
I3FloridaREGION_CODE = “FL”TAM
I4South CarolinaREGION_CODE = “SC”CHA

Horizontal fragmentation of the “CUSTOMER” table by state is as follows:

Fragment nameLocationConditionNode name
C1TennesseeREGION_CODE = “TN”NAS
C2GeorgiaREGION_CODE = “GA”ATL
C3FloridaREGION_CODE = “FL”TAM
C4South CarolinaREGION_CODE = “SC”CHA

Explanation of Solution

d. Database fragments:

Following are the database fragments with node names, location, fragment names, attribute names, and demonstration data.

Fragmentation of “INVOICE” table:

Fragment “I1” of “INVOICE” table with location “Tennessee”, and node “NAS” is as follows:

INV_NUMREGION_CODECUS_NUMINC_DATEINV_TOT
213342TN108841-NOV-1545.95
209987TN1099315-FEB-1645.95

Fragment “I2” of “INVOICE” table with location “Georgia”, and node “ATL” is as follows:

INV_NUMREGION_CODECUS_NUMINC_DATEINV_TOT
198893GA1188715-AUG-1570.45
224345GA135581-JUN-1645.95

Fragment “I3” of “INVOICE” table with location “Florida”, and node “TAM” is as follows:

INV_NUMREGION_CODECUS_NUMINC_DATEINV_TOT
200915FL100141-NOV-1545.95
231148FL159981-MAR-1624.95

Fragment “I4” of “INVOICE” table with location “South Carolina”, and node “CHA” is as follows:

INV_NUMREGION_CODECUS_NUMINC_DATEINV_TOT
243312SC2156215-NOV-1545.95
231156SC187761-OCT-1645.95

Fragmentation of “CUSTOMER” table:

Fragment “C1” of “CUSTOMER” table with location “Tennessee”, and node “NAS” is as follows:

CUS_NUMCUS_NAMECUS_ADDRESSCUS_CITYCUS_STATECUS_SUB_DATE
10884James D.Burger123 Court AvenueMenphisNV8-DEC-16
10993Lisa B.Barnette910 Eagle StreetNashvilleNV12-MAR-17

Fragment “C2” of “CUSTOMER” table with location “Georgia”, and node “ATL” is as follows:

CUS_NUMCUS_NAMECUS_ADDRESSCUS_CITYCUS_STATECUS_SUB_DATE
11887Ginny E.Statton335 Main streetAtlantaGA11-AUG-16
10993Anna H.Ariona657 Mason Ave.DaltonGA23-JUN-17

Fragment “C3” of “CUSTOMER” table with location “Florida”, and node “TAM” is as follows:

CUS_NUMCUS_NAMECUS_ADDRESSCUS_CITYCUS_STATECUS_SUB_DATE
10014John T.Chi456 Brent AvenueMiamiFL18-NOV-16
15998Lisa B.Barnette234 Ramala StreetTampaFL23-MAR-17

Fragment “C4” of “CUSTOMER” table with location “South Carolina”, and node “CHA” is as follows:

CUS_NUMCUS_NAMECUS_ADDRESSCUS_CITYCUS_STATECUS_SUB_DATE
21562Thomas F.Matto45 N.Pratt CircleCharlestonSC2-DEC-16
18776Mary B.Smith526 Boone PikeCharlestonSC28-OCT-17

Explanation of Solution

e. Distributed database operations supported at each remote site:

The following table show the map of the location, the fragments at each location, and the type of transaction or request support to need to access the data in the distributed database.

FragmentNASATLTAMCHA
INVOICEI1I2I3I4
CUSTOMERC1C2C3C4
Distributed operations requiredNoneNoneNoneNone

From the above table, there is no interstate access of “INVOICE” or “CUSTOMER” data is required. Therefore, there is no distributed database access is required in the four nodes such as “NAS”, “ATL”, “TAM”, and “CHA”.

Explanation of Solution

f. Distributed database operations supported at headquarters site

The following table show the map of the location, the fragments at each location, and the type of transaction or request support to need to access the data in the distributed database.

FragmentNASATLTAMCHAHeadquarters
INVOICEI1I2I3I4 
CUSTOMERC1C2C3C4 
Distributed operations requiredNoneNoneNoneNoneDistributed request

For the headquarters, the manager needs to able to access the data in all four nodes such through a single SQL request. Therefore, the Distributed Database Management System (DDMS) must support distributed requests.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Problem Statement You are working as a Devops Administrator. Y ou’ve been t asked to deploy a multi - tier application on Kubernetes Cluster. The application is a NodeJS application available on Docker Hub with the following name: d evopsedu/emp loyee This Node JS application works with a mongo database. MongoDB image is available on D ockerHub with the following name: m ongo You are required to deploy this application on Kubernetes: • NodeJS is available on port 8888 in the container and will be reaching out to por t 27017 for mongo database connection • MongoDB will be accepting connections on port 27017 You must deploy this application using the CL I . Once your application is up and running, ensure you can add an employee from the NodeJS application and verify by going to Get Employee page and retrieving your input. Hint: Name the Mongo DB Service and deployment, specifically as “mongo”.
I need help in server client project. It is around 1200 lines of code in both . I want to meet with the expert online because it is complicated. I want the server send a menu to the client and the client enters his choice and keep on this until the client chooses to exit . the problem is not in the connection itself as far as I know.I tried while loops but did not work. please help its emergent
I need help in my server client in C language
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Fundamentals of Information Systems
Computer Science
ISBN:9781337097536
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning