Skip to content

Use partitioned DML for efficient delete#478

Merged
vish-cs merged 1 commit intodatacommonsorg:masterfrom
vish-cs:mcf
Feb 19, 2026
Merged

Use partitioned DML for efficient delete#478
vish-cs merged 1 commit intodatacommonsorg:masterfrom
vish-cs:mcf

Conversation

@vish-cs
Copy link
Contributor

@vish-cs vish-cs commented Feb 18, 2026

We currently read all the spanner data as mutations and then delete it which is not efficient (read-then-delete). Replacing with a partitioned DML operation which is handled by spanner efficiently. Also, added an option to skip delete operations if required.

@gemini-code-assist

This comment was marked as outdated.

gemini-code-assist[bot]

This comment was marked as outdated.

@vish-cs vish-cs requested review from n-h-diaz February 18, 2026 11:18
@vish-cs vish-cs marked this pull request as draft February 18, 2026 13:31
@vish-cs vish-cs changed the title Efficient read transform by using indexes Use partitioned DML for efficient delete Feb 18, 2026
@vish-cs vish-cs marked this pull request as ready for review February 18, 2026 16:39
Copy link
Contributor

@n-h-diaz n-h-diaz left a comment

Choose a reason for hiding this comment

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

nice optimization, thanks!

@vish-cs vish-cs merged commit ffa6d64 into datacommonsorg:master Feb 19, 2026
6 checks passed
@vish-cs vish-cs deleted the mcf branch February 19, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments