在RDS,PostgreSQL 9.4中,我尝试升级参数组中的某些参数:pg_stat_statements.track,shared_preload_libraries和track_activity_query_size。如前所述,由于最后两个参数是静态的,因此我需要重新启动数据库实例。但是有线的是,即使我重新启动或重新启动实例,参数仍处于“ pending-reboot”状态
> C:\>aws rds describe-db-parameters --db-parameter-group-name
> pcore-production - source user {
> "Parameters": [
> {
> "ApplyMethod": "immediate",
> "Description": "Selects which statements are tracked by pg_stat_sta ements.",
> "DataType": "string",
> "IsModifiable": true,
> "AllowedValues": "NONE,TOP,ALL",
> "Source": "user",
> "ParameterValue": "ALL",
> "ParameterName": "pg_stat_statements.track",
> "ApplyType": "dynamic"
> },
> {
> "ApplyMethod": "pending-reboot",
> "Description": "Lists shared libraries to preload into server.",
> "DataType": "string",
> "IsModifiable": true,
> "AllowedValues": "pg_stat_statements",
> "Source": "user",
> "ParameterValue": "pg_stat_statements",
> "ParameterName": "shared_preload_libraries",
> "ApplyType": "static"
> },
> {
> "ApplyMethod": "pending-reboot",
> "Description": "Sets the size reserved for pg_stat_activity.current query, in bytes.",
> "DataType": "integer",
> "IsModifiable": true,
> "AllowedValues": "100-102400",
> "Source": "user",
> "ParameterValue": "2048",
> "ParameterName": "track_activity_query_size",
> "ApplyType": "static"
> }
> ] }