Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13599

Filtering on Secondary Index throws out of memory error even with limit 1 and mentioning the partition key in the where clause.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • Feature/2i Index
    • None
    • Using Cassandra 3.10 on Windows 7

    • Normal

    Description

      We have used secondary index on a column with very low cardinality.
      So if we use partition key and any secondary index value ( value which has millions of corresponding rows in the table) in the where clause with limit 1 even then it takes lot of time to respond and atlast out of memory error occurs.

      The correct scenario should be that if we are mentioning a very small limit like 1 then the results should be shown immediately when the secondary index and partition key is used in the where clause.

      Attachments

        Activity

          People

            Unassigned Unassigned
            samrat Samrat Gandotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: