1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Drupady [299]
3 years ago
6

Explain the purpose of the checkpoint mechanism. How often should checkpoints be performed?How does the frequency of checkpoints

affect:
System performance when no failure occurs?
The time it takes to recover from a system crash?
The time it takes to recover from a disk crash?
Engineering
1 answer:
Olegator [25]3 years ago
3 0

Explanation:

Answer:

1) Check point mechanism is a system, point or mechanism within the database management system that allows for data, information, transactions and general logs passed through the system be retrieved and stored into a separate storage system and talking about how often the check point should be performed, it is advised that checkpoint should be done as often as possible because the more often the checkpoints is done, the lower the probability that obsolete data will be updated or retrieved during the checkpoint process.

How does the frequency of check point affects system performance when no failure occurs?

Answer: When failure does not occur, the process of checkpoint mechanism have only succeeded in accruing unnecessary cost of performing the process which at this time would have been necessary.

How does the frequency of check point affects the time it takes to recover from a system crash ?

Answer: It is important to note that the purpose of a check point mechanism in the first place is for us to be able to recover our data in the database before a time when the database became corrupt. So if we constantly run the process of check point mechanism, it will drastically reduce the time it takes to recover from a system crash because we would have previously detected obsolete data and updated the system before the crash.

How does the frequency of check point affects the time it takes to recover from a disk crash?

Answer: This can also be related to the same time of recovery as that of the system crash.  We can substitute the answer for time to recover from a system crash for that of a disc crash also. The only difference here is that it applies to a disc.

You might be interested in
Steam enters an adiabatic turbine at 400◦C, 2 MPa pressure. The turbine has an isentropic efficiency of 0.9. The exit pressure i
pychu [463]

Answer:

Explanation:

Find attached the solution

8 0
3 years ago
Match the military operation to the category of satellite that would perform it.
SOVA2 [1]

Answer:

1. Location of enemy ground troops  - EARTH OBSERVING.

Using earth observing satellite imagery, the military can observe vast expanses of land and in so doing, find the location of enemy ground troops.

2. Routine reconnaissance of an unfamiliar climate  - WEATHER

In other to find out more about the climate of an area, a weather satellite can be used to observe the areas and its changing weather patterns.

3. Analyze waterways in an unfamiliar location  - NAVIGATION

Using navigation satellites, navigation conduits such as roads and waterways can be observed.

4. Provide warning of an attack - COMMUNICATION.

Communications satellites enable people to communicate over great distances and so can be used by the military to warn of an impending attack.

5 0
3 years ago
For an isotropic material, E and ν are often chosen as the two independent engineering constants. There are other elastic consta
pav-90 [236]

Answer:

khgy

Explanation:

nbv

8 0
3 years ago
For a column that is pinned at both ends, the critical buckling load can be calculated as, Pcr = π2 E I /L^2 where E is Young's
gulaghasi [49]

When a slender member is subjected to an axial compressive load, it may fail by a ... Consider a column of length, L, cross-sectional Moment of Inertia, I, having Young's Modulus, E. Both ends are pinned, meaning they can freely rotate ... p2EI L2 ... scr, is the Euler Buckling Load divided by the columns cross-sectional area

6 0
4 years ago
For this problem, you may not look at any other code or pseudo-code (even if it is on the internet), other than what is on our w
sergiy2304 [10]

Answer:

(a)

(i) pseudo code :-

current = i

// assuming parent of root is -1

while A[parent] < A[current] && parent != -1 do,

if A[parent] < A[current] // if current element is bigger than parent then shift it up

swap(A[current],A[parent])

current = parent

(ii) In heap we create a complete binary tree which has height of log(n). In shift up we will take maximum steps equal to the height of tree so number of comparison will be in term of O(log(n))

(b)

(i) There are two cases while comparing with grandparent. If grandparent is less than current node then surely parent node also will be less than current node so swap current node with parent and then swap parent node with grandparent.

If above condition is not true then we will check for parent node and if it is less than current node then swap these.

pseudo code :-

current = i

// assuming parent of root is -1

parent is parent node of current node

while A[parent] < A[current] && parent != -1 do,

if A[grandparent] < A[current] // if current element is bigger than parent then shift it up

swap(A[current],A[parent])

swap(A[grandparent],A[parent])

current = grandparent

else if A[parent] < A[current]

swap(A[parent],A[current])

current = parent

(ii) Here we are skipping the one level so max we can make our comparison half from last approach, that would be (height/2)

so order would be log(n)/2

(iii) C++ code :-

#include<bits/stdc++.h>

using namespace std;

// function to return index of parent node

int parent(int i)

{

if(i == 0)

return -1;

return (i-1)/2;

}

// function to return index of grandparent node

int grandparent(int i)

{

int p = parent(i);

if(p == -1)

return -1;

else

return parent(p);

}

void shift_up(int A[], int n, int ind)

{

int curr = ind-1; // because array is 0-indexed

while(parent(curr) != -1 && A[parent(curr)] < A[curr])

{

int g = grandparent(curr);

int p = parent(curr);

if(g != -1 && A[g] < A[curr])

{

swap(A[curr],A[p]);

swap(A[p],A[g]);

curr = g;

}

else if(A[p] < A[curr])

{

swap(A[p],A[curr]);

curr = p;

}

}

}

int main()

{

int n;

cout<<"enter the number of elements :-\n";

cin>>n;

int A[n];

cout<<"enter the elements of array :-\n";

for(int i=0;i<n;i++)

cin>>A[i];

int ind;

cout<<"enter the index value :- \n";

cin>>ind;

shift_up(A,n,ind);

cout<<"array after shift up :-\n";

for(int i=0;i<n;i++)

cout<<A[i]<<" ";

cout<<endl;

}

Explanation:

8 0
3 years ago
Other questions:
  • Our goal is to design a traffic-light controller with the following properties; it lights up the green light (output G) for 15 s
    7·1 answer
  • If you’re designing a new pair of shoes, what are some things you’ll have to think about ??
    6·2 answers
  • What gage pressure does a skin diver experience when they dive to 35 ft in the ocean with a water temperature of 55 °F? Report y
    9·1 answer
  • 5) Two concentric spheres of diameter D1= 70 cm and D2= 120 cm are separated by an air space and have surface temperatures of T1
    13·1 answer
  • Given the latent heat of fusion (melting) and the latent heat of vaporisation for water are Δhs = 333.2 kJ/kg and Δhv = 2257 kJ/
    15·1 answer
  • A force measuring instrument comes with a certificate of calibration that identifies two instrument errors and assigns each an u
    12·1 answer
  • A thin 20-cm*20-cm flat plate is pulled at 1m/s horizontally through a 4-mm thick oil layer sandwiched between two stationary pl
    15·1 answer
  • This is various straps secured on a worker to distribute the fall arrest forces. What is depicted in the image?
    6·2 answers
  • A properly fitted wearable pfd should have which characteristics
    11·1 answer
  • Where would outdoor Air quality monitors need to be placed to properly record data?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!