HomeMogDBMogDB StackUqbar
v5.0

Documentation:v5.0

Supported Versions:

Other Versions:

Writer Statement Parameters Supported by Standby Servers

enable_remote_excute

Parameter description: specifies whether to allow standby servers to perform writer statements. If this function is enabled, it cannot be modified.

This parameter is a POSTMASTER parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: true or false

true indicates that standby servers are allowed to perform writer statements. off indicates that this function is disabled.

Default value: off

img Note:

  • enable_remote_execute is set to false in standalone mode.
  • To use this function, the parameter needs to be set to true.
  • Once the function is enabled, standby servers are allowed to perform writer statements and DDL operations. It supports simple and extended queries. When this function is enabled, the read statements are still performed on standby servers and the writer statements are forwarded to primary servers to perform.
  • Once the function is enabled, all SQL statements including read statements are forwarded to a primary server after a transaction is opened on a standby server.
Copyright © 2011-2024 www.enmotech.com All rights reserved.