Step 2: Investigate Application Server Time and Database Server Time in the Request Profiler
Either the application server or the database server may be working slowly, causing performance issues.
Perform the following task to check the reason for the slowdown by using the Request Profiler, an MYOB Acumatica tool.
To detect which of the servers works slowly:
- Open an MYOB Acumatica form.
- Click Start Logging in the Profiler dialog box, which opens. The Request Profiler starts logging URL requests, SQL queries, exceptions, and warnings and errors. on the form title bar, and click
- Reproduce the slowdown in the system.
- Click Stop and Export in the Profiler dialog box. The Request Profiler returns to the default monitoring and exports a ZIP archive with the log files that contain information in JSON format about the performed URL requests, SQL requests, and stack trace. on the form title bar, and click
- On the Request Profiler (SM205070) form, click
Refresh Results on the form toolbar to upload to this
form all the new activities since the last refresh. Note: You must click Refresh Results to get the new rows in the profiler table. Pressing F5 does not provide the same result.
- Review the values in the Server Time, ms and
SQL Time, ms columns of the
Requests tab of the form:
- SQL Time is the time taken by SQL Server, in milliseconds.
- Server Time is the time taken by the request, in milliseconds. To get the time taken by the application server, use the formula Time taken by application server = Server Time – SQL Time.
- Depending on the results of the previous instruction, do one of the
following:
- If the time taken by application server is too long for most of the requests, proceed with Step 3: Check the Configuration of the Application Server.
- If the time taken by SQL server is too big for most of the requests, proceed with Step 4.1: Check the Configuration of Microsoft SQL Server and Run Reports.