You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mike Adamson (Jira)" <ji...@apache.org> on 2023/02/01 16:42:00 UTC

[jira] [Created] (CASSANDRA-18216) Allow sharding of the SAI in-memory index

Mike Adamson created CASSANDRA-18216:
----------------------------------------

             Summary: Allow sharding of the SAI in-memory index 
                 Key: CASSANDRA-18216
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18216
             Project: Cassandra
          Issue Type: Improvement
          Components: Feature/SAI
            Reporter: Mike Adamson


The Memtable implementation allows it to be split into a number of shards. This reduces contention during writes. 

The MemtableIndex in SAI should follow this practice. It currently does not support sharding so all writes hit the same synchronized write block. The in-memory index search can also use the sharding to reduce the number of indexes that it searches based on the key range passed to the search.  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org