選取您的 Cookie 偏好設定

我們使用提供自身網站和服務所需的基本 Cookie 和類似工具。我們使用效能 Cookie 收集匿名統計資料,以便了解客戶如何使用我們的網站並進行改進。基本 Cookie 無法停用,但可以按一下「自訂」或「拒絕」以拒絕效能 Cookie。

如果您同意,AWS 與經核准的第三方也會使用 Cookie 提供實用的網站功能、記住您的偏好設定,並顯示相關內容,包括相關廣告。若要接受或拒絕所有非必要 Cookie,請按一下「接受」或「拒絕」。若要進行更詳細的選擇,請按一下「自訂」。

MariaDB 的參數

焦點模式
MariaDB 的參數 - Amazon Relational Database Service

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

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

依預設,MariaDB 資料庫執行個體會使用 MariaDB 資料庫專用的資料庫參數群組。此參數群組包含 MySQL 資料庫引擎的 Amazon RDS 資料庫參數群組中所包含的一部分參數 (而不是全部)。也包含許多新的 MariaDB 專用參數。如需使用參數群組和設定參數的相關資訊,請參閱 的參數組 RDS

檢視 MariaDB 參數

RDS for MariaDB 參數會設為您已選取之儲存引擎的預設值。如需 MariaDB 參數的詳細資訊,請參閱 MariaDB 文件。如需 MariaDB 儲存引擎的詳細資訊,請參閱 Amazon 上 MariaDB 支援的儲存引擎 RDS

您可以使用 RDS 主控台或 AWS CLI 查看特定 RDS for MariaDB 版本的可用參數。如需有關在 RDS 主控台中查看 MariaDB 參數群組參數的資訊,請參閱 檢視 Amazon RDS Amazon 中資料庫參數群組的參數值

藉由 AWS CLI,您可以執行 describe-engine-default-parameters 命令來查看 RDS for MariaDB 版本的參數。為 --db-parameter-group-family 選項指定下列其中一個值:

  • mariadb10.11

  • mariadb10.6

  • mariadb10.5

  • mariadb10.4

  • mariadb10.3

例如,若要檢視 RDS for MariaDB 10.6 版的參數,請執行下列命令。

aws rds describe-engine-default-parameters --db-parameter-group-family mariadb10.6

您的輸出結果類似以下內容。

{ "EngineDefaults": { "Parameters": [ { "ParameterName": "alter_algorithm", "Description": "Specify the alter table algorithm.", "Source": "engine-default", "ApplyType": "dynamic", "DataType": "string", "AllowedValues": "DEFAULT,COPY,INPLACE,NOCOPY,INSTANT", "IsModifiable": true }, { "ParameterName": "analyze_sample_percentage", "Description": "Percentage of rows from the table ANALYZE TABLE will sample to collect table statistics.", "Source": "engine-default", "ApplyType": "dynamic", "DataType": "float", "AllowedValues": "0-100", "IsModifiable": true }, { "ParameterName": "aria_block_size", "Description": "Block size to be used for Aria index pages.", "Source": "engine-default", "ApplyType": "static", "DataType": "integer", "AllowedValues": "1024-32768", "IsModifiable": false }, { "ParameterName": "aria_checkpoint_interval", "Description": "Interval in seconds between automatic checkpoints.", "Source": "engine-default", "ApplyType": "dynamic", "DataType": "integer", "AllowedValues": "0-4294967295", "IsModifiable": true }, ...

若要檢視 RDS for MariaDB 10.6 版的可修改參數,請執行下列命令。

對於LinuxmacOS、或Unix:

aws rds describe-engine-default-parameters --db-parameter-group-family mariadb10.6 \ --query 'EngineDefaults.Parameters[?IsModifiable==`true`]'

在Windows中:

aws rds describe-engine-default-parameters --db-parameter-group-family mariadb10.6 ^ --query "EngineDefaults.Parameters[?IsModifiable==`true`]"

無法使用的 MySQL 參數

以下是未在 MariaDB 特定的資料庫參數群組中提供的 MySQL 參數:

  • bind_address

  • binlog_error_action

  • binlog_gtid_simple_recovery

  • binlog_max_flush_queue_time

  • binlog_order_commits

  • binlog_row_image

  • binlog_rows_query_log_events

  • binlogging_impossible_mode

  • block_encryption_mode

  • core_file

  • default_tmp_storage_engine

  • div_precision_increment

  • end_markers_in_json

  • enforce_gtid_consistency

  • eq_range_index_dive_limit

  • explicit_defaults_for_timestamp

  • gtid_executed

  • gtid-mode

  • gtid_next

  • gtid_owned

  • gtid_purged

  • log_bin_basename

  • log_bin_index

  • log_bin_use_v1_row_events

  • log_slow_admin_statements

  • log_slow_slave_statements

  • log_throttle_queries_not_using_indexes

  • master-info-repository

  • optimizer_trace

  • optimizer_trace_features

  • optimizer_trace_limit

  • optimizer_trace_max_mem_size

  • optimizer_trace_offset

  • relay_log_info_repository

  • rpl_stop_slave_timeout

  • slave_parallel_workers

  • slave_pending_jobs_size_max

  • slave_rows_search_algorithms

  • storage_engine

  • table_open_cache_instances

  • timed_mutexes

  • transaction_allow_batching

  • validate-password

  • validate_password_dictionary_file

  • validate_password_length

  • validate_password_mixed_case_count

  • validate_password_number_count

  • validate_password_policy

  • validate_password_special_char_count

如需 MySQL 參數的詳細資訊,請參閱 MySQL 文件

隱私權網站條款Cookie 偏好設定
© 2025, Amazon Web Services, Inc.或其附屬公司。保留所有權利。