Professional Documents
Culture Documents
Symptom
You want to know how to enable SQL Trace in SAP HANA Studio.
Environment
Cause
You need to get the SQL queries that are being sent to SAP HANA.
Resolution
4. Click on the "Edit Configuration" button on the right in the SQL Trace section.
5. The SQL Trace configuration box opens up. To activate the trace choose the "Active" radio button. If
further filters are desired you can select these at this time.
6. Click "Finish".
7. The default name of the trace file will show up like this: sqltrace_$HOST_${PORT}_${COUNT:3}.py,
unless you change it. It's recommended to change the trace file name and use filters to limit what's
being captured. Otherwise the size of the file can grow enormously.
8. Please turn off the SQL Trace after you have finished capturing your issue. You need to click on the
"Edit Configuration" button again, but this time choose the "Inactive" radio button and then click 'Finish'
to turn off the SQL Trace.
9. The location of the SQL Trace file is in the "Diagnosis Files" tab. Please attach the file to your incident.
See Also
SQL Trace
Keywords
Products
Other Components
Component Description
SQL Trace