Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Join your telemetry data in New Relic Query Language (NRQL)

Blog post from New Relic

Post Details
Company
Date Published
Author
Alexander Jones, Principal Product Manager
Word Count
1,466
Language
English
Hacker News Points
-
Summary

Subquery JOINs are a powerful tool for resolving business-critical incidents by allowing the integration of related datasets to enhance data analysis and understanding. This blog post delves into the mechanics and benefits of subquery JOINs, demonstrating how they enable the joining of two result tables to facilitate comprehensive analysis and enrichment across different datasets. This process is crucial for analyzing telemetry data, where combining data from various sources can reveal correlations and trends that provide insights into the health and performance of applications and systems. The post explains the syntax and components required for executing subquery JOINs, such as dataset selection and linking primary keys, and emphasizes best practices like using `LIMIT MAX` to maximize results and `latest()` to maintain aggregated values. Examples illustrate how subquery JOINs can enrich datasets by integrating missing data, perform calculations across datasets, and parse log messages for data extraction. Despite some limitations, such as a 5,000 result cap and restrictions on high-cardinality relationships, subquery JOINs offer a versatile method for data enrichment and analysis, allowing teams to derive insights that might otherwise be difficult to uncover.