Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhanced Monitoring] Show Approximate Progress of Initializing Phase #296

Open
vjeeva opened this issue Oct 11, 2023 · 0 comments
Open

Comments

@vjeeva
Copy link
Contributor

vjeeva commented Oct 11, 2023

During the initializing phase of pglogical, we don't see ANY progress on how much data is being moved, how much is left, etc.

The only things we can see are table sizes and database sizes, as well as pglogical.show_subscription_table(), which can show replication status per table (however only during replication, during initializing the status of a table is unknown).

To the status command, show the following:

  • Per datacenter, show a column of <Dest DB size>/<Src DB Size> to show progress, and another column for a percentage based on that
  • Per database, show the above column. Also, show another table of per-table statuses as follows: column of /, column for percentage, and another column for status (whatever is shown by pglogical.show_subscription_table() for status and unknown == initializing).

See #176 on details about pglogical.show_subscription_table().

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

No branches or pull requests

1 participant