はじめに
Aurora PostgreSQLのバージョンを14に上げるために、パラメータについて調査する必要があったのでまとめました。
対象の読者
- Aurora PostgreSQL利用者
- パラメータについて調査したい方
- この記事を読んでる方
パラメータグループについて
RDSのパラメータグループにはDBクラスターパラメータグループ
とDBパラメータグループ
がある。
パラメータグループの詳細はこちら
下記はver13
からver14
に変わることで増えたパラメータ、なくなったパラメータを纏めました。
DBクラスターパラメータグループ
増えたパラメータ
client_connection_check_interval
参考:https://postgresqlco.nf/doc/en/param/client_connection_check_interval/
description:Sets the time interval between checks for disconnection while running queriescompute_query_id
参考:https://postgresqlco.nf/doc/en/param/compute_query_id/
description:Compute query identifiersdefault_toast_compression
参考:https://postgresqlco.nf/doc/en/param/default_toast_compression/
description:Sets the default compression method for compressible valuesenable_async_append
参考:https://postgresqlco.nf/doc/en/param/enable_async_append/
description:Enables the planner's use of async append plansenable_memoize
参考:https://postgresqlco.nf/doc/en/param/enable_memoize/
description:Enables the planner's use of memoizationidle_session_timeout
参考:https://postgresqlco.nf/doc/en/param/idle_session_timeout/
description:Sets the maximum allowed idle time between queries, when not in a transactionmin_dynamic_shared_memory
参考:https://postgresqlco.nf/doc/en/param/min_dynamic_shared_memory/
description:Amount of dynamic shared memory reserved at startuprds.accepted_password_auth_method
参考:https://aws.amazon.com/jp/blogs/database/scram-authentication-in-rds-for-postgresql-13/#:~:text=%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%99%E3%80%82%E3%81%93%E3%81%AE-,rds.accepted_password_auth_method,-%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF%E3%81%AF%E3%80%81MD5
description:parameter tells Amazon RDS for PostgreSQL to allow both MD5 and SCRAM passwords, or to only allow SCRAM passwords.recovery_init_sync_method
参考:https://postgresqlco.nf/doc/en/param/recovery_init_sync_method/
description:Sets the method for synchronizing the data directory before crash recoveryremove_temp_files_after_crash
参考:https://postgresqlco.nf/doc/en/param/remove_temp_files_after_crash/
description:Remove temporary files after backend crashssl_crl_dir
参考:https://postgresqlco.nf/doc/en/param/ssl_crl_dir/
description:Location of the SSL certificate revocation list directorytrack_wal_io_timing
参考:https://postgresqlco.nf/doc/en/param/track_wal_io_timing/
description:Collects timing statistics for WAL I/O activityvacuum_failsafe_age
参考:https://postgresqlco.nf/doc/en/param/vacuum_failsafe_age/
description:Age at which VACUUM should trigger failsafe to avoid a wraparound outagevacuum_multixact_failsafe_age
参考:https://postgresqlco.nf/doc/en/param/vacuum_multixact_failsafe_age/
description:Multixact age at which VACUUM should trigger failsafe to avoid a wraparound outage
減ったパラメータ
operator_precedence_warning
参考:https://postgresqlco.nf/doc/en/param/operator_precedence_warning/
description:Emit a warning for constructs that changed meaning since PostgreSQL 9.4vacuum_cleanup_index_scale_factor
参考:https://postgresqlco.nf/doc/en/param/vacuum_cleanup_index_scale_factor/
description:Number of tuple inserts prior to index cleanup as a fraction of reltuplesDBパラメータグループ
増えたパラメータ
client_connection_check_interval
参考:https://postgresqlco.nf/doc/en/param/client_connection_check_interval/
description:Sets the time interval between checks for disconnection while running queriesenable_async_append
参考:https://postgresqlco.nf/doc/en/param/enable_async_append/
description:Enables the planner's use of async append plansenable_memoize
参考:https://postgresqlco.nf/doc/en/param/enable_memoize/
description:Enables the planner's use of memoizationidle_session_timeout
参考:https://postgresqlco.nf/doc/en/param/idle_session_timeout/
description:Sets the maximum allowed idle time between queries, when not in a transactionmin_dynamic_shared_memory
参考:https://postgresqlco.nf/doc/en/param/min_dynamic_shared_memory/
description:Amount of dynamic shared memory reserved at startupremove_temp_files_after_crash
参考:https://postgresqlco.nf/doc/en/param/remove_temp_files_after_crash/
description:Remove temporary files after backend crashssl_crl_dir
参考:https://postgresqlco.nf/doc/en/param/ssl_crl_dir/
description:Location of the SSL certificate revocation list directoryvacuum_cleanup_index_scale_factor
参考:https://postgresqlco.nf/doc/en/param/vacuum_cleanup_index_scale_factor/
description:Number of tuple inserts prior to index cleanup as a fraction of reltuples
減ったパラメータ
- operator_precedence_warning
参考:https://postgresqlco.nf/doc/en/param/operator_precedence_warning/
description:Emit a warning for constructs that changed meaning since PostgreSQL 9.4
最後に
増えたパラメータによってどのような影響があるのかについては別途まとめたいと思います。
コメント