Note
This parameter is available starting with V4.2.0.
Description
standby_db_fetch_log_rpc_timeout specifies the timeout period for the RPC call that a standby database makes to fetch logs. This parameter is used to control the log transmission service of the standby database to detect that a Server of the primary database is unavailable and switch 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 standby database to fetch logs RPC timeout period 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 standby database to fetch logs RPC timeout period in the user tenant.
obclient> ALTER SYSTEM SET standby_db_fetch_log_rpc_timeout = '30s';