Stop Query Errors! How to Choose Between NRQL and SQL in New Relic
When opening a new query prompt in New Relic, deciding between NRQL and SQL can be tricky. Choosing the wrong option leads to execution errors, empty results, and wasted troubleshooting time. In this tips and tricks video, Brenda walks through everything you need to know about New Relic Lens, when to use NRQL vs. SQL, and how to combine operational telemetry with external business context using New Relic Notebooks! Video Timestamps / Chapters 00:00 - Introduction: NRQL vs. SQL Confusion 00:23 - What is New Relic Lens & Available Connectors 01:19 - When to Use NRQL vs. SQL (The Core Rules) 01:58 - NRQL for Native Telemetry Data (Metrics, Logs, Traces) 02:10 - SQL for Lens & External Data Sources (Google Sheets, Snowflake) 02: 37 - Combining NRQL & SQL Inside New Relic Notebooks 03:45 - Cross-Database Joins: Merging Telemetry with Business Context 03:57 - Tip 1: Boost Performance with Materialized Views 04:23 - Tip 2: Optimize Queries with Specific Filtering 04:48 - Tip 3: Keep Query Scope Focused 05:04 - Key Takeaways & Wrap UpKey Resources & Links π Learn more about New Relic Lens: https://docs.newrelic.com/docs/new-relic-lens/overview/ π‘ New Relic Documentation: https://docs.newrelic.com/ Subscribe to the channel β https://www.youtube.com/c/NewRelicInc?sub_confirmation=1 Follow New Relic on: New Relic β https://newrelic.com Twitter β https://twitter.com/NewRelic LinkedIn β https://www.linkedin.com/company/new-relic-inc- Facebook β https://www.facebook.com/NewRelic