You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* InfluxDB OSS v1.11.7
* Apply suggestions from code review
* updated specific references to influxdb 1.8 to 1.11
* updated 1.11.7 release notes
* fix indentation on 1.11.7 release notes
* add language about cloning a new instance with 1.11
* Apply suggestions from code review
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
* Apply suggestions from code review
* corrected v1 linux binary package name
* corrected v1 linux binary package name
* bump 1.11.7 flux version to 1.194.5
* added warning about no 32-bit builds (#5661)
* updated influxdb v1 latest patch on data/products
---------
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Copy file name to clipboardExpand all lines: content/enterprise_influxdb/v1/flux/optimize-queries.md
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,14 @@ Optimize your Flux queries to reduce their memory and compute (CPU) requirements
22
22
-[Measure query performance with Flux profilers](#measure-query-performance-with-flux-profilers)
23
23
24
24
## Start queries with pushdowns
25
-
**Pushdowns** are functions or function combinations that push data operations to the underlying data source rather than operating on data in memory. Start queries with pushdowns to improve query performance. Once a non-pushdown function runs, Flux pulls data into memory and runs all subsequent operations there.
25
+
26
+
**Pushdowns** are functions or function combinations that push data operations
27
+
to the underlying data source rather than operating on data in memory.
28
+
Start queries with pushdowns to improve query performance. Once a non-pushdown
29
+
function runs, Flux pulls data into memory and runs all subsequent operations there.
26
30
27
31
#### Pushdown functions and function combinations
32
+
28
33
The following pushdowns are supported in InfluxDB Enterprise 1.10+.
29
34
30
35
| Functions | Supported |
@@ -63,6 +68,7 @@ Once a non-pushdown function runs, Flux pulls data into memory and runs all
63
68
subsequent operations there.
64
69
65
70
##### Pushdown functions in use
71
+
66
72
```js
67
73
from(bucket:"db/rp")
68
74
|>range(start:-1h) //
@@ -75,6 +81,7 @@ from(bucket: "db/rp")
75
81
```
76
82
77
83
### Avoid processing filters inline
84
+
78
85
Avoid using mathematic operations or string manipulation inline to define data filters.
79
86
Processing filter values inline prevents `filter()` from pushing its operation down
80
87
to the underlying data source, so data returned by the
@@ -104,12 +111,14 @@ from(bucket: "db/rp")
104
111
```
105
112
106
113
## Avoid short window durations
114
+
107
115
Windowing (grouping data based on time intervals) is commonly used to aggregate and downsample data.
108
116
Increase performance by avoiding short window durations.
109
117
More windows require more compute power to evaluate which window each row should be assigned to.
110
118
Reasonable window durations depend on the total time range queried.
111
119
112
120
## Use "heavy" functions sparingly
121
+
113
122
The following functions use more memory or CPU than others.
114
123
Consider their necessity in your data processing before using them:
115
124
@@ -120,6 +129,7 @@ Consider their necessity in your data processing before using them:
Copy file name to clipboardExpand all lines: content/enterprise_influxdb/v1/tools/api.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -249,7 +249,7 @@ curl --request POST "http://localhost:8086/api/v2/delete?bucket=exampleDB/autoge
249
249
}'
250
250
```
251
251
252
-
If you use the `predicate` option in your request, review [delete predicate syntax](/influxdb/latest/reference/syntax/delete-predicate/) and note its [limitations](/influxdb/latest/reference/syntax/delete-predicate/#limitations).
252
+
If you use the `predicate` option in your request, review [delete predicate syntax](/influxdb/v2/reference/syntax/delete-predicate/) and note its [limitations](/influxdb/v2/reference/syntax/delete-predicate/#limitations).
253
253
254
254
## InfluxDB 1.x HTTP endpoints
255
255
The following InfluxDB 1.x API endpoints are available:
Merge a set of schema files from the [`check-schema` command](#check-schema).
460
+
461
+
#### Syntax
462
+
463
+
```
464
+
influx_inspect merge-schema [ options ]
465
+
```
466
+
467
+
#### Options
468
+
469
+
##### [`-conflicts-file <string>`]
470
+
471
+
Filename conflicts data should be written to. Default is `conflicts.json`.
472
+
473
+
##### [`-schema-file <string>`]
474
+
475
+
Filename for the output file. Default is `schema.json`.
476
+
429
477
### `report`
430
478
431
479
Displays series metadata for all shards.
@@ -461,6 +509,48 @@ The flag to report exact cardinality counts instead of estimates.
461
509
Default value is `false`.
462
510
Note: This can use a lot of memory.
463
511
512
+
### `report-db`
513
+
514
+
Use the `report-db` command to estimate the series cardinality of data in a
515
+
database when migrated to InfluxDB Cloud (TSM). InfluxDB Cloud (TSM) includes
516
+
field keys in the series key so unique field keys affect the total cardinality.
517
+
The total series cardinality of data in a InfluxDB 1.x database may differ from
518
+
from the series cardinality of that same data when migrated to InfluxDB Cloud (TSM).
519
+
520
+
#### Syntax
521
+
522
+
```
523
+
influx_inspect report-db [ options ]
524
+
```
525
+
526
+
#### Options
527
+
528
+
##### [`-c <int>`]
529
+
530
+
Set worker concurrency. Default is `1`.
531
+
532
+
##### `-db-path <string>`
533
+
534
+
{{< req >}}: The path to the database.
535
+
536
+
##### [`-detailed`]
537
+
538
+
Include counts for fields, tags in the command output.
539
+
540
+
##### [`-exact`]
541
+
542
+
Report exact cardinality counts instead of estimates.
543
+
This method of calculation can use a lot of memory.
544
+
545
+
##### [`-rollup <string>`]
546
+
547
+
Specify the cardinality "rollup" level--the granularity of the cardinality report:
548
+
549
+
-`t`: total
550
+
-`d`: database
551
+
-`r`: retention policy
552
+
-`m`: measurement <emclass="op65">(Default)</em>
553
+
464
554
### `report-disk`
465
555
466
556
Use the `report-disk` command to review TSM file disk usage per shard and measurement in a specified directory. Useful for capacity planning and identifying which measurement or shard is using the most disk space. The default directory path `~/.influxdb/data/`.
0 commit comments