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

Berenguer Blasi updated CASSANDRA-18648:
----------------------------------------
    Change Category: Performance
         Complexity: Normal
        Component/s: Local/SSTable
             Status: Open  (was: Triage Needed)

> Improved DeletionTime serialization
> -----------------------------------
>
>                 Key: CASSANDRA-18648
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18648
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/SSTable
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>
> DeletionTime.markedForDeleteAt is a long useconds since Unix Epoch. But I 
> noticed that with 7 bytes we can already encode ~2284 years. We can either 
> shed the 8th byte, for reduced IO and disk, or can encode some sentinel 
> values as flags there. [~blerer] suggested starting with DeletionTime.LIVE.
> That would mean reading and writing 1 byte instead of 12 (8 mfda long + 4 
> ldts int). Yes we already avoid serializing DeletionTime (DT) in sstables at 
> _row_ level entirely but not at _partition_ level and it is also serialized 
> at index, metadata, etc. 



--
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