Jira Stats - search performance [index-searcher-stats]

Still need help?

The Atlassian Community is here for you.

Ask the community

metricdescription
searchStatsInMillistime (in milliseconds) of every search, i.e. all flavours of IndexSearcher#search* )
searchStatsInMillis.countnumber of searches

searchStatsInMillis.min
searchStatsInMillis.avg
searchStatsInMillis.max

minumum/average/maximum time of search
distributionCounter

distribution of search time,

"1": number of searches in <0,1) millisecond
"10": number of searches in <1,10) milliseconds
"20": number of searches in <10,20) milliseconds
...

docStatsInMillistime (in milliseconds) of every lucene docment read, i.e. all flavours of IndexSearcher#doc* )
docStatsInMillis.countnumber of lucene documents reads
docStatsInMillis.min
docStatsInMillis.avg
docStatsInMillis.max
minumum/average/maximum reading lucene document from index
getSearcherTotalStatsInMillistime (in milliseconds) to get index searcher (can be cached if no need make new writes visible)
getNewSearcherStatsInMillistime (in milliseconds) to get new index searcher
searcher cache efficiency =  1 - (getNewSearcherStatsInMillis.count/getSearcherTotalStatsInMillis.count)
[JIRA-STATS] [index-searcher-stats] ISSUE : total stats: 
{
  "searchStatsInMillis": {
    "count": 106334645,
    "min": 0,
    "max": 810478,
    "sum": 3791264001,
    "avg": 35,
    "distributionCounter": {
      "1": 87159840,
      "10": 6510115,
      "20": 2149799,
      "50": 3524743,
      "100": 2556247,
      "500": 3183685,
      "1000": 387563,
      "5000": 771361,
      "9223372036854775807": 91292
    }
  },
  "docStatsInMillis": {
    "count": 3915380483,
    "min": 0,
    "max": 4519,
    "sum": 13894840,
    "avg": 0,
    "distributionCounter": {
      "1": 3914119993,
      "10": 855710,
      "20": 246200,
      "50": 137565,
      "100": 16750,
      "500": 4092,
      "1000": 24,
      "5000": 149
    }
  },
  "getSearcherTotalStatsInMillis": {
    "count": 4087004,
    "min": 0,
    "max": 4946,
    "sum": 114630891,
    "avg": 28,
    "distributionCounter": {
      "1": 53234,
      "10": 25695,
      "20": 1388647,
      "50": 2322479,
      "100": 251686,
      "500": 44667,
      "1000": 421,
      "5000": 175
    }
  },
  "getNewSearcherStatsInMillis": {
    "count": 4040530,
    "min": 0,
    "max": 4946,
    "sum": 114655321,
    "avg": 28,
    "distributionCounter": {
      "1": 6752,
      "10": 25624,
      "20": 1387258,
      "50": 2323858,
      "100": 251752,
      "500": 44690,
      "1000": 421,
      "5000": 175
    }
  }
}
Last modified on Apr 21, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.