-
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
Run DDL in the background #8051
Comments
I think it shouldn't be a SQL feature. Not only the DDLs may be slow, but also DMLs or DQLs, e.g.
I proposed to introduce a new background SQL execution mode. What's the difference?The normal SQL execution mode:
The background SQL execution mode:
|
Anyway, at current time, only allow DDLs to be executed in the background mode is accepted to me. |
Another thing is fault tolerance of background executions. For me, it would be more natural to make it fault tolerant. |
@yezizp2012 are you planning to take this up as an extension of #8145 ? If not I'd like to work on it. |
Not really, just feel free to assign yourself and take it. 😊 |
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned. |
Future changes for ddl in background after #9752 is merged:
|
Is your feature request related to a problem? Please describe.
Some users want to run DDLs (usually creating a materialized view) in the background. Now we have provided a system table to show the progress of DDLs. If we plan to
To run DDLs in the background, once these DDLs are validated, our system needs to guarantee its completeness (even if the cluster is down during execution of the DDL) unless a cancel statement is issued.
It means we need to persist the materialized view meta (invisible first) and its backfill progress.If backfilling is finished, we can make the materialized view visible.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: