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

parallelize fetching rows for low-cardinality indexes and range scans of small tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1 beta1
    • None
    • None

    Description

      currently, we read the indexed rows (and rows for a range scan) from the first node (in partitioner order); if that does not have enough matching rows, we read the rows from the next, and so forth.

      we should use the statistics fom CASSANDRA-1155 to query multiple nodes in parallel, such that we have a high chance of getting enough rows w/o having to do another round of queries (but, if our estimate is incorrect, we do need to loop and do more rounds until we have enough data or we have fetched from each node).

      Attachments

        1. 1337-v5.patch
          22 kB
          Tom Hobbs
        2. 1337-v4.patch
          19 kB
          David Alves
        3. 1337.patch
          19 kB
          David Alves
        4. 1137-bugfix.patch
          3 kB
          David Alves
        5. CASSANDRA-1337.patch
          5 kB
          David Alves
        6. ASF.LICENSE.NOT.GRANTED--0001-CASSANDRA-1337-scan-concurrently-depending-on-num-rows.txt
          4 kB
          T Jake Luciani

        Issue Links

          Activity

            People

              thobbs Tom Hobbs
              jbellis Jonathan Ellis
              Tom Hobbs
              Jonathan Ellis
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified