Skip to content

Commit d126c56

Browse files
authored
Merge pull request #6105 from influxdata/6099-v3-1-fixes
6099 v3 1 fixes
2 parents 50ba67a + 316a1a0 commit d126c56

File tree

10 files changed

+39
-22
lines changed

10 files changed

+39
-22
lines changed

content/influxdb/cloud/query-data/execute-queries/query-demo-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ types of demo data that let you explore and familiarize yourself with InfluxDB C
2525
{{% note %}}
2626
#### Free to use and read-only
2727
- InfluxDB Cloud demo data buckets are **free to use** and are **_not_ subject to
28-
[Free Plan rate limits](influxdb/cloud/account-management/limits/#free-plan-rate-limits) rate limits**.
28+
[Free Plan rate limits](/influxdb/cloud/account-management/limits/#free-plan-rate-limits) rate limits**.
2929
- Demo data buckets are **read-only**. You cannot write data into demo data buckets.
3030
{{% /note %}}
3131

content/influxdb3/core/admin/distinct-value-cache/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ source: /shared/influxdb3-admin/distinct-value-cache/_index.md
1616
---
1717

1818
<!-- The content for this page is located at
19-
// SOURCE content/shared/influxdb3-admin/distinct-value-cache/_index.md -->
19+
// SOURCE content/shared/influxdb3-admin/distinct-value-cache/_index.md
20+
-->

content/influxdb3/core/admin/last-value-cache/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ source: /shared/influxdb3-admin/last-value-cache/_index.md
1717
---
1818

1919
<!-- The content for this page is located at
20-
// SOURCE content/shared/influxdb3-admin/last-value-cache/_index.md -->
20+
// SOURCE content/shared/influxdb3-admin/last-value-cache/_index.md
21+
-->

content/influxdb3/core/admin/tokens/admin/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ menu:
1111
name: Admin tokens
1212
weight: 101
1313
influxdb3/core/tags: [tokens]
14-
source: /shared/influxdb3-admin/tokens/admin.md
14+
source: /shared/influxdb3-admin/tokens/admin/_index.md
1515
---
1616

1717
<!-- The content for this page is at
18-
// SOURCE content/shared/influxdb3-admin/tokens/admin.md
18+
// SOURCE content/shared/influxdb3-admin/tokens/admin/_index.md
1919
-->

content/shared/influxdb3-admin/distinct-value-cache/_index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ in a table. When you create a DVC, you can specify what columns' distinct
88
values to cache, the maximum number of distinct value combinations to cache, and
99
the maximum age of cached values. A DVC is associated with a table, which can
1010
have multiple DVCs.
11-
Caches import historical data when first created and reload data on restart.
1211

1312
{{< children type="anchored-list" >}}
1413
- [Important things to know about the Distinct Value Cache](#important-things-to-know-about-the-distinct-value-cache)
@@ -69,11 +68,17 @@ similar to this:
6968
DVCs are stored in memory; the larger the cache, the more memory your InfluxDB 3
7069
node requires to maintain it. Consider the following:
7170

71+
- [Cache data loading](#cache-data-loading)
7272
- [High cardinality limits](#high-cardinality-limits)
7373
{{% show-in "core" %}}
7474
- [Distinct Value Caches are flushed when the server stops](#distinct-value-caches-are-flushed-when-the-server-stops)
7575
{{% /show-in %}}
7676

77+
## Cache data loading
78+
79+
On cache creation, {{% product-name %}} loads historical data into the cache.
80+
On restart, the server automatically reloads cache data.
81+
7782
### High cardinality limits
7883

7984
“Cardinality” refers to the number of unique key column combinations in your

content/shared/influxdb3-admin/last-value-cache/_index.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ what fields to cache, what tags to use to identify each series, and the
1010
number of values to cache for each unique series.
1111
An LVC is associated with a table, which can have multiple LVCs.
1212

13-
Caches import historical data when first created and reload data on restart.
14-
1513
{{< children type="anchored-list" >}}
1614
- [Important things to know about the Last Value Cache](#important-things-to-know-about-the-last-value-cache)
1715
- [High cardinality key columns](#high-cardinality-key-columns)
@@ -83,11 +81,17 @@ similar to the following:
8381
LVCs are stored in memory; the larger the cache, the more memory your InfluxDB 3 node requires to
8482
maintain it. Consider the following:
8583

84+
- [Cache data loading](#cache-data-loading)
8685
- [High cardinality key columns](#high-cardinality-key-columns)
8786
- [Value count](#value-count)
8887
{{% show-in "core" %}}
8988
- [Last Value Caches are flushed when the server stops](#last-value-caches-are-flushed-when-the-server-stops)
90-
{{% /show-in %}}lue-columns)
89+
{{% /show-in %}}
90+
91+
## Cache data loading
92+
93+
On cache creation, {{% product-name %}} loads historical data into the cache.
94+
On restart, the server automatically reloads cache data.
9195

9296
### High cardinality key columns
9397

content/shared/influxdb3-admin/tokens/_index.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Manage tokens to authenticate and authorize access to server actions, resources,
33
## Provide your token
44

55
If you start the {{< product-name >}} server with authentication enabled (the default), future server actions (CLI commands and HTTP API requests) require a valid token for authorization.
6+
67
The first admin token you create is the _operator_ token (named `_admin`), which has full administrative privileges.
78
You can use the operator token to authenticate your requests and manage additional authorization tokens.
89

@@ -15,34 +16,37 @@ The mechanism for providing your token depends on the client you use to interact
1516
{{% /tabs %}}
1617
{{% tab-content %}}
1718

18-
When using the `influxdb3` CLI, you can use the `--token` option to provide your authorization token.
19+
When using the `influxdb3` CLI, you can set the `INFLUXDB3_AUTH_TOKEN` environment variable to automatically provide your
20+
authorization token to all `influxdb3` commands--for example:
1921

2022
{{% code-placeholders "YOUR_AUTH_TOKEN" %}}
2123
```bash
22-
# Include the --token option in your influxdb3 command
24+
# Export your token as an environment variable
25+
export INFLUXDB3_AUTH_TOKEN=YOUR_AUTH_TOKEN
26+
27+
# Run an influxdb3 command
2328
influxdb3 query \
24-
--token YOUR_AUTH_TOKEN \
2529
--database DATABASE_NAME \
2630
"SELECT * FROM 'DATABASE_NAME' WHERE time > now() - INTERVAL '10 minutes'"
2731
```
2832
{{% /code-placeholders %}}
2933

30-
You can also set the `INFLUXDB3_AUTH_TOKEN` environment variable to automatically provide your
31-
authorization token to all `influxdb3` commands.
34+
To specify a token in the command and override the environment variable, pass the `--token` option with your authorization token--for example:
3235

3336
{{% code-placeholders "YOUR_AUTH_TOKEN" %}}
3437
```bash
35-
# Export your token as an environment variable
36-
export INFLUXDB3_AUTH_TOKEN=YOUR_AUTH_TOKEN
37-
38-
# Run an influxdb3 command without the --token option
38+
# Include the --token option in your influxdb3 command
3939
influxdb3 query \
40+
--token YOUR_AUTH_TOKEN \
4041
--database DATABASE_NAME \
4142
"SELECT * FROM 'DATABASE_NAME' WHERE time > now() - INTERVAL '10 minutes'"
4243
```
4344
{{% /code-placeholders %}}
44-
{{% /tab-content %}}
4545

46+
You can also set the `INFLUXDB3_AUTH_TOKEN` environment variable to automatically provide your
47+
authorization token to all `influxdb3` commands.
48+
49+
{{% /tab-content %}}
4650
{{% tab-content %}}
4751

4852
{{% code-placeholders "YOUR_AUTH_TOKEN" %}}
@@ -57,6 +61,7 @@ curl "http://{{< influxdb/host >}}/api/v3/query_sql" \
5761

5862
{{% /tab-content %}}
5963
{{< /tabs-wrapper >}}
64+
6065
Replace the following with your values:
6166

6267
- {{% code-placeholder-key %}}`YOUR_AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link %}}

content/shared/influxdb3-admin/tokens/admin/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<!-- -->
1+
<!--
2+
-->
23
Manage {{< product-name omit="Clustered" >}} admin tokens to authorize server actions, `influxdb3` CLI commands, and HTTP API endpoints for your {{< product-name omit="Clustered" >}} instance.
34
Administrative (_admin_) tokens provide full system access and management capabilities for your {{< product-name omit="Clustered" >}} instance.
45
{{% show-in "core" %}}

content/shared/v3-core-get-started/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ _You can create a last values cache per time series, but be mindful of high card
910910

911911
#### Query a last values cache
912912

913-
To query data from the LVC, use the [`last_cache()`](influxdb3/version/reference/sql/functions/cache/#last_cache) function in your query--for example:
913+
To query data from the LVC, use the [`last_cache()`](/influxdb3/version/reference/sql/functions/cache/#last_cache) function in your query--for example:
914914

915915
```bash
916916
influxdb3 query \

content/shared/v3-enterprise-get-started/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ _You can create a last values cache per time series, but be mindful of high card
951951

952952
#### Query a last values cache
953953

954-
To query data from the LVC, use the [`last_cache()`](influxdb3/version/reference/sql/functions/cache/#last_cache) function in your query--for example:
954+
To query data from the LVC, use the [`last_cache()`](/influxdb3/version/reference/sql/functions/cache/#last_cache) function in your query--for example:
955955

956956
```bash
957957
influxdb3 query \

0 commit comments

Comments
 (0)