Note
For V4.2.0, this parameter is available starting with V4.2.0.
Description
standby_db_fetch_log_rpc_timeout specifies the timeout period for the RPC of a standby database to fetch logs. This parameter controls the log transmission service of the standby database to detect the unavailability of a server on the primary database and switch to another server.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 15s |
| Value range | [2s, +∞) |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the timeout period for the RPC of a standby database to fetch logs in the sys tenant of the standby tenant cluster.
obclient> ALTER SYSTEM SET standby_db_fetch_log_rpc_timeout = '30s' tenant = 'standby_tenant';
Set the timeout period for the RPC of a standby database to fetch logs in the user tenant.
obclient> ALTER SYSTEM SET standby_db_fetch_log_rpc_timeout = '30s';
