Note
For V4.2.0, this parameter is available starting with V4.2.0.
Description
standby_db_fetch_log_rpc_timeout specifies the RPC timeout period for a standby database to fetch logs. This parameter specifies the period within which the log transmission service of the standby database detects that a server of the primary database is unavailable and switches to another server.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.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 RPC timeout period for 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 RPC timeout period for a standby database to fetch logs in the user tenant.
obclient> ALTER SYSTEM SET standby_db_fetch_log_rpc_timeout = '30s';