Statement : Analyzes the current request log in order to identify the most expensive requests in a given period.
Solution :
- Go to this path http://localhost:4502/etc/reports/healthcheck.html
- Enter the below details as per screenshot
- The last number of hours from now to be analyzed - Enter the hours since when
- Limit output to the specified number of lines.
- Analyze up to the specified number of requests (-1 meaning all)
- You can run the request log analyzer on daily basis to check the expensive requests and have automated mail alert to email box , Make sure SMTP is configured to receive the mail alerts of the request log report
- Also you can configure the run time of script on daily basis for auto run and get the automated email.
- Below screenshot shows the top expensive queries and further you can investigate on these queries as required
No comments:
Post a Comment