You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yanfei Lei (Jira)" <ji...@apache.org> on 2022/07/01 07:11:00 UTC

[jira] [Comment Edited] (FLINK-28010) Use deleteRange to optimize the clear operation of RocksDBMapState.

    [ https://issues.apache.org/jira/browse/FLINK-28010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561325#comment-17561325 ] 

Yanfei Lei edited comment on FLINK-28010 at 7/1/22 7:10 AM:
------------------------------------------------------------

[~Ming Li]  The performance of seeking is a good point worth considering, there are benchmarks on the performance of {{{}Point Lookups{}}}, {{Range Scan}} in  [https://rocksdb.org/blog/2018/11/21/delete-range.html|https://rocksdb.org/blog/2018/11/21/delete-range.html,] ,  {{deleteRange}} would bring a little regression on reading.


was (Author: yanfei lei):
[~Ming Li]  The performance of seeking is a good point worth considering, there are benchmarks on the performance of {{{}Point Lookups{}}}, {{Range Scan}} in  [https://rocksdb.org/blog/2018/11/21/delete-range.html,]   {{deleteRange}} would bring a little regression on reading.

> Use deleteRange to optimize the clear operation of RocksDBMapState.
> -------------------------------------------------------------------
>
>                 Key: FLINK-28010
>                 URL: https://issues.apache.org/jira/browse/FLINK-28010
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / State Backends
>            Reporter: ming li
>            Priority: Major
>
> [FLINK-21321|https://issues.apache.org/jira/browse/FLINK-21321] has introduced {{deleteRange}} for fast clipping of Incremental checkpoint, so can the {{clear}} method in {{RocksDBMapState}} be replaced with {{{}deleteRange{}}}?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)