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

SSTableSimpleUnsortedWriter call to ColumnFamily.serializedSize iterate through the whole columns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Every time newRow is called, serializedSize iterate through all the columns to compute the size.

      Once 1'000'000 columns exist in the CF, it becomes painfull to do at every iteration the same computation. Caching the size and incrementing when a Column is added could be an option.

      Attachments

        1. CachedSizeCF.patch
          1 kB
          Benoit Perroud

        Activity

          People

            Unassigned Unassigned
            bperroud Benoit Perroud
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: