Improve performance of DocumentStorage::appendField

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0, 5.2.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.2
    • Execution Team 2021-12-27
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some tsbs_query workloads such as high-cpu-all spend a lot of time in bucket unpacking. Timeseries bucket compression made this slower but the slowest part of bucket unpacking is DocumentStorage::appendField where around 25% of CPU time is spent.

      We should look into how we can make this faster. At least not re-hash the same field name over and over again.

              Assignee:
              Dan Larkin-York
              Reporter:
              Henrik Edin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: