Numeric sorting is one of the key query mechanisms used across multiple OpenSearch clusters. It is critical to understand performance characteristics of numeric sorting queries and identify mechanisms to reduce query latency and reduce performance overhead.
To understand query characteristics of numeric sorting, a simple performance testing was performed with below settings:
Metric | Value | Unit
-- | -- | --
Min Throughput | 70.09 | ops/s
Mean Throughput | 74.27 | ops/s
Median Throughput | 74.59 | ops/s
Max Throughput | 74.79 | ops/s
50th percentile latency | 6.32264 | ms
90th percentile latency | 6.81483 | ms
99th percentile latency | 7.45008 | ms
99.9th percentile latency | 15.4041 | ms
100th percentile latency | 16.5634 | ms
50th percentile service time | 5.55759 | ms
90th percentile service time | 5.73615 | ms
99th percentile service time | 6.43827 | ms
99.9th percentile service time | 14.8174 | ms
100th percentile service time | 15.4417 | ms
error rate | 0 | %
Numeric sorting is one of the key query mechanisms used across multiple OpenSearch clusters. It is critical to understand performance characteristics of numeric sorting queries and identify mechanisms to reduce query latency and reduce performance overhead.
To understand query characteristics of numeric sorting, a simple performance testing was performed with below settings:
Benchmark tool: opensearch-benchmark Workload: geonames Task: desc_sort_population Nodes: 1 node JVM size: 4 GB
Benchmark result: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
Metric | Value | Unit -- | -- | -- Min Throughput | 70.09 | ops/s Mean Throughput | 74.27 | ops/s Median Throughput | 74.59 | ops/s Max Throughput | 74.79 | ops/s 50th percentile latency | 6.32264 | ms 90th percentile latency | 6.81483 | ms 99th percentile latency | 7.45008 | ms 99.9th percentile latency | 15.4041 | ms 100th percentile latency | 16.5634 | ms 50th percentile service time | 5.55759 | ms 90th percentile service time | 5.73615 | ms 99th percentile service time | 6.43827 | ms 99.9th percentile service time | 14.8174 | ms 100th percentile service time | 15.4417 | ms error rate | 0 | %