Skip to content

Conversation

@Yukang-Lian
Copy link
Collaborator

Proposed changes

Issue Number: close #xxx

In #35917 and #37151, we changed MOW table default delete command from delete predicate to delete sign. It makes sure the correctness during partial update but leads to slowdowns. Actually, if there is no partial update, delete predicate will not lead to data fault. Delete data by delete predicate or delete sign can be controlled by a table property "enable_light_delete". If "enable_light_delete=true", we execute delete command by delete predicate. Otherwise, we execute delete command by delete sign.

In p2 cases, there are lots of cases with large data need to delete and do not perform partial column update operations. Therefore, in order to make it faster, we change some cases default create table clause.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Yukang-Lian
Copy link
Collaborator Author

run buildall

1 similar comment
@Yukang-Lian
Copy link
Collaborator Author

run buildall

dataroaring
dataroaring previously approved these changes Aug 4, 2024
Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yukang-Lian
Copy link
Collaborator Author

run buildall

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2024

PR approved by anyone and no changes requested.

@gavinchou gavinchou merged commit 390e333 into apache:master Sep 13, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Sep 13, 2024
dataroaring pushed a commit that referenced this pull request Oct 9, 2024
In #35917 and #37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Oct 12, 2024
…7689)

In apache#35917 and apache#37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
Yukang-Lian added a commit to Yukang-Lian/doris that referenced this pull request Oct 12, 2024
…7689)

In apache#35917 and apache#37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants