↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / System Catalogs

pg_stat_subscription_stats

The pg_stat_subscription_stats view will contain one row per subscription.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

kind
statistics
lang
en
measured attributes
true
metadata release
18.6
runtime verified
false
source
english-manual

Definition PG 18

The pg_stat_subscription_stats view will contain one row per subscription.

Catalog columns

ColumnTypeNullabilityDescription
subidoidNullableOID of the subscription
subnamenameNullableName of the subscription
apply_error_countbigintNullableNumber of times an error occurred while applying changes. Note that any conflict resulting in an apply error will be counted in both apply_error_count and the corresponding conflict count (e.g., confl_*).
sync_error_countbigintNullableNumber of times an error occurred during the initial table synchronization
confl_insert_existsbigintNullableNumber of times a row insertion violated a NOT DEFERRABLE unique constraint during the application of changes. See insert_exists for details about this conflict.
confl_update_origin_differsbigintNullableNumber of times an update was applied to a row that had been previously modified by another source during the application of changes. See update_origin_differs for details about this conflict.
confl_update_existsbigintNullableNumber of times that an updated row value violated a NOT DEFERRABLE unique constraint during the application of changes. See update_exists for details about this conflict.
confl_update_missingbigintNullableNumber of times the tuple to be updated was not found during the application of changes. See update_missing for details about this conflict.
confl_delete_origin_differsbigintNullableNumber of times a delete operation was applied to row that had been previously modified by another source during the application of changes. See delete_origin_differs for details about this conflict.
confl_delete_missingbigintNullableNumber of times the tuple to be deleted was not found during the application of changes. See delete_missing for details about this conflict.
confl_multiple_unique_conflictsbigintNullableNumber of times a row insertion or an updated row values violated multiple NOT DEFERRABLE unique constraints during the application of changes. See multiple_unique_conflicts for details about this conflict.
stats_resettimestamp with time zoneNullableTime at which these statistics were last reset

Compare versions

Complete source facts

documentation revision

{"inputs":[{"file":"monitoring-stats.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"a97e4aa05484b41cec1f4c9b0b9c5a083596a056982e5d5ba0db1dd8d49961fb","version":"18.7"},{"file":"monitoring-stats.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"1ddb6576fe569e029a1c776c82e7add6be8e4f41705bcd8f66f4347fe23372b6","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}

runtime columns

subid, subname, apply_error_count, sync_error_count, confl_insert_exists, confl_update_origin_differs, confl_update_exists, confl_update_missing, confl_delete_origin_differs, confl_delete_missing, confl_multiple_unique_conflicts, stats_reset

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · catalog-bilingual-repair:940cda64911f402a643416ffd7a3addd3f264c2352c3142fdcd1aa68e0f64432

Text language: en · catalog-bilingual-repair:940cda64911f402a643416ffd7a3addd3f264c2352c3142fdcd1aa68e0f64432