

 Amazon Redshift 將不再支援從修補程式 198 開始建立新的 Python UDFs。現有 Python UDF 將繼續正常運作至 2026 年 6 月 30 日。如需詳細資訊，請參閱[部落格文章](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)。

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

# analyze\$1threshold\$1percent
<a name="r_analyze_threshold_percent"></a>

## 值 (粗體為預設值)
<a name="t_analyze_threshold_percent-values"></a>

 **10**、0 到 100.0

## Description
<a name="r_analyze_threshold_percent-description"></a>

設定為了分析資料表而變更的資料列百分比臨界值。為了減少處理時間並提高整體系統效能，如果資料表中變更的列數百分比低於 `analyze_threshold_percent` 指定的值，Amazon Redshift 會略過該資料表的 ANALYZE。例如，若資料表有 100,000,000 列資料，自從上次 ANALYZE 後其中 9,000,000 列已變更，則依預設會略過此資料表，因為已變更的資料列低於百分之 10。若要在只有少量資料列變更時分析資料表，請將 `analyze_threshold_percent` 設定為任何更小的數。例如，如果將`analyze_threshold_percent` 設為 0.01，則 100,000,000 資料列的資料表中變更的資料列大於 10,000 列資料時，便不會略過資料表。若要分析所有資料表，即使沒有任何資料列變更，請將 `analyze_threshold_percent` 設為 0。

您只能針對目前工作階段來使用 SET 命令修改 `analyze_threshold_percent` 參數。不能在參數群組中修改參數。

## 範例
<a name="r_analyze_threshold_percent-example"></a>

```
set analyze_threshold_percent to 15;
set analyze_threshold_percent to 0.01;
set analyze_threshold_percent to 0;
```