Two concurrent global transactions, T1 and T2, consist of the following: T1 = {rl (x1), rl...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Two concurrent global transactions, T1 and T2, consist of the following: T1 = {rl (x1), rl (x5), w1(x1), r1(x6), w1(x5), w1(x6), r1(x2), w1(x2)} T2 = {r2(x3), w2(x3), 12(x4), w2(x4), r2(x6), w2(x6)} where ri(xi) and wi(xj) denote a read and a write operation by transaction i on data item xj. Data items x1, x3 and x5 are stored at site A, while x2, x4 and x6 are stored at site B. In addition, two local transactions L3 and L4 consist of the following: L3 = {r3(x1), r3(x5), w3(x1), r3(x3), w3(x5), w3(x3)} at site A L4= {r4(x2), r4(x6), w4(x2), r4(x4)} at site B and they are executed concurrently with T1 and T2. 2A. (2pts) 1). How many serial schedules of these 18 actions are there in T1, T2 and L4? (1 pt) 2). How many possible schedules of these 10 actions are there in L3 and L4? (1 pt) 2B. (9 pts) Suppose that the schedules SA and SB produced by the local schedulers at site A and site B respectively are as follows: SA = {r3(x1), r3(x5), w3(x1), r1(x1), r1(x5), w1(x1), r2(x3), w2(x3), r3(x3), w3(x3)} SB = {r1(x6), r4(x2), r1(x2), w4(x2), r2(x4), w2(x4), r4(x4), r2(x6), w2(x6)} Two concurrent global transactions, T1 and T2, consist of the following: T1 = {rl (x1), rl (x5), w1(x1), r1(x6), w1(x5), w1(x6), r1(x2), w1(x2)} T2 = {r2(x3), w2(x3), 12(x4), w2(x4), r2(x6), w2(x6)} where ri(xi) and wi(xj) denote a read and a write operation by transaction i on data item xj. Data items x1, x3 and x5 are stored at site A, while x2, x4 and x6 are stored at site B. In addition, two local transactions L3 and L4 consist of the following: L3 = {r3(x1), r3(x5), w3(x1), r3(x3), w3(x5), w3(x3)} at site A L4= {r4(x2), r4(x6), w4(x2), r4(x4)} at site B and they are executed concurrently with T1 and T2. 2A. (2pts) 1). How many serial schedules of these 18 actions are there in T1, T2 and L4? (1 pt) 2). How many possible schedules of these 10 actions are there in L3 and L4? (1 pt) 2B. (9 pts) Suppose that the schedules SA and SB produced by the local schedulers at site A and site B respectively are as follows: SA = {r3(x1), r3(x5), w3(x1), r1(x1), r1(x5), w1(x1), r2(x3), w2(x3), r3(x3), w3(x3)} SB = {r1(x6), r4(x2), r1(x2), w4(x2), r2(x4), w2(x4), r4(x4), r2(x6), w2(x6)}
Expert Answer:
Related Book For
Introduction to Chemical Engineering Thermodynamics
ISBN: 978-0071247085
7th edition
Authors: J. M. Smith, H. C. Van Ness, M. M. Abbott
Posted Date:
Students also viewed these databases questions
-
You are planning the use of a new 8TB HDD Option. Six disk partitions are required for varying file storage uses Option. How should you initialize the disk?Explain
-
a. Formulate and solve a binary integer programming problem to maximize the total number of kitchen sets (and thus the number of customer orders) Furniture City stocks in the local warehouse. Assume...
-
You will design and implement your own data class. The class will store data that has been read as user input from the keyboard (see Getting Input below), and provide necessary operations. As the...
-
Which is the most costly option (in terms of impact in other parts of the organization, not absolute dollars)? Which is the least costly?
-
The rated speed of drum B of the belt sander shown is 2400 rpm. When the power is turned off, it is observed that the sander coasts from its rated speed to rest in 10 s. Assuming uniformly...
-
On June 1, Federia Ltd. issues 4,500 no-par ordinary shares at a cash price of HK$6 per share. Journalize the issuance of the shares assuming the shares have a stated value of HK$2 per share.
-
Show that for a European call or put on a non-dividend-paying stock = N' (d1) SoT SN' (d) -Ke-T N(d2). 2T
-
Philcon Corporation (P.O. Box 4563, Anchorage, AK 99508; EIN 12-3456789) paid Louise Chugach, an employee who lives at 5471 East Tudor Road, Anchorage, AK 99508, wages of $24,554 in 2015. The...
-
1 5y+ x-5 Reduce the complex fraction 3x + 1 3
-
On January 1, 2020, K. Crew Inc. reported a $6,000 credit balance in its Accumulated OCIPension Gain/Loss account related to its pension plan. During 2020, the following events occurred. Actual...
-
A The following information is extracted from Getstar Company's accounting record for the year ended/as at 31 December 2021: Dr. Cr. RM RM Cash 24,400 Accounts Receivable Prepaid Insurance Capital...
-
How does the concept of "agency" in socialization, as emphasized by sociologists like Margaret Archer and Anthony Giddens, illuminate individuals' active engagement in shaping their socialization...
-
What are specific examples of why "EU Competition law policy under Article 101 is very supportive of technology innovation. This is manifest in its case law, guidelines and regulation.". Also, cite...
-
What are the implications of cross-cultural perspectives on socialization, drawing from comparative research and anthropological insights, for understanding the diverse ways in which socialization...
-
Using your own words, briefly describe the "Cognitive Revolution using this material :https://psychology.iresearchnet.com/cognitive-psychology/ , https://www.youtube.com/watch?v=AeoyzqmyWug . You...
-
What did VW do well, and not-so-well in managing their crisis? Reflect on the five practical steps in Chapter 6 on "Managing Business Crises" and identify the areas where, according to the expert in...
-
The financial statements for Harold Corporation contained thefollowing information: Accounts receivable $ 5,000 Sales revenue75,000 Cash 15,000 Salaries and wages expense 20,000 Rent expense10,000...
-
To balance the chemical equation SiH3 + O2 SiO2 + HO, you could introduce coefficients a, b, c, d and write aSiH3 + bO2 cSiO + dHO then write linear equations for each element. The equation for Si...
-
A mass of 140(lbm) of 15-wt-% solution of H2SO4 in water at 160(F) is mixed atmospheric pressure with 230(lbm) of 80-wt-% H2SO4 at 100(F). During the process heat in the amount of 20,000(Btu) is...
-
Methane gas is burned completely with 30% excess air at approximately atmospheric pressure. Both the methane and the air enter the furnace at 30(C saturated with water vapor, and the due gases leave...
-
An electric motor under steady load draws 9.7 amperes al 110 volts; it delivers 1.25(hp) of mechanical energy. The temperature of the surroundings is 300 K. What is the total rate of entropy...
-
Name the scale of measurement (nominal, ordinal, interval, ratio) for each of the following variables: a. One's age (in years) b. Size of soft drink (small, medium, large, extra large) c. Voting...
-
Listed below are additional research questions and hypotheses from actual published articles. For each hypothesis, identify the independent and dependent variable. a. It is expected that achievement...
-
A faculty member wishes to assess the relationship between students' scores on the Scholastic Aptitude test (SAT) and their performance in college. a. What is a possible research hypothesis in this...
Study smarter with the SolutionInn App