Merge branch 'master' of github.com:influxdata/docs-v2
commit
ad37aae52f
|
@ -189,7 +189,8 @@
|
|||
}
|
||||
|
||||
|
||||
@import "article/blocks",
|
||||
@import "article/badges",
|
||||
"article/blocks",
|
||||
"article/buttons",
|
||||
"article/captions",
|
||||
"article/children",
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
.badge {
|
||||
font-size: .7rem;
|
||||
margin: 0 .2rem;
|
||||
padding: .1rem .4rem;
|
||||
border-radius: .6rem;
|
||||
font-weight: bold;
|
||||
vertical-align: top;
|
||||
|
||||
&.dvc {
|
||||
color: #2e7d2e;
|
||||
background-color: #e8f5e8;
|
||||
}
|
||||
&.lvc {
|
||||
color: #1976d2;
|
||||
background-color: #e3f2fd;
|
||||
}
|
||||
}
|
|
@ -59,8 +59,19 @@ On the **Distinct Value Cache management page**:
|
|||
|
||||
## Query a Distinct Value Cache
|
||||
|
||||
Use the `distinct_cache` SQL function to query a DVC. For more information, see
|
||||
[Query a Distinct Value Cache](/influxdb3/enterprise/admin/distinct-value-cache/query/).
|
||||
Use the **Data Explorer** to query a DVC:
|
||||
|
||||
1. In the left navigation, select **Query Data** > **Data Explorer**.
|
||||
2. Select the database you want to query from the **Select database** dropdown menu.
|
||||
3. Click the <strong class="icon-chevron-down"></strong> icon next to the table
|
||||
associated with the DVC you want to query to expand the table.
|
||||
Tables with DVCs have a <span class="badge dvc">DVC</span> badge below the
|
||||
<strong class="icon-chevron-down"></strong> icon.
|
||||
4. Under the **Caches** section of the expanded table, DVCs are identified by
|
||||
the <span class="badge dvc">DVC</span> badge. Click the name of the DVC to
|
||||
generate a SQL query that queries everything from the DVC. You can
|
||||
also expand the DVC and select specific columns to query.
|
||||
5. Click **Run Query** to execute the query and return results from the cache.
|
||||
|
||||
## Delete a Distinct Value Cache
|
||||
|
||||
|
|
|
@ -61,8 +61,19 @@ On the **Last Value Cache management page**:
|
|||
|
||||
## Query a Last Value Cache
|
||||
|
||||
Use the `last_cache` SQL function to query an LVC. For more information, see
|
||||
[Query a Last Value Cache](/influxdb3/enterprise/admin/last-value-cache/query/).
|
||||
Use the **Data Explorer** to query a LVC:
|
||||
|
||||
1. In the left navigation, select **Query Data** > **Data Explorer**.
|
||||
2. Select the database you want to query from the **Select database** dropdown menu.
|
||||
3. Click the <strong class="icon-chevron-down"></strong> icon next to the table
|
||||
associated with the LVC you want to query to expand the table.
|
||||
Tables with LVCs have a <span class="badge lvc">LVC</span> badge below the
|
||||
<strong class="icon-chevron-down"></strong> icon.
|
||||
4. Under the **Caches** section of the expanded table, LVCs are identified by
|
||||
the <span class="badge lvc">LVC</span> badge. Click the name of the LVC to
|
||||
generate a SQL query that queries everything from the LVC. You can
|
||||
also expand the LVC and select specific columns to query.
|
||||
5. Click **Run Query** to execute the query and return results from the cache.
|
||||
|
||||
## Delete a Last Value Cache
|
||||
|
||||
|
|
Loading…
Reference in New Issue