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 for a standby database to pull logs. This parameter is used to control the log transmission service of the standby database to detect when a Server in the primary database is unavailable and switch to another Server.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query the value of 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 RPC timeout for a standby database to pull 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 for a standby database to pull logs in the user tenant.
obclient> ALTER SYSTEM SET standby_db_fetch_log_rpc_timeout = '30s';