[ 
https://issues.apache.org/jira/browse/CASSANDRA-21414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Konstantinov updated CASSANDRA-21414:
--------------------------------------------
          Fix Version/s: 6.0-alpha2
                         7.0
                             (was: 6.x)
                             (was: 7.x)
    Source Control Link: 
https://github.com/apache/cassandra/commit/6c31b04ec08b79db919a130ea6a8d9237d012263
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

> Reduce cost to calculate BTreeRow.minDeletionTime
> -------------------------------------------------
>
>                 Key: CASSANDRA-21414
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21414
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Local/Other
>            Reporter: Dmitry Konstantinov
>            Assignee: Dmitry Konstantinov
>            Priority: Normal
>             Fix For: 6.0-alpha2, 7.0
>
>         Attachments: CASSANDRA-21414-6.0_ci_summary.htm.zip, 
> CASSANDRA-21414-trunk_ci_summary.htm.zip, image-2026-05-31-22-04-44-862.png
>
>
> When we do a merge on read (or when we build a row from data sent from a 
> client) we need to calculate minDeletionTime value, currently it is done by 
> BTreeRow.Builder#build and it iterates over cells to calculate this value, 
> for simple and typical cases we can build it while Builder is being filled 
> with data to avoid the iteration overheads.
> It costs about 1.4% of CPU for a 10 row plain selection test
> !image-2026-05-31-22-04-44-862.png|width=900!



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

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

Reply via email to