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

Does the refresh_ivm function refresh an incremental view manually and incrementally? #94

Open
salilsaifuddin opened this issue Aug 6, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@salilsaifuddin
Copy link

salilsaifuddin commented Aug 6, 2024

I am trying to determine whether the refresh_ivm function refreshes an incremental view manually. If it does, I also need to know if the refresh is performed incrementally.
Does it support deferred incremental maintenance?

Could you please provide insights or examples that clarify:

  1. Whether refresh_ivm can be used to manually refresh an incremental view.
  2. If the manual refresh is indeed incremental.

Any help or guidance on this would be greatly appreciated!

@Jamal-B, @yugo-n , @tatsuo-ishii , @hanefi

@yugo-n
Copy link
Collaborator

yugo-n commented Aug 6, 2024

@salilsaifuddin

Whether refresh_ivm can be used to manually refresh an incremental view.

No. Currently, pg_ivm supports only immediate maintenance, that is, views can be incrementally updated in automatic way only when a underlying table is modified. I would like to support deferred maintenance that enables to update a view incrementally by executing refresh_immv command manually in future, but it is not implemented yet.

@yugo-n yugo-n self-assigned this Aug 6, 2024
@yugo-n yugo-n added the question Further information is requested label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants