pgsql: Track statistics for spilling of changes from ReorderBuffer.

2020-10-07 Thread Amit Kapila
Track statistics for spilling of changes from ReorderBuffer. This adds the statistics about transactions spilled to disk from ReorderBuffer. Users can query the pg_stat_replication_slots view to check these stats and call pg_stat_reset_replication_slot to reset the stats of a particular slot. User

pgsql: Track statistics for spilling of changes from ReorderBuffer.

2019-11-20 Thread Amit Kapila
Track statistics for spilling of changes from ReorderBuffer. This adds the statistics about transactions spilled to disk from ReorderBuffer. Users can query the pg_stat_replication view to check these stats. Author: Tomas Vondra, with bug-fixes and minor changes by Dilip Kumar Reviewed-by: Amit