Got it

Search performance dimensions - Request rate and delay

Latest reply: Jul 31, 2019 12:47:19 502 1 10 0 0

This post relates to the search performance dimensions - Request rate and delay. Please see below.


We can measure the effectiveness of a cluster by measuring the rate at which the system processes the request and the use time of each request.


When a cluster receives a request, it may need to access the data in multiple segments across multiple nodes. The core indicators, such as the rate at which the system processes and returns the requests, the number of ongoing requests and the duration of requests are important factors for measuring cluster health.


The request process is divided into two phases:


  • The first is the query phase (query phase). The cluster distributes the requests to each segment (primary or replica shard) in the index;


  • The second step is to obtain the phase (fetch phrase). The query result is collected, processed and returned to the user.


Run the GET index_a/_stats command to check the status of the target index. For reasons that are limited to space, the return is not provided for all. Let's do a little bit of practice.


200702oybhgq02pq70lllb.png?image.png


Key indicators related to the request retrieval performance are as follows:


query_current: The number of ongoing queries. The number of queries that are being processed by the cluster;


fetch_current: Indicates the number of ongoing fetchs. The number of ongoing fetchs in the cluster;


query_total: The total number of queries. The number of aggregations of all queries processed by the cluster;


query_time_in_millis: Total query duration. The total time consumed by all queries, in milliseconds;


fetch_total: The total number of extracted records. Indicates the total number of fetchs processed by the cluster;


fetch_time_in_millis: Total time spent on fetch. Total time consumed by all fetchs (in milliseconds).


nice
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.