pvary commented on code in PR #19146:
URL: https://github.com/apache/iceberg/pull/19146#discussion_r4698285072


##########
site/docs/blog/posts/2026-11-11-converting-equality-deletes-to-deletion-vectors.md:
##########
@@ -0,0 +1,235 @@
+---
+date: 2026-11-11
+title: "Cheap Writes, Fast Reads: Converting Equality Deletes to Deletion 
Vectors"
+slug: flink-convert-equality-deletes-to-deletion-vectors
+authors:
+  - mxm
+categories:
+  - blog
+---
+
+<!--
+ - Licensed to the Apache Software Foundation (ASF) under one or more
+ - contributor license agreements.  See the NOTICE file distributed with
+ - this work for additional information regarding copyright ownership.
+ - The ASF licenses this file to You under the Apache License, Version 2.0
+ - (the "License"); you may not use this file except in compliance with
+ - the License.  You may obtain a copy of the License at
+ -
+ -   http://www.apache.org/licenses/LICENSE-2.0
+ -
+ - Unless required by applicable law or agreed to in writing, software
+ - distributed under the License is distributed on an "AS IS" BASIS,
+ - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ - See the License for the specific language governing permissions and
+ - limitations under the License.
+ -->
+
+Equality deletes allow low-latency row-level deletes in streaming 
applications, but they can greatly impact read performance. In a benchmark, we 
found that a full scan of a table after 1,000 upsert commits of 500 rows each 
takes about 23 seconds with equality deletes. The same table with the deletes 
converted to deletion vectors only takes about 1 second.
+
+When equality deletes were first introduced, they looked like an elegant 
solution for streaming writes with deletes because they defer the work of 
resolving deletes to the readers. Yet, their long term costs for readers were 
underestimated, which caused major pain to many Iceberg users.
+
+To solve this, we built `ConvertEqualityDeletes`, a Flink table maintenance 
task that converts equality deletes to deletion vectors in the background. The 
task can be used seamlessly with existing writers, without changing their 
existing write patterns. In table format v3, this enables converting equality 
deletes into deletion vectors which allows for efficient reads. For table 
format v4 and beyond, we believe that this work forms the basis for stopping to 
write equality deletes altogether.

Review Comment:
   ```suggestion
   To solve this, we built `ConvertEqualityDeletes`, a Flink table maintenance 
task that converts equality deletes to deletion vectors in the background. The 
task can be used seamlessly with existing writers, without changing their 
existing write patterns. In table format v3, this enables converting equality 
deletes into deletion vectors which allows for efficient reads. For table 
format v4 and beyond, we believe that this work forms the basis for no longer 
writing equality deletes altogether.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to