Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-21452

[FTS] perf: term + date facets query is very slow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • fts
    • Untriaged
    • No

    Description

      Average latency is 4 sec and up to 12 sec

      CPU pprof snapshot and flame graph are attached.
      Most of the CPU time is spent on GC (mallocgc) by BackIndexTermEntry.Unmarshall()

      code-level CPU review:
      https://gist.github.com/agyryk/25ba1b2de86a890e7bb4a9a119731659

      code-level memory review:
      https://gist.github.com/agyryk/3338720e8226d2a282040a0aad29fcf2

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-21452
          # Subject Branch Project Status CR V

          Activity

            People

              oleksandr.gyryk Alex Gyryk (Inactive)
              oleksandr.gyryk Alex Gyryk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty