支援的資料庫旗標

選取說明文件版本:

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

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

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

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

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

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

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

  • 在「Restart required」(需要重新啟動) 欄中,如果顯示「Yes」(是) ,表示您在執行個體上設定、移除或修改旗標時,需要重新啟動 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,其中 N 為 4 或執行個體 vCPU 數量,以較大者為準 否 否