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

Many REFRESH MATERIALIZED VIEW at publisher causes out of disk space #480

Open
dusatvoj opened this issue Jun 12, 2024 · 0 comments
Open

Comments

@dusatvoj
Copy link

Hello,
I have database which I want to replicate to another cluster.
I created replication and added all tables from public schema.

select pglogical.replication_set_add_all_tables('default', ARRAY['public'],true);

In other schema are materialized views, created from tables in public. The MV are refreshing every hour.

Now I have to stop replication due to a problem that MVs are not recognized correctly by pglogical and LSN is not updated in replication slot and this causes out of disk space.

image
(at monitoring, you can see that everything looks fine but the MVs are dealbreaker)


Am I doing anything wrong? Do I have to add replication also to other schemas?

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