Your data. Anywhere you go.

New Relic for iOS or Android

Download on the App Store    Android App on Google play

New Relic Insights App for iOS

Download on the App Store

Learn more

Close icon

Raw SQL for key transaction



I would like to enable raw SQL but for security reason I don’t want to enable it on all transactions of my app.

Is it possible / How can I enable raw SQL only for a key transaction ?

Thank you,


Hi @atarlay, this is not possible at the moment, though you could use the slow sql setting which will collect the 10 slowest queries in raw format.

Otherwise it would be great if you added this as a Feature Idea here on the Hub, this will allow other users to add their use-cases and vote on it, as the more support these ideas get the better :smiley: