

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Amazon DocumentDB 叢集參數參考
<a name="cluster_parameter_groups-list_of_parameters"></a>

當您變更動態參數並儲存叢集參數群組時，無論 *Apply Immediately (立即套用)* 設定為何，變更都會立即套用。當您變更靜態參數並儲存叢集參數群組時，參數變更會在您手動重新啟動叢集執行個體之後生效。您可以使用 Amazon DocumentDB 主控台或明確呼叫 來重新啟動執行個體`reboot-db-instance`。

下表顯示套用至 Amazon DocumentDB 叢集中所有執行個體的參數。


**Amazon DocumentDB 叢集層級參數**  

| 參數 | 預設值 | 有效值 | 可修改 | 套用類型 | 資料類型 | Description | 
| --- | --- | --- | --- | --- | --- | --- | 
| audit\_logs | disabled | enabled、disable、ddl、dml\_read、dml\_write、全部、無 | 是 | 動態 | String | 定義是否啟用 Amazon CloudWatch 稽核日誌。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 
| change\_stream\_log\_retention\_duration | 10800 | 3600-604800 | 是 | 動態 | Integer | 定義變更串流日誌保留並可使用的持續時間 (以秒為單位)。 | 
| default\_collection\_compression | disabled | 啟用、停用 (Amazon DocumentDB 5.0)/zstd、lz4、無 (Amazon DocumentDB8.0) | 是 | 動態 | String | 定義叢集中新集合的預設壓縮設定 [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 
| profiler | 停用 | 啟用，停用 | 是 | 動態 | String | 啟用緩慢操作的分析功能。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 
| profiler\_sampling\_rate | 1.0 | 0.0-1.0 | 是 | 動態 | Float | 定義已記錄操作的取樣率。 | 
| profiler\_threshold\_ms | 100 | 50-2147483646 | 是 | 動態 | Integer | 定義 profiler 的閾值。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 
| planner\_version | 3.0 | 1.0、2.0、3.0 | 是 | 動態 | Float | 定義要用於查詢的查詢規劃器版本。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 
| tls | 已啟用 | enabled、disable、fips-140-3、tls1.2\+、tls1.3\+ | 是 | 靜態 | String | 定義 Transport Layer Security (TLS) 連線是否必要。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 
| ttl\_monitor | 已啟用 | 啟用，停用 | 是 | 動態 | String | 定義是否為叢集啟用存活期 (TTL) 監控功能。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/documentdb/latest/developerguide/cluster_parameter_groups-list_of_parameters.html) | 