Profile SQL queries using logs in Jitterbit App Builder
Introduction
If you suspect a business object has performance issues, you can get the SQL statement from the App Builder logs and then run it through a database utility to identify areas for improvement. This page explains how to do that.
Capture and analyze slow queries
To capture and analyze a slow query, follow these steps:
-
In your App Builder app, navigate to the page where the slow business object is running.
-
Select IDE > Monitoring.
-
In the Logs panel, click the Memory Logs button.
-
Click the Edit Configuration button. The App Server Log Configuration popup window appears.
-
Click the Edit button.
-
In the Memory Log Configuration panel, set the Minimum Severity to Trace.
Important
Always reset this value back to Off when you are finished capturing log information to avoid impacting performance.
-
Click the Save button, then close the dialog to return to the Memory Logs page.
-
Refresh the application page that contains the slow business object to ensure the query is captured in the log.
-
Scroll through the log data to locate the SQL statement you're looking for. It will begin with
SELECT. For example:
-
Copy the entire SQL statement.
-
Go back to the log configuration (Edit Configuration > Edit) and set the Minimum Severity for the Memory Log Configuration back to Off.
-
Launch SQL Server Management Studio (SSMS).
-
Connect to your App Builder database.
-
You can now use SSMS to analyze the query. For example, you can paste the query into a New Query window and use the built-in tools to view its execution plan or send it to the Database Engine Tuning Advisor.

-
To analyze the query, you can right-click in the query panel and select Analyze Query in Database Engine Tuning Advisor. You can also select Display Estimated Execution Plan from the toolbar. The execution plan maps out the path the query takes and helps pinpoint parts that may be taking significant time.