-
Notifications
You must be signed in to change notification settings - Fork 591
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
fix: remove matviewgraph
column from pg_matviews
#16246
Conversation
src/frontend/src/catalog/system_catalog/pg_catalog/pg_matviews.rs
Outdated
Show resolved
Hide resolved
Fyi issue should be resolved in the cloud side already https://linear.app/risingwave-labs/issue/CLOUD-2548/trigger-matview-sync-workflow-ondemand#comment-08f8258d. After this PR, the cloud side changes should just involve changing the catalog we query from. Cloud side fix, which decouples poll mv query and get mv dag query. |
@Gogomoe cc |
For this issue, the cloud has a fix that query If we deprecate this field, portal folks need to find a other way to render the graph, It will take a while. |
Can cloud switch to |
I think we should let cloud side migrate first to |
I think we should merge this first. They have sufficient time to complete this before v1.8 release. As long as this PR gets merged, they can know how to adapt to the new version. |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Resolve #16070
Motivation: One of our customer run into frontend OOM because they issue a
select * from pg_matviews
every 10 seconds, while no one realized the size ofmatviewgraph
column is so big that can cause frontend nodes to OOM.Complete a long-time
TODO
in code:risingwave/src/frontend/src/catalog/system_catalog/pg_catalog/pg_matviews.rs
Lines 40 to 42 in 254ad0c
cc. @luotianchun As stated in the code above, please migrate to query
rw_relation_info
columnfragments
before v1.9 release.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.