Skip to content

Commit 9d58788

Browse files
authored
Merge pull request #5654 from influxdata:5646-broken-link-optimize-your-query
fix(v3): broken optimize-queries links, typos, placeholder
2 parents cb7f2fc + 7768d3f commit 9d58788

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/analyze-query-plan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ By learning how to generate and interpret reports for the query plan,
2525
you can better understand how the query is executed and identify bottlenecks that affect the performance of your query.
2626

2727
For example, if the query plan reveals that your query reads a large number of Parquet files,
28-
you can then take steps to [optimize your query](/influxdb/cloud-dedicated/query-data/optimize-queries/), such as add filters to read less data or
28+
you can then take steps to [optimize your query](/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/optimize-queries/), such as add filters to read less data or
2929
configure your cluster to store fewer and larger files.
3030

3131
- [Use EXPLAIN keywords to view a query plan](#use-explain-keywords-to-view-a-query-plan)
@@ -113,7 +113,7 @@ Plans are in _tree format_--each plan is an upside-down tree in which
113113
execution and data flow from _leaf nodes_, the innermost steps in the plan, to outer _branch nodes_.
114114
Whether reading a logical or physical plan, keep the following in mind:
115115

116-
- Start at the the _leaf nodes_ and read upward.
116+
- Start at the _leaf nodes_ and read upward.
117117
- At the top of the plan, the _root node_ represents the final, encompassing step.
118118

119119
In a [physical plan](/influxdb/cloud-dedicated/reference/internals/query-plan/#physical-plan), each step is an [`ExecutionPlan` node](/influxdb/cloud-dedicated/reference/internals/query-plan/#execution-plan-nodes) that receives expressions for input data and output requirements, and computes a partition of data.
@@ -770,4 +770,4 @@ Operator structure for aggregating, sorting, and final output.
770770
- `SortPreservingMergeExec: [city@0 ASC NULLS LAST]`: Merges and sorts the four sorted streams for the final output.
771771

772772
In the preceding examples, the `EXPLAIN` report shows the query plan without executing the query.
773-
To view runtime metrics, such as execution time for a plan and its operators, use [`EXPLAIN ANALYZE`](/influxdb/cloud-dedicated/reference/sql/explain/#explain-analyze) to generate the report and [tracing](/influxdb/cloud-dedicated/query-data/optimize-queries/#enable-trace-logging) for further debugging, if necessary.
773+
To view runtime metrics, such as execution time for a plan and its operators, use [`EXPLAIN ANALYZE`](/influxdb/cloud-dedicated/reference/sql/explain/#explain-analyze) to generate the report and [tracing](/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/optimize-queries/#enable-trace-logging) for further debugging, if necessary.

content/influxdb/cloud-dedicated/query-data/troubleshoot-and-optimize/optimize-queries.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ related:
1616
aliases:
1717
- /influxdb/cloud-dedicated/query-data/execute-queries/optimize-queries/
1818
- /influxdb/cloud-dedicated/query-data/execute-queries/analyze-query-plan/
19+
- /influxdb/cloud-dedicated/query-data/optimize-queries/
1920
---
2021

2122
Optimize SQL and InfluxQL queries to improve performance and reduce their memory and compute (CPU) requirements.

content/influxdb/cloud-serverless/query-data/troubleshoot-and-optimize/analyze-query-plan.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ By learning how to generate and interpret reports for the query plan,
2424
you can better understand how the query is executed and identify bottlenecks that affect the performance of your query.
2525

2626
For example, if the query plan reveals that your query reads a large number of Parquet files,
27-
you can then take steps to [optimize your query](/influxdb/cloud-serverless/query-data/optimize-queries/), such as add filters to read less data.
27+
you can then take steps to [optimize your query](/influxdb/cloud-serverless/query-data/troubleshoot-and-optimize/optimize-queries/), such as add filters to read less data.
2828

2929
- [Use EXPLAIN keywords to view a query plan](#use-explain-keywords-to-view-a-query-plan)
3030
- [Read an EXPLAIN report](#read-an-explain-report)
@@ -65,7 +65,7 @@ import pandas as pd
6565
import tabulate # Required for pandas.to_markdown()
6666

6767
# Instantiate an InfluxDB client.
68-
client = InfluxDBClient3(token = f"TOKEN",
68+
client = InfluxDBClient3(token = f"API_TOKEN",
6969
host = f"{{< influxdb/host >}}",
7070
database = f"BUCKET_NAME")
7171

@@ -109,7 +109,7 @@ Plans are in _tree format_--each plan is an upside-down tree in which
109109
execution and data flow from _leaf nodes_, the innermost steps in the plan, to outer _branch nodes_.
110110
Whether reading a logical or physical plan, keep the following in mind:
111111

112-
- Start at the the _leaf nodes_ and read upward.
112+
- Start at the _leaf nodes_ and read upward.
113113
- At the top of the plan, the _root node_ represents the final, encompassing execution step.
114114

115115
In a [physical plan](/influxdb/cloud-serverless/reference/internals/query-plan/#physical-plan), each step is an [`ExecutionPlan` node](/influxdb/cloud-serverless/reference/internals/query-plan/#executionplan-nodes) that receives expressions for input data and output requirements, and computes a partition of data.
@@ -766,4 +766,4 @@ Operator structure for aggregating, sorting, and final output.
766766
- `SortPreservingMergeExec: [city@0 ASC NULLS LAST]`: Merges and sorts the four sorted streams for the final output.
767767

768768
In the preceding examples, the `EXPLAIN` report shows the query plan without executing the query.
769-
To view runtime metrics, such as execution time for a plan and its operators, use [`EXPLAIN ANALYZE`](/influxdb/cloud-serverless/reference/sql/explain/#explain-analyze) to generate the report and [tracing](/influxdb/cloud-serverless/query-data/optimize-queries/#enable-trace-logging) for further debugging, if necessary.
769+
To view runtime metrics, such as execution time for a plan and its operators, use [`EXPLAIN ANALYZE`](/influxdb/cloud-serverless/reference/sql/explain/#explain-analyze) to generate the report and [tracing](/influxdb/cloud-serverless/query-data/troubleshoot-and-optimize/optimize-queries/#enable-trace-logging) for further debugging, if necessary.

content/influxdb/cloud-serverless/query-data/troubleshoot-and-optimize/optimize-queries.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ related:
1515
- /influxdb/cloud-serverless/query-data/execute-queries/analyze-query-plan/
1616
aliases:
1717
- /influxdb/cloud-serverless/query-data/execute-queries/optimize-queries/
18+
- /influxdb/cloud-serverless/query-data/optimize-queries/
1819
---
1920

2021
Optimize SQL and InfluxQL queries to improve performance and reduce their memory and compute (CPU) requirements.

content/influxdb/clustered/query-data/troubleshoot-and-optimize/analyze-query-plan.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ By learning how to generate and interpret reports for the query plan,
2525
you can better understand how the query is executed and identify bottlenecks that affect the performance of your query.
2626

2727
For example, if the query plan reveals that your query reads a large number of Parquet files,
28-
you can then take steps to [optimize your query](/influxdb/clustered/query-data/optimize-queries/), such as add filters to read less data or
28+
you can then take steps to [optimize your query](/influxdb/clustered/query-data/troubleshoot-and-optimize/optimize-queries/), such as add filters to read less data or
2929
configure your cluster to store fewer and larger files.
3030

3131
- [Use EXPLAIN keywords to view a query plan](#use-explain-keywords-to-view-a-query-plan)
@@ -113,7 +113,7 @@ Plans are in _tree format_--each plan is an upside-down tree in which
113113
execution and data flow from _leaf nodes_, the innermost steps in the plan, to outer _branch nodes_.
114114
Whether reading a logical or physical plan, keep the following in mind:
115115

116-
- Start at the the _leaf nodes_ and read upward.
116+
- Start at the _leaf nodes_ and read upward.
117117
- At the top of the plan, the _root node_ represents the final, encompassing step.
118118

119119
In a [physical plan](/influxdb/clustered/reference/internals/query-plan/#physical-plan), each step is an [`ExecutionPlan` node](/influxdb/clustered/reference/internals/query-plan/#executionplan-nodes) that receives expressions for input data and output requirements, and computes a partition of data.
@@ -770,4 +770,4 @@ Operator structure for aggregating, sorting, and final output.
770770
- `SortPreservingMergeExec: [city@0 ASC NULLS LAST]`: Merges and sorts the four sorted streams for the final output.
771771

772772
In the preceding examples, the `EXPLAIN` report shows the query plan without executing the query.
773-
To view runtime metrics, such as execution time for a plan and its operators, use [`EXPLAIN ANALYZE`](/influxdb/clustered/reference/sql/explain/#explain-analyze) to generate the report and use [tracing](/influxdb/clustered/query-data/optimize-queries/#enable-trace-logging) for further debugging, if necessary.
773+
To view runtime metrics, such as execution time for a plan and its operators, use [`EXPLAIN ANALYZE`](/influxdb/clustered/reference/sql/explain/#explain-analyze) to generate the report and use [tracing](/influxdb/clustered/query-data/troubleshoot-and-optimize/optimize-queries/#enable-trace-logging) for further debugging, if necessary.

content/influxdb/clustered/query-data/troubleshoot-and-optimize/optimize-queries.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ related:
1616
aliases:
1717
- /influxdb/clustered/query-data/execute-queries/optimize-queries/
1818
- /influxdb/clustered/query-data/execute-queries/analyze-query-plan/
19+
- /influxdb/clustered/query-data/optimize-queries/
1920
---
2021

2122
Optimize SQL and InfluxQL queries to improve performance and reduce their memory and compute (CPU) requirements.

0 commit comments

Comments
 (0)