Peak usage constraint for sizing the SRL

For some configurations, it might be common for replication to fall behind the application during some periods and catch up during others. For example, an RLINK might fall behind during business hours and catch up overnight if its peak bandwidth requirements exceed the network bandwidth. Of course, for synchronous RLINKs, this does not apply, as a shortfall in network capacity would cause each application write to be delayed, so the application would run more slowly, but would not get ahead of replication.

For asynchronous RLINKs, the only limit to how far replication can fall behind is the size of the SRL. If it is known that the peak write rate requirements of the application exceed the available network bandwidth, then it becomes important to consider this factor when sizing the SRL.

Assuming that data is available providing the typical application write rate over a series of intervals of equal length, it is simple to calculate the SRL size needed to support this usage pattern.

To calculate the SRL size needed

  1. Calculate the network capacity over the given interval (BWN).
  2. For each interval n, calculate SRL log volume usage (LUn), as the excess of application write rate (BWAP) over network bandwidth (LUn = BWAP(n) - BWN).

    In a shared environment, you must consider the write rates on all the nodes in the cluster. The application write rate (BWAP) should reflect the aggregate of the write rates on each node.

  3. For each interval, accumulate all the SRL usage values to find the cumulative SRL log size (LS):

    The largest value obtained for any LSn is the value that should be used for SRL size as determined by the peak usage constraint.