diff --git a/assets/styles/layouts/_article.scss b/assets/styles/layouts/_article.scss index 1d5a68b3e..d3f56bccd 100644 --- a/assets/styles/layouts/_article.scss +++ b/assets/styles/layouts/_article.scss @@ -189,7 +189,8 @@ } - @import "article/blocks", + @import "article/badges", + "article/blocks", "article/buttons", "article/captions", "article/children", diff --git a/assets/styles/layouts/article/_badges.scss b/assets/styles/layouts/article/_badges.scss new file mode 100644 index 000000000..2548388ab --- /dev/null +++ b/assets/styles/layouts/article/_badges.scss @@ -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; + } +} \ No newline at end of file diff --git a/content/influxdb3/explorer/manage-caches/distinct-value-caches.md b/content/influxdb3/explorer/manage-caches/distinct-value-caches.md index a887f1483..266d49307 100644 --- a/content/influxdb3/explorer/manage-caches/distinct-value-caches.md +++ b/content/influxdb3/explorer/manage-caches/distinct-value-caches.md @@ -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 icon next to the table + associated with the DVC you want to query to expand the table. + Tables with DVCs have a DVC badge below the + icon. +4. Under the **Caches** section of the expanded table, DVCs are identified by + the DVC 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 diff --git a/content/influxdb3/explorer/manage-caches/last-value-caches.md b/content/influxdb3/explorer/manage-caches/last-value-caches.md index 89db6c19c..ab5cc0943 100644 --- a/content/influxdb3/explorer/manage-caches/last-value-caches.md +++ b/content/influxdb3/explorer/manage-caches/last-value-caches.md @@ -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 icon next to the table + associated with the LVC you want to query to expand the table. + Tables with LVCs have a LVC badge below the + icon. +4. Under the **Caches** section of the expanded table, LVCs are identified by + the LVC 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