
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
Database Systems: Design, Implementation, Management, Loose-leaf Version
- Obtain the MUX design for the function F(X,Y,Z) = (0,3,4,7) using an off-the-shelf MUX with an active low strobe input (E).arrow_forwardI cannot program smart home automation rules from my device using a computer or phone, and I would like to know how to properly connect devices such as switches and sensors together ? Cisco Packet Tracer 1. Smart Home Automation:o Connect a temperature sensor and a fan to a home gateway.o Configure the home gateway so that the fan is activated when the temperature exceedsa set threshold (e.g., 30°C).2. WiFi Network Configuration:o Set up a wireless LAN with a unique SSID.o Enable WPA2 encryption to secure the WiFi network.o Implement MAC address filtering to allow only specific clients to connect.3. WLC Configuration:o Deploy at least two wireless access points connected to a Wireless LAN Controller(WLC).o Configure the WLC to manage the APs, broadcast the configured SSID, and applyconsistent security settings across all APs.arrow_forwardusing r language for integration theta = integral 0 to infinity (x^4)*e^(-x^2)/2 dx (1) use the density function of standard normal distribution N(0,1) f(x) = 1/sqrt(2pi) * e^(-x^2)/2 -infinity <x<infinity as importance function and obtain an estimate theta 1 for theta set m=100 for the estimate whatt is the estimate theta 1? (2)use the density function of gamma (r=5 λ=1/2)distribution f(x)=λ^r/Γ(r) x^(r-1)e^(-λx) x>=0 as importance function and obtain an estimate theta 2 for theta set m=1000 fir the estimate what is the estimate theta2? (3) use simulation (repeat 1000 times) to estimate the variance of the estimates theta1 and theta 2 which one has smaller variance?arrow_forward
- using r language A continuous random variable X has density function f(x)=1/56(3x^2+4x^3+5x^4).0<=x<=2 (1) secify the density g of the random variable Y you find for the acceptance rejection method. (2) what is the value of c you choose to use for the acceptance rejection method (3) use the acceptance rejection method to generate a random sample of size 1000 from the distribution of X .graph the density histogram of the sample and compare it with the density function f(x)arrow_forwardusing r language a continuous random variable X has density function f(x)=1/4x^3e^-(pi/2)^4,x>=0 derive the probability inverse transformation F^(-1)x where F(x) is the cdf of the random variable Xarrow_forwardusing r language in an accelerated failure test, components are operated under extreme conditions so that a substantial number will fail in a rather short time. in such a test involving two types of microships 600 chips manufactured by an existing process were tested and 125 of them failed then 800 chips manufactured by a new process were tested and 130 of them failed what is the 90%confidence interval for the difference between the proportions of failure for chips manufactured by two processes? using r languagearrow_forward
- I want a picture of the tools and the pictures used Cisco Packet Tracer Smart Home Automation:o Connect a temperature sensor and a fan to a home gateway.o Configure the home gateway so that the fan is activated when the temperature exceedsa set threshold (e.g., 30°C).2. WiFi Network Configuration:o Set up a wireless LAN with a unique SSID.o Enable WPA2 encryption to secure the WiFi network.o Implement MAC address filtering to allow only specific clients to connect.3. WLC Configuration:o Deploy at least two wireless access points connected to a Wireless LAN Controller(WLC).o Configure the WLC to manage the APs, broadcast the configured SSID, and applyconsistent security settings across all APs.arrow_forwardA. What will be printed executing the code above?B. What is the simplest way to set a variable of the class Full_Date to January 26 2020?C. Are there any empty constructors in this class Full_Date?a. If there is(are) in which code line(s)?b. If there is not, how would an empty constructor be? (create the code lines for it)D. Can the command std::cout << d1.m << std::endl; be included after line 28 withoutcausing an error?a. If it can, what will be printed?b. If it cannot, how could this command be fixed?arrow_forwardCisco Packet Tracer Smart Home Automation:o Connect a temperature sensor and a fan to a home gateway.o Configure the home gateway so that the fan is activated when the temperature exceedsa set threshold (e.g., 30°C).2. WiFi Network Configuration:o Set up a wireless LAN with a unique SSID.o Enable WPA2 encryption to secure the WiFi network.o Implement MAC address filtering to allow only specific clients to connect.3. WLC Configuration:o Deploy at least two wireless access points connected to a Wireless LAN Controller(WLC).o Configure the WLC to manage the APs, broadcast the configured SSID, and applyconsistent security settings across all APs.arrow_forward
- Transform the TM below that accepts words over the alphabet Σ= {a, b} with an even number of a's and b's in order that the output tape head is positioned over the first letter of the input, if the word is accepted, and all letters a should be replaced by the letter x. For example, for the input aabbaa the tape and head at the end should be: [x]xbbxx z/z,R b/b,R F ① a/a,R b/b,R a/a, R a/a,R b/b.R K a/a,R L b/b,Rarrow_forwardGiven the C++ code below, create a TM that performs the same operation, i.e., given an input over the alphabet Σ= {a, b} it prints the number of letters b in binary. 1 #include 2 #include 3 4- int main() { std::cout > str; for (char c : str) { if (c == 'b') count++; 5 std::string str; 6 int count = 0; 7 char buffer [1000]; 8 9 10 11- 12 13 14 } 15 16- 17 18 19 } 20 21 22} std::string binary while (count > 0) { binary = std::to_string(count % 2) + binary; count /= 2; std::cout << binary << std::endl; return 0;arrow_forwardConsidering the CFG described below, answer the following questions. Σ = {a, b} • NT = {S} Productions: P1 S⇒aSa P2 P3 SbSb S⇒ a P4 S⇒ b A. List one sequence of productions that can accept the word abaaaba; B. Give three 5-letter words that can be accepted by this CFG; C. Create a Pushdown automaton capable of accepting the language accepted by this CFG.arrow_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





