Concept explainers
Explanation of Solution
a. Recommendations of required
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 name | Location | Condition | Node name |
I1 | Tennessee | REGION_CODE = “TN” | NAS |
I2 | Georgia | REGION_CODE = “GA” | ATL |
I3 | Florida | REGION_CODE = “FL” | TAM |
I4 | South Carolina | REGION_CODE = “SC” | CHA |
Horizontal fragmentation of the “CUSTOMER” table by state is as follows:
Fragment name | Location | Condition | Node name |
C1 | Tennessee | REGION_CODE = “TN” | NAS |
C2 | Georgia | REGION_CODE = “GA” | ATL |
C3 | Florida | REGION_CODE = “FL” | TAM |
C4 | South Carolina | REGION_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_NUM | REGION_CODE | CUS_NUM | INC_DATE | INV_TOT |
213342 | TN | 10884 | 1-NOV-15 | 45.95 |
209987 | TN | 10993 | 15-FEB-16 | 45.95 |
Fragment “I2” of “INVOICE” table with location “Georgia”, and node “ATL” is as follows:
INV_NUM | REGION_CODE | CUS_NUM | INC_DATE | INV_TOT |
198893 | GA | 11887 | 15-AUG-15 | 70.45 |
224345 | GA | 13558 | 1-JUN-16 | 45.95 |
Fragment “I3” of “INVOICE” table with location “Florida”, and node “TAM” is as follows:
INV_NUM | REGION_CODE | CUS_NUM | INC_DATE | INV_TOT |
200915 | FL | 10014 | 1-NOV-15 | 45.95 |
231148 | FL | 15998 | 1-MAR-16 | 24.95 |
Fragment “I4” of “INVOICE” table with location “South Carolina”, and node “CHA” is as follows:
INV_NUM | REGION_CODE | CUS_NUM | INC_DATE | INV_TOT |
243312 | SC | 21562 | 15-NOV-15 | 45.95 |
231156 | SC | 18776 | 1-OCT-16 | 45.95 |
Fragmentation of “CUSTOMER” table:
Fragment “C1” of “CUSTOMER” table with location “Tennessee”, and node “NAS” is as follows:
CUS_NUM | CUS_NAME | CUS_ADDRESS | CUS_CITY | CUS_STATE | CUS_SUB_DATE |
10884 | James D.Burger | 123 Court Avenue | Menphis | NV | 8-DEC-16 |
10993 | Lisa B.Barnette | 910 Eagle Street | Nashville | NV | 12-MAR-17 |
Fragment “C2” of “CUSTOMER” table with location “Georgia”, and node “ATL” is as follows:
CUS_NUM | CUS_NAME | CUS_ADDRESS | CUS_CITY | CUS_STATE | CUS_SUB_DATE |
11887 | Ginny E.Statton | 335 Main street | Atlanta | GA | 11-AUG-16 |
10993 | Anna H.Ariona | 657 Mason Ave. | Dalton | GA | 23-JUN-17 |
Fragment “C3” of “CUSTOMER” table with location “Florida”, and node “TAM” is as follows:
CUS_NUM | CUS_NAME | CUS_ADDRESS | CUS_CITY | CUS_STATE | CUS_SUB_DATE |
10014 | John T.Chi | 456 Brent Avenue | Miami | FL | 18-NOV-16 |
15998 | Lisa B.Barnette | 234 Ramala Street | Tampa | FL | 23-MAR-17 |
Fragment “C4” of “CUSTOMER” table with location “South Carolina”, and node “CHA” is as follows:
CUS_NUM | CUS_NAME | CUS_ADDRESS | CUS_CITY | CUS_STATE | CUS_SUB_DATE |
21562 | Thomas F.Matto | 45 N.Pratt Circle | Charleston | SC | 2-DEC-16 |
18776 | Mary B.Smith | 526 Boone Pike | Charleston | SC | 28-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.
Fragment | NAS | ATL | TAM | CHA |
INVOICE | I1 | I2 | I3 | I4 |
CUSTOMER | C1 | C2 | C3 | C4 |
Distributed operations required | None | None | None | None |
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.
Fragment | NAS | ATL | TAM | CHA | Headquarters |
INVOICE | I1 | I2 | I3 | I4 | |
CUSTOMER | C1 | C2 | C3 | C4 | |
Distributed operations required | None | None | None | None | Distributed 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?
Chapter 12 Solutions
EBK DATABASE SYSTEMS: DESIGN, IMPLEMENT
- can u solve this questionarrow_forward1. Unsigned Integers If we have an n-digit unsigned numeral dn-1d n-2...do in radix (or base) r, then the value of that numeral is n−1 r² di Σi=0 which is basically saying that instead of a 10's or 100's place we have an r's or r²'s place. For binary, decimal, and hex r equals 2, 10, and 16, respectively. Just a reminder that in order to write down a large number, we typically use the IEC or SI prefixing system: IEC: Ki = 210, Mi = 220, Gi = 230, Ti = 240, Pi = 250, Ei = 260, Zi = 270, Yi = 280; SI: K=103, M = 106, G = 109, T = 10¹², P = 1015, E = 10¹8, Z = 1021, Y = 1024. 1.1 Conversions a. (15 pts) Write the following using IEC prefixes: 213, 223, 251, 272, 226, 244 21323 Ki8 Ki 223 23 Mi 8 Mi b. (15 pts) Write the following using SI prefixes: 107, 10¹7, 10¹¹, 1022, 1026, 1015 107 10¹ M = 10 M = 1017102 P = 100 P c. (10 pts) Write the following with powers of 10: 7 K, 100 E, 21 G 7 K = 7*10³arrow_forwardanswer shoul avoid using AI and should be basic and please explainarrow_forward
- Node A is connected to node B by a 2000km fiber link having a bandwidth of 100Mbps. What is the total latency time (transmit + propagation) required to transmit a 4000 byte file using packets that include 1000 Bytes of data plus 40 Bytes of header.arrow_forwardanswer should avoid using AI and should be basic and explain pleasearrow_forwardasnwer should avoid using AIarrow_forward
- answer should avoid using AI (such as ChatGPT), do not any answer directly copied from AI would and explain codearrow_forwardWrite a c++ program that will count from 1 to 10 by 1. The default output should be: 1, 2, 3, 4, 5, 6 , 7, 8, 9, 10 There should be only a newline after the last number. Each number except the last should be followed by a comma and a space. To make your program more functional, you should parse command line arguments and change behavior based on their values. Argument Parameter Action -f, --first yes, an integer Change place you start counting -l, --last yes, an integer Change place you end counting -s, --skip optional, an integer, 1 if not specified Change the amount you add to the counter each iteration -h, —help none Print a help message including these instructions. -j, --joke none Tell a number based joke. So, if your program is called counter, counter -f 10 --last 4 --skip 2 should produce 10, 8, 6, 4 Please use the last supplied argument. If your code is called counter, counter -f 4 -f 5 -f 6 should count from 6. You should…arrow_forwardshow workarrow_forward
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781337097536Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
- Systems ArchitectureComputer ScienceISBN:9781305080195Author:Stephen D. BurdPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781285196145Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos CoronelPublisher:Cengage LearningDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage Learning