إنتقل إلى المحتوى الرئيسي
الإصدار: 0.4 · الحالي

فحوص PostgreSQL

مرجعتمت المراجعة في 11 أكتوبر 2026
ينطبق على:Excubius 0.4الأدوار: عامل التشغيل, المحرر, مسؤول الكيان
الخططFree · Pro · Enterpriseالنشراستضافة ذاتية

تضم وحدة postgresql 6 فحوص. PostgreSQL (Flexible Server أو المستضاف ذاتيًا) عبر دور مراقبة للقراءة فقط مع pg_monitor.

تُنشأ هذه الصفحة من كتالوج الفحوص في المنتج عند بناء الوثائق، لذلك تطابق القواعد والفواصل الزمنية والخطورة الافتراضية دائمًا الإصدار الذي تقرؤه. الحدود المعروضة هي القيم الافتراضية، ويمكن للكيانات والموارد تجاوزها.

الفحصالفاصل الزمنيالخطورة الافتراضيةالقاعدة
postgresql.connections
Connections used vs max
60swarningwarning > 80 percent / critical > 90 percent
postgresql.replication_lag
Replication lag
60swarningwarning > 60 seconds / critical > 300 seconds
postgresql.vacuum_wraparound
Transaction ID age (wraparound risk)
3600swarningwarning > 1000000000 count / critical > 1500000000 count
postgresql.bloat_estimate
Table bloat (estimated, top tables)
86400sinfowarning > 20 percent / critical > 40 percent
postgresql.slow_queries
Slowest statements (pg_stat_statements)
300sinfo±2σ over 14d (learning only)
postgresql.security_posture
Security posture (superusers, SSL, pg_hba)
3600swarningssl = on, risky_hba_rules = 0

الفحوص​

postgresql.connections

Connections used vs max

ما يقيسه
used_percent (percent) · كل 60s · pgsql
القاعدة
warning > 80 percent / critical > 90 percent · الخطورة الافتراضية: warning
الإجراء
—
خط الأساس
Azure recommended rule for Flexible Server: connections > 80% of max.

postgresql.replication_lag

Replication lag

ما يقيسه
lag_seconds (seconds) · كل 60s · pgsql
القاعدة
warning > 60 seconds / critical > 300 seconds · الخطورة الافتراضية: warning
الإجراء
—

postgresql.vacuum_wraparound

Transaction ID age (wraparound risk)

ما يقيسه
xid_age (count) · كل 3600s · pgsql
القاعدة
warning > 1000000000 count / critical > 1500000000 count · الخطورة الافتراضية: warning
الإجراء
—
خط الأساس
Forced vacuum at ~2.1 billion; warn at 1 billion. · المصدر

postgresql.bloat_estimate

Table bloat (estimated, top tables)

ما يقيسه
dead_percent (percent) · كل 86400s · pgsql
القاعدة
warning > 20 percent / critical > 40 percent · الخطورة الافتراضية: info
الإجراء
—

postgresql.slow_queries

Slowest statements (pg_stat_statements)

ما يقيسه
mean_ms (milliseconds) · كل 300s · pgsql
القاعدة
±2σ over 14d (learning only) · الخطورة الافتراضية: info
الإجراء
—
خط الأساس
Requires the pg_stat_statements extension.

postgresql.security_posture

Security posture (superusers, SSL, pg_hba)

ما يقيسه
security_posture · كل 3600s · pgsql
القاعدة
ssl = on, risky_hba_rules = 0 · الخطورة الافتراضية: warning
الإجراء
—
خط الأساس
superusers > 2 raises a warning; pg_hba_file_rules needs PostgreSQL 10+ and superuser or pg_read_server_files. · المصدر