Server Configuration Parameter Changes from SynxDB 5 to 6
SynxDB 2 includes new server configuration parameters, and removes or updates the default values of certain server configuration parameters as described below.
New Parameters
The following new server configuration parameters are available in SynxDB 2:
default_text_search_configselects the text search configuration.default_transaction_deferrablecontrols the default deferrable status of each new transaction.gp_enable_global_deadlock_detectorcontrols whether the SynxDB global deadlock detector is enabled.gp_global_deadlock_detector_periodis the timeout period for the SynxDB global deadlock detector.gp_use_legacy_hashopscontrols whether the legacy or default hash functions are used when creating tables that are defined with a distribution column.lock_timeoutidentifies the amount of time for SynxDB to wait to acquire a lock.optimizer_enable_dmlcontrols DML operations executed by GPORCA.temp_tablespacesspecifies the tablespace in which SynxDB creates temporary objects.
Removed Parameters
The following server configuration parameters are removed in SynxDB 2:
add_missing_fromcustom_variable_classesfilerep_mirrorvalidation_during_resyncgp_analyze_relative_errorgp_backup_directIOgp_backup_directIO_read_chunk_mbgp_cancel_query_delay_time(undocumented)gp_cancel_query_print_log(undocumented)gp_connections_per_threadgp_email_fromgp_email_smtp_passwordgp_email_smtp_servergp_email_smtp_useridgp_email_togp_enable_fallback_plangp_enable_sequential_window_plansgp_filerep_tcp_keepalives_countgp_filerep_tcp_keepalives_idlegp_filerep_tcp_keepalives_intervalgp_fts_probe_threadcountgp_hadoop_homegp_hadoop_target_versiongp_idf_deduplicategp_interconnect_hash_multipliergp_max_csv_line_lengthgp_max_databasesgp_max_filespacesgp_max_tablespacesgp_num_contents_in_clustergp_snmp_communitygp_snmp_monitor_addressgp_snmp_use_inform_or_trapgp_workfile_checksummingkrb_srvnamemax_fsm_pagesmax_fsm_relations
Changed Parameters
These server configuration parameters are changed in SynxDB 2:
-
These configuration parameter values are changed from strings to enums:
backslash_quoteclient_min_messagesdefault_transaction_isolationIntervalStylelog_error_verbositylog_min_messageslog_statement
-
The
debug_pretty_printparameter default value is changed fromofftoon. -
The
effective_cache_sizeparameter default value is changed from16384pages to524288pages. -
The
gp_cached_segworkers_thresholdparameter minimum value is changed from0to1. -
The
gp_recursive_cte_prototypeconfiguration parameter name is changed togp_recursive_cteand deprecated. -
The
gp_workfile_limit_per_queryparameter maximum value is changed fromSIZE_MAX/1024toINT_MAX. -
The
gp_workfile_limit_per_segmentparameter maximum value is changed fromSIZE_MAX/1024toINT_MAX. -
The
gp_workfile_compress_algorithmconfiguration parameter name is changed togp_workfile_compression. This server configuration parameter now enables or disables compression of temporary files. When workfile compression is enabled, SynxDB uses Zstandard compression. -
The default value of the
log_rotation_sizeparameter is changed from0to1GB. This changes the default log rotation behavior so that a new log file is opened when more than 1GB has been written to the current log file, or when the current log file has been open for 24 hours. -
The
optimizer_force_multistage_aggparameter default is changed fromtruetofalse. GPORCA will now by default choose between a one-stage or two-stage aggregate plan for a scalar distinct qualified aggregate based on cost. -
The
optimizer_penalize_skewparameter default is changed fromfalsetotrue. GPORCA will now by default choose between a one-stage or two-stage aggregate plan for a scalar distinct qualified aggregate based on cost. -
The
pgstat_track_activity_query_sizeconfiguration parameter name is changed totrack_activity_query_sizeand removed. -
The
server_versionparameter value is changed from8.3.23to9.4.20. -
The
server_version_numparameter value is changed from80323to90420. -
When the resource group resource management scheme is enabled and you configure
MEMORY_SPILL_RATIO=0for a resource group, SynxDB uses thestatement_memparameter setting to identify the initial amount of query operator memory. -
The
unix_socket_directoryconfiguration parameter name is changed tounix_socket_directoriesand now references one or more directories where SynxDB creates Unix-domain sockets. -
The
bytearepresentation changed to a hexadecimal format, by default. Use the server parameterbytea_outputto select the 5.x output format for backward compatibility. After upgrading, set thebytea_outputconfiguration parameter toescapeby runninggpconfig -c bytea_output -v escape.
