Skip to content

Add Replication Lag maintenance/ops page#401

Open
bean1352 wants to merge 6 commits intomainfrom
replication-lag
Open

Add Replication Lag maintenance/ops page#401
bean1352 wants to merge 6 commits intomainfrom
replication-lag

Conversation

@bean1352
Copy link
Copy Markdown
Contributor

  • New maintenance-ops/replication-lag.mdx with monitoring, common causes, and remediation steps
  • Source-specific sections for Postgres, MongoDB, MySQL, and SQL Server
  • Rename Managing & Monitoring Replication Lag heading in production-readiness-guide.mdx so the anchor resolves (for url reference)
  • Small cross-link updates in maintenance-ops/monitoring-and-alerting.mdx and maintenance-ops/production-readiness-guide.mdx

@bean1352 bean1352 requested a review from rkistner April 20, 2026 12:10
Comment thread maintenance-ops/replication-lag.mdx Outdated
Comment thread maintenance-ops/replication-lag.mdx Outdated
Replication lag refers specifically to stage 2: the time or volume of changes that have been committed to the source but not yet processed by the PowerSync Service. On Postgres, this is reported as `replication_lag_bytes` (bytes of WAL ahead of the PowerSync replication slot).

<Note>
SQL Server has an additional source of latency inside stage 1: the CDC capture job itself runs on an interval (default 5 seconds on SQL Server, fixed at 20 seconds on Azure SQL), so changes do not appear in the CDC change tables instantly. See [SQL Server](#sql-server) below.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rentacookie Could you check this bit?

@benitav
Copy link
Copy Markdown
Collaborator

benitav commented Apr 20, 2026

Potentially also worth looking at these pending updates (waiting on the next Service release): #392

We don't need to consolidate both PRs necessarily, can still merge 392 later, but just wanted to share in case it affects any of the content here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants