סימונים נתמכים של מסד נתונים

בוחרים גרסת תיעוד:

‫AlloyDB Omni תומך בכל הדגלים לניהול מסדי נתונים שקיימים בגרסאות הרגילות של PostgreSQL. בדף הזה מפורטים הדגלים לניהול מסד הנתונים ש-AlloyDB Omni מספק, בנוסף לדגלים הרגילים לניהול מסד הנתונים.

אתם יכולים להשתמש בדגלים לניהול מסד נתונים לפעולות רבות, כולל התאמת פרמטרים של PostgreSQL, התאמת אפשרויות והגדרה וכוונון של מכונות.

מידע נוסף על הגדרת דגלים של מסד נתונים ב-AlloyDB Omni זמין במאמר בנושא הגדרת דגלים של מסד נתונים ב-AlloyDB Omni.

דגלים של AlloyDB Omni

בעמודות האחרות בטבלה יש מידע נוסף על כל דגל של AlloyDB Omni:

  • לוחצים על שם של דגל כדי לראות את הוראות השימוש בו.

  • בעמודה Default value מוצג הערך ש-AlloyDB Omni מגדיר לדגל הזה במכונה חדשה, אלא אם מציינים ערך אחר כשיוצרים את המכונה.

    Standard default מציין שלדגל יש ערך ברירת מחדל שלא הוגדר על ידי AlloyDB Omni. כדי לקבל מידע נוסף, לוחצים על שם הדגל.

  • בעמודה Restart required, הערך Yes מציין שצריך להפעיל מחדש את AlloyDB Omni כשמגדירים, מסירים או משנים את הדגל במכונה. הערך של הדגל נשמר עבור המופע עד שמשנים אותו שוב.

  • בעמודה Replica restrictions, הערך Yes מציין את ההגבלות הבאות על השימוש בדגל:

    • לפני שמגדירים את הדגל הזה במופע הראשי של האשכול, צריך להגדיר את הדגל בכל אחד ממופעי ההעתקים של האשכול.

    • אם הדגל הזה מוגדר במכונה הראשית, הערך של הדגל הזה בכל מכונת רפליקה חייב להיות שווה לערך של הדגל הזה במכונה הראשית או גדול ממנו.

דגל AlloyDB Omni ערך ברירת המחדל נדרשת הפעלה מחדש הגבלות על רפליקות
alloydb.ai_nl_enabled off לא לא
alloydb.audit_log_line_prefix %m [%p]: [%l-1] db=%d,user=%u כן לא
alloydb.enable_pgaudit off כן לא
alloydb.enable_named_hints off לא לא
alloydb.iam_authentication off כן לא
alloydb.logical_decoding off כן לא
alloydb.log_throttling_window לא לא
alloydb.promote_cancel_to_terminate off לא לא
alloydb.pg_shadow_select_role מחרוזת ריקה לא לא
enable_google_adaptive_autovacuum on לא לא
enable_parallel_nestloop_inner_material off לא לא
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.enable_virtual_columns_scan off לא לא
google_columnar_engine.enable_vectorized_join off לא לא
google_columnar_engine.enabled off כן לא
google_columnar_engine.memory_size_in_mb ‫30% מה-RAM של המכונה כן לא
google_columnar_engine.omni_storage_cache_directory מחרוזת ריקה כן לא
google_columnar_engine.refresh_threshold_percentage 50 לא לא
google_columnar_engine.refresh_threshold_scan_count 5 לא לא
google_columnar_engine.relations מחרוזת ריקה לא לא
google_columnar_engine.vectorized_join_threads 1 לא לא
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.cursor_group_size 500 לא לא
google_ml_integration.default_llm_model gemini-2.5-flash-lite לא לא
google_ml_integration.embedding_request_timeout 300 לא לא
google_ml_integration.enable_ai_query_engine on לא לא
google_ml_integration.enable_faster_embedding_generation on לא לא
google_ml_integration.enable_forecasting on לא לא
google_ml_integration.enable_list_models off לא לא
google_ml_integration.enable_model_support off לא
google_ml_integration.enable_preview_ai_functions off לא לא
google_ml_integration.max_memory_usage_mb 1024 לא לא
google_ml_integration.max_parallel_requests 400 לא לא
google_ml_integration.request_timeout_in_seconds 60 לא לא
google_storage.log_replay_throttle_read_transactions on לא לא
scann.enable_index_with_insufficient_data כבוי לא לא
scann.enable_preview_features כבוי כן לא
scann.maintenance_background_naptime_s דקה אחת כן לא
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 לא לא
squeeze.worker_autostart ברירת המחדל הרגילה לא לא
squeeze.worker_role ברירת המחדל הרגילה לא לא
squeeze.workers_per_database ערך ברירת המחדל הוא 1 לא לא
squeeze.max_xlock_time ערך ברירת המחדל הוא 1. צריך להגדיר ערך בין 1 ל-2147483647 לא לא
tde_kek_url מחרוזת ריקה לא לא

דגלים רגילים של PostgreSQL

‫AlloyDB Omni תומך בדגלים הסטנדרטיים הבאים של PostgreSQL. בחלק מהדגלים צריך להפעיל מחדש את AlloyDB Omni כשמגדירים, מסירים או משנים את הדגל במכונה. ערך הדגל נשמר במכונה עד שמשנים אותו שוב.

שם הדגל של PostgreSQL נדרשת הפעלה מחדש
autovacuum_freeze_max_age כן
autovacuum_max_workers כן
autovacuum_multixact_freeze_max_age כן
autovacuum_vacuum_max_threshold לא
commit_timestamp_buffers כן
cron.database_name כן
cron.log_run כן
cron.log_statement כן
cron.max_running_jobs כן
max_connections כן
max_locks_per_transaction כן
max_logical_replication_workers כן
max_notify_queue_pages כן
max_pred_locks_per_page כן
max_pred_locks_per_relation כן
max_pred_locks_per_transaction כן
max_prepared_transactions כן
max_replication_slots כן
max_wal_senders כן
max_worker_processes כן
old_snapshot_threshold כן
multixact_member_buffers כן
multixact_offset_buffers כן
notify_buffers כן
pg_stat_statements.max כן
pglogical.batch_inserts כן
pglogical.synchronous_commit כן
pglogical.use_spi כן
shared_buffers כן
serializable_buffers כן
subtransaction_buffers כן
track_activity_query_size כן
track_commit_timestamp כן
transaction_buffers כן
wal_buffers כן