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

Update the watermark when truncating a CAgg #6865

Commits on Apr 26, 2024

  1. Update the watermark when truncating a CAgg

    In timescale#5261 we cached the Continuous Aggregate watermark value in a
    metadata table to improve performance avoiding compute the watermark at
    planning time.
    
    Manually DML operations on a CAgg are not recommended and instead the
    user should use the `refresh_continuous_aggregate` procedure. But we
    handle `TRUNCATE` over CAggs generating the necessary invalidation logs
    so make sense to also update the watermark.
    fabriziomello committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    ce7e2ac View commit details
    Browse the repository at this point in the history