

 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/)。

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

# 組態參考
<a name="cm_chap_ConfigurationRef"></a>

您可以使用組態來幫助您自訂環境。您可以透過 Amazon Redshift 來設定各種參數和設定，以自訂和最佳化資料倉儲環境。組態參考概述了可用的叢集屬性、資料庫參數和工作負載管理 (WLM) 組態選項。您可以查看此參考，以根據其特定需求微調效能、安全和資源配置。以下參考提供了修改這些組態的詳細指導，幫助您完成所需的資料倉儲設定。

**Topics**
+ [修改伺服器組態](#t_Modifying_the_default_settings)
+ [analyze\$1threshold\$1percent](r_analyze_threshold_percent.md)
+ [cast\$1super\$1null\$1on\$1error](r_cast_super_null_on_error.md)
+ [datashare\$1break\$1glass\$1session\$1var](r_datashare_break_glass_session_var.md)
+ [datestyle](r_datestyle.md)
+ [default\$1array\$1search\$1null\$1handling](r_default_array_search_null_handling.md)
+ [default\$1geometry\$1encoding](r_default_geometry_encoding.md)
+ [describe\$1field\$1name\$1in\$1uppercase](r_describe_field_name_in_uppercase.md)
+ [downcase\$1delimited\$1identifier](r_downcase_delimited_identifier.md)
+ [enable\$1case\$1sensitive\$1identifier](r_enable_case_sensitive_identifier.md)
+ [enable\$1case\$1sensitive\$1super\$1attribute](r_enable_case_sensitive_super_attribute.md)
+ [enable\$1numeric\$1rounding](r_enable_numeric_rounding.md)
+ [enable\$1result\$1cache\$1for\$1session](r_enable_result_cache_for_session.md)
+ [enable\$1vacuum\$1boost](r_enable_vacuum_boost.md)
+ [error\$1on\$1nondeterministic\$1update](r_error_on_nondeterministic_update.md)
+ [extra\$1float\$1digits](r_extra_float_digits.md)
+ [interval\$1forbid\$1composite\$1literals](r_interval_forbid_composite_literals.md)
+ [json\$1serialization\$1enable](r_json_serialization_enable.md)
+ [json\$1serialization\$1parse\$1nested\$1strings](r_json_serialization_parse_nested_strings.md)
+ [max\$1concurrency\$1scaling\$1clusters](r_max_concurrency_scaling_clusters.md)
+ [max\$1cursor\$1result\$1set\$1size](max_cursor_result_set_size.md)
+ [mv\$1enable\$1aqmv\$1for\$1session](r_mv_enable_aqmv_for_session.md)
+ [navigate\$1super\$1null\$1on\$1error](r_navigate_super_null_on_error.md)
+ [parse\$1super\$1null\$1on\$1error](r_parse_super_null_on_error.md)
+ [pg\$1federation\$1repeatable\$1read](r_pg_federation_repeatable_read.md)
+ [query\$1group](r_query_group.md)
+ [search\$1path](r_search_path.md)
+ [spectrum\$1enable\$1pseudo\$1columns](r_spectrum_enable_pseudo_columns.md)
+ [enable\$1spectrum\$1oid](r_spectrum_enable_spectrum_oid.md)
+ [spectrum\$1query\$1maxerror](r_spectrum_query_maxerror.md)
+ [statement\$1timeout](r_statement_timeout.md)
+ [stored\$1proc\$1log\$1min\$1messages](r_stored_proc_log_min_messages.md)
+ [timezone](r_timezone_config.md)
+ [use\$1fips\$1ssl](use_fips_ssl.md)
+ [wlm\$1query\$1slot\$1count](r_wlm_query_slot_count.md)

## 修改伺服器組態
<a name="t_Modifying_the_default_settings"></a>

您可以採用下列方式來變更伺服器組態：
+ 使用 [SET](r_SET.md) 命令時，將僅覆寫目前工作階段持續時間的設定。

  例如：

  ```
  set extra_float_digits to 2;
  ```
+ 修改叢集的參數群組設定。此參數群組設定包含您可設定的額外參數。如需詳細資訊，請參閱《Amazon Redshift 管理指南》**中的 [Amazon Redshift 參數群組](https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html)。
+ 使用 [ALTER USER](r_ALTER_USER.md) 命令，將指定之使用者執行的所有工作階段的組態參數設定為新的值。

  ```
  ALTER USER username SET parameter { TO | = } { value | DEFAULT }
  ```

使用 SHOW 可命令檢視目前的參數設定。使用 SHOW ALL 可以檢視您可使用 [SET](r_SET.md) 命令加以設定的所有設定。

```
SHOW ALL;

name                      | setting      
--------------------------+--------------
analyze_threshold_percent | 10           
datestyle                 | ISO, MDY     
extra_float_digits        | 2            
query_group               | default      
search_path               | $user, public
statement_timeout         | 0            
timezone                  | UTC            
wlm_query_slot_count      | 1
```

**注意**  
請注意，組態參數會套用至您在資料倉儲中連線的資料庫。