支援的資料庫旗標

選取說明文件版本:

本頁面列出 AlloyDB Omni 支援的資料庫旗標。

您可以使用資料庫標記執行許多作業,包括調整 PostgreSQL 參數、調整選項,以及設定和調整執行個體。

如要進一步瞭解如何在 AlloyDB Omni 中設定資料庫標記,請參閱「設定 AlloyDB Omni 資料庫標記」。

如要進一步瞭解如何使用下表列出的各個標記,請按一下標記名稱。

表格的其他資料欄包含每個標記的額外資訊:

  • 「預設值」資料欄會顯示 AlloyDB Omni 在新執行個體中為這個標記設定的值,除非您在建立執行個體時指定了不同的值。

    標準預設值表示標記具有預設值,但並非由 AlloyDB Omni 設定。如要瞭解詳情,請按一下旗標名稱。

  • 在「需要重新啟動」欄中,如果顯示「是」,表示您在執行個體上設定、移除或修改標記時,需要重新啟動 AlloyDB Omni。除非您再次修改,否則系統會保留執行個體的旗標值。

  • 在「副本限制」欄中,「是」表示使用旗標時有下列限制:

    • 在叢集的主要執行個體上設定這個旗標之前,請先在叢集的每個副本執行個體上設定旗標。

    • 如果主要執行個體已設定這個旗標,任何副本執行個體上這個旗標的值都必須大於或等於主要執行個體的值。

A | C | D | E | F | G | H | I | J | L | M | O | P | R | S | T | V | W

AlloyDB Omni 旗標 預設值 需要重新啟動 副本限制
alloydb.enable_pgaudit off
alloydb.log_throttling_window
alloydb.promote_cancel_to_terminate off
alloydb.pg_shadow_select_role 空字串
auto_explain.log_analyze 標準預設
auto_explain.log_buffers 標準預設
auto_explain.log_format 標準預設
auto_explain.log_level 標準預設
auto_explain.log_min_duration 標準預設
auto_explain.log_nested_statements 標準預設
auto_explain.log_settings 標準預設
auto_explain.log_timing 標準預設
auto_explain.log_triggers 標準預設
auto_explain.log_verbose 標準預設
auto_explain.log_wal 標準預設
auto_explain.sample_rate 標準預設
autovacuum 標準預設
autovacuum_analyze_scale_factor 標準預設
autovacuum_analyze_threshold 標準預設
autovacuum_freeze_max_age 標準預設
autovacuum_max_workers 標準預設
autovacuum_multixact_freeze_max_age 標準預設
autovacuum_naptime 標準預設
autovacuum_vacuum_cost_delay 標準預設
autovacuum_vacuum_cost_limit 標準預設
autovacuum_vacuum_scale_factor 標準預設
autovacuum_vacuum_threshold 標準預設
autovacuum_work_mem 標準預設
checkpoint_completion_target 標準預設
checkpoint_timeout 標準預設
checkpoint_warning 標準預設
commit_delay 標準預設
commit_siblings 標準預設
constraint_exclusion 標準預設
cpu_index_tuple_cost 標準預設
cpu_operator_cost 標準預設
cpu_tuple_cost 標準預設
cron.database_name 標準預設
cron.log_min_messages 標準預設
cron.log_run 標準預設
cron.log_statement 標準預設
cron.max_running_jobs 標準預設
cursor_tuple_fraction 標準預設
deadlock_timeout 標準預設
default_statistics_target 標準預設
default_tablespace 標準預設
default_transaction_deferrable 標準預設
default_transaction_isolation 標準預設
effective_cache_size 執行個體 RAM 的 80%
enable_bitmapscan 標準預設
enable_google_adaptive_autovacuum on
enable_hashagg 標準預設
enable_hashjoin 標準預設
enable_indexonlyscan 標準預設
enable_indexscan 標準預設
enable_material 標準預設
enable_mergejoin 標準預設
enable_nestloop 標準預設
enable_seqscan 標準預設
enable_sort 標準預設
enable_tidscan 標準預設
force_parallel_mode 標準預設
from_collapse_limit 標準預設
geqo 標準預設
geqo_effort 標準預設
geqo_generations 標準預設
geqo_pool_size 標準預設
geqo_seed 標準預設
geqo_selection_bias 標準預設
geqo_threshold 標準預設
gin_fuzzy_search_limit 標準預設
gin_pending_list_limit 標準預設
google_columnar_engine.auto_columnarization_schedule 'EVERY 1 HOUR'
google_columnar_engine.enable_auto_columnarization on
google_columnar_engine.enable_columnar_scan on
google_columnar_engine.enabled off
google_columnar_engine.memory_size_in_mb 執行個體 RAM 的 30%
google_columnar_engine.refresh_threshold_percentage 50
google_columnar_engine.refresh_threshold_scan_count 5
google_columnar_engine.relations 空字串
google_db_advisor.auto_advisor_max_time_in_seconds 1800
google_db_advisor.auto_advisor_schedule 'EVERY 24 HOURS'
google_db_advisor.enable_auto_advisor on
google_db_advisor.enabled on
google_db_advisor.max_index_width 2
google_db_advisor.max_num_indexable_columns 1000
google_db_advisor.max_statement_length 102400
google_db_advisor.max_storage_size_in_mb 0
google_db_advisor.recommendation_max_time_in_seconds 600
google_db_advisor.recommend_indexes_on_partitions off
google_db_advisor.top_k_slowest_statements 100
google_job_scheduler.maintenance_cpu_percentage 20
google_job_scheduler.max_parallel_workers_per_job 2
google_ml_integration.enable_model_support off
google_storage.log_replay_throttle_read_transactions on
hot_standby_feedback on
idle_session_timeout 標準預設
join_collapse_limit 標準預設
lock_timeout 標準預設
log_autovacuum_min_duration 0
log_checkpoints 標準預設
log_connections 標準預設
log_disconnections 標準預設
log_duration 標準預設
log_error_verbosity 標準預設
log_executor_stats 標準預設
log_hostname 標準預設
log_line_prefix 標準預設
log_lock_waits 標準預設
log_min_duration_statement 標準預設
log_min_error_statement 標準預設
log_min_messages 標準預設
log_parser_stats 標準預設
log_planner_stats 標準預設
log_replication_commands 標準預設
log_statement 標準預設
log_statement_stats 標準預設
log_temp_files 0
maintenance_work_mem 標準預設
max_connections 1000
max_locks_per_transaction 標準預設
max_logical_replication_workers 標準預設
max_parallel_maintenance_workers 標準預設
max_parallel_workers 執行個體 CPU 數量或 8,以較大者為準
max_parallel_workers_per_gather 執行個體 CPU 數量的一半或 2,以較大者為準
max_pred_locks_per_page 標準預設
max_pred_locks_per_relation 標準預設
max_pred_locks_per_transaction 標準預設
max_prepared_transactions 標準預設
max_replication_slots 60
max_standby_archive_delay 標準預設
max_standby_streaming_delay 標準預設
max_sync_workers_per_subscription 標準預設
max_wal_senders 50
max_wal_size 1504
max_worker_processes 64
min_wal_size 標準預設
old_snapshot_threshold 標準預設
parallel_setup_cost 標準預設
parallel_tuple_cost 標準預設
password_encryption 標準預設
password.enforce_password_does_not_contain_username OFF
password.enforce_expiration OFF
password.enforce_complexity OFF
password.expiration_in_days 90
password.min_uppercase_letters 0
password.max_uppercase_letters 1000
password.min_lowercase_letters 0
password.max_lowercase_letters 1000
password.min_numerical_chars 0
password.max_numerical_chars 1000
password.min_special_chars 0
password.max_special_chars 1000
password.min_pass_length 0
password.max_pass_length 1000
password.notify_expiration_in_days 30
pg_bigm.enable_recheck 標準預設
pg_bigm.gin_key_limit 標準預設
pg_bigm.similarity_limit 標準預設
pg_hint_plan.debug_print 標準預設
pg_hint_plan.enable_hint 標準預設
pg_hint_plan.enable_hint_table 標準預設
pg_hint_plan.message_level 標準預設
pg_hint_plan.parse_messages 標準預設
pg_stat_statements.max 標準預設
pg_stat_statements.save 標準預設
pg_stat_statements.track 標準預設
pg_stat_statements.track_utility 標準預設
pgaudit.log 標準預設
pgaudit.log_catalog 標準預設
pgaudit.log_client 標準預設
pgaudit.log_level 標準預設
pgaudit.log_parameter 標準預設
pgaudit.log_relation 標準預設
pgaudit.log_statement_once 標準預設
pgaudit.role 標準預設
pglogical.batch_inserts 標準預設
pglogical.conflict_log_level 標準預設
pglogical.conflict_resolution 標準預設
pglogical.extra_connection_options 標準預設
pglogical.synchronous_commit 標準預設
pglogical.use_spi 標準預設
random_page_cost 標準預設
shared_buffers 執行個體記憶體的 80%
ssl_max_protocol_version 標準預設
ssl_min_protocol_version 標準預設
standard_conforming_strings 標準預設
statement_timeout 標準預設
synchronize_seqscans 標準預設
tcp_keepalives_count 5
tcp_keepalives_idle 300
tcp_keepalives_interval 60
temp_buffers 標準預設
temp_file_limit 標準預設
trace_notify 標準預設
trace_recovery_messages 標準預設
trace_sort 標準預設
track_activities 標準預設
track_activity_query_size 標準預設
track_commit_timestamp 標準預設
track_counts 標準預設
track_functions 標準預設
track_io_timing on
vacuum_cost_delay 標準預設
vacuum_cost_limit 標準預設
vacuum_freeze_min_age 標準預設
vacuum_freeze_table_age 標準預設
vacuum_multixact_freeze_min_age 標準預設
vacuum_multixact_freeze_table_age 標準預設
wal_buffers 2048
wal_receiver_timeout Standard default
wal_sender_timeout Standard default
work_mem N MB,其中 N4 或執行個體 vCPU 數量,以較大者為準