Managing a Cluster
Setting Parameter Values

Setting Parameter Values

The parameters documented on this page apply to users of Spock extension version 4.0 and higher. You can use the pgEdge Platform UM module to upgrade your installed version of the Spock extension.

pgEdge Platform uses parameter settings in the postgresql.conf (opens in a new tab) file to manage the replication behavior of PostgreSQL and the extensions that provide advanced functionality for pgEdge.

The parameters are set to their default values when you install pgEdge. You can modify the parameter values later, but should consider the default values to be the minimum values required; we do not recommend lowering these values:

FunctionalityParameter NameDefault Setting and Description
Replicationhot_standby_feedback (opens in a new tab)on
Replicationmax_worker_processes (opens in a new tab)12
Replicationmax_replication_slots (opens in a new tab)16
Replicationmax_wal_senders (opens in a new tab)16
Replicationshared_preload_libraries (opens in a new tab)pg_stat_statements, snowflake, spock
Auto-DDLspock.allow_ddl_from_functions (opens in a new tab)on
Spockspock.conflict_resolutionlast_update_wins
Spockspock.conflict_log_levelThe log level to use for logging conflicts; the default is: DEBUG.
Auto-DDLspock.enable_ddl_replication (opens in a new tab)on
ACE[spock.exception_behavior]discard or transdiscard; the default is transdiscard. If an error occurs, all operations are rolled back (transdiscard) and operations are recorded in spock.exception_log, regardless of succeeding or failing.
ACE[spock.exception_logging]none,discard, or all Use spock.exception_logging to specify a preference about logging exceptions when they occur.
Auto-DDLspock.include_ddl_repset (opens in a new tab)on
Spockspock.readonly (opens in a new tab)all, user, or off. The default of off means that the database is fully read/write. user means database can be updated by replication, but not by a client application. all means database is 100% read only and not even spock can modify it. Read only workloads are always allowed.
Spockspock.save_resolutions (opens in a new tab)on
Snowflakesnowflake.node (opens in a new tab)The snowflake node number; this is unique to each node.
Replicationtrack_commit_timestamp (opens in a new tab)on
Replicationwal_level (opens in a new tab)logical
Replicationwal_sender_timeout (opens in a new tab)5s

Note: On a Multi-master replication system, these parameter settings should be identical on each node. Additionally, the roles created on each node should be the same.