MaxCallsPerRequestBoundary

This property specifies the maximum request size, or ODP.NET calls, beyond which Application Continuity replay will be disabled.

Declaration

// C#
public static int MaxCallsPerRequestBoundary { get; set; }

Property Type

System.Int32

Remarks

In Application Continuity, ODP.NET stores all the driver calls that occur between request boundaries, generally when connections are checked out and in. Having this call record is what makes session restoration possible after a failover. For long-running connections, more calls to restore mean more memory is necessary to retain all the changes between request boundaries. ODP.NET allows you to disable session replay when this memory usage becomes too high by setting a maximum number of calls to retain between request boundaries.

If the property value is set to 100, replay will be disabled for any request with more than 100 calls. Disabling replay applies only to the connection request that exceeds the limit. Other connection requests below the limit remain enabled and can be recovered after a failover. Replay will be re-enabled at the next BeginRequest call on the same connection.

By default, the property value is Int32.MaxValue.