Skip to content

Commit ebf9b1b

Browse files
Add admin > database docs to Core and Enterprise (#5813)
* add influxdb3 database admin docs * Apply suggestions from code review Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com> --------- Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
1 parent d73e99d commit ebf9b1b

File tree

19 files changed

+571
-3
lines changed

19 files changed

+571
-3
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Administer {{< product-name >}}
3+
description: >
4+
Perform administrative tasks in {{< product-name >}} such as creating and
5+
managing databases and tokens.
6+
menu:
7+
influxdb3_core:
8+
name: Administer InfluxDB
9+
weight: 11
10+
source: /shared/influxdb3-admin/_index.md
11+
---
12+
13+
<!--
14+
The content of this file is located at content/shared/influxdb3-admin/_index.md
15+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Manage databases
3+
seotitle: Manage databases in {{< product-name >}}
4+
description: >
5+
An {{< product-name >}} database is a named location where time series data is
6+
stored. Each database can contain multiple tables.
7+
menu:
8+
influxdb3_core:
9+
parent: Administer InfluxDB
10+
weight: 103
11+
influxdb3/core/tags: [databases]
12+
related:
13+
- /influxdb3/core/write-data/best-practices/schema-design/
14+
- /influxdb3/core/reference/cli/influxdb3/
15+
alt_links:
16+
cloud: /influxdb/cloud/admin/buckets/
17+
cloud_dedicated: /influxdb3/cloud-dedicated/admin/databases/
18+
cloud_serverless: /influxdb3/cloud-serverless/admin/buckets/
19+
v2: /influxdb/v2/admin/buckets/
20+
source: /shared/influxdb3-admin/databases/_index.md
21+
---
22+
23+
<!--
24+
The content of this file is located at content/shared/influxdb3-admin/databases/_index.md
25+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Create a database
3+
description: >
4+
Use the [`influxdb3 create database` command](/influxdb3/core/reference/cli/influxdb3/create/database/)
5+
to create a new database in {{< product-name >}}.
6+
menu:
7+
influxdb3_core:
8+
parent: Manage databases
9+
weight: 201
10+
list_code_example: |
11+
<!--pytest.mark.skip-->
12+
13+
{{% code-placeholders "DATABASE_NAME" %}}
14+
```sh
15+
influxdb3 create database DATABASE_NAME
16+
```
17+
{{% /code-placeholders %}}
18+
related:
19+
- /influxdb3/core/reference/cli/influxdb3/create/database/
20+
source: /shared/influxdb3-admin/databases/create.md
21+
---
22+
23+
<!--
24+
The content of this file is located at content/shared/influxdb3-admin/databases/create.md
25+
-->
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Delete a database
3+
description: >
4+
Use the [`influxdb3 delete database` command](/influxdb3/core/reference/cli/influxdb3/delete/database/)
5+
to delete a database from {{< product-name >}}.
6+
Provide the name of the database you want to delete.
7+
menu:
8+
influxdb3_core:
9+
parent: Manage databases
10+
weight: 203
11+
list_code_example: |
12+
{{% code-placeholders "DATABASE_NAME" %}}
13+
```sh
14+
influxdb3 delete database DATABASE_NAME
15+
```
16+
{{% /code-placeholders %}}
17+
related:
18+
- /influxdb3/core/reference/cli/influxdb3/delete/database/
19+
source: /shared/influxdb3-admin/databases/delete.md
20+
---
21+
22+
<!--
23+
The content of this file is located at content/shared/influxdb3-admin/databases/delete.md
24+
-->
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: List databases
3+
description: >
4+
Use the [`influxdb3 show databases` command](/influxdb3/core/reference/cli/influxdb3/show/databases/)
5+
to list databases in {{< product-name >}}.
6+
menu:
7+
influxdb3_core:
8+
parent: Manage databases
9+
weight: 202
10+
list_code_example: |
11+
```sh
12+
influxdb3 show databases
13+
```
14+
related:
15+
- /influxdb3/core/reference/cli/influxdb3/show/databases/
16+
source: /shared/influxdb3-admin/databases/list.md
17+
---
18+
19+
<!--
20+
The content of this file is located at content/shared/influxdb3-admin/databases/list.md
21+
-->

content/influxdb3/core/visualize-data/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >
44
Use visualization tools like Grafana, Superset, and others to visualize time
55
series data stored in InfluxDB 3 Core.
66
menu: influxdb3_core
7-
weight: 19
7+
weight: 10
88
related:
99
- /influxdb3/clustered/query-data/
1010
---
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Administer {{< product-name >}}
3+
description: >
4+
Perform administrative tasks in {{< product-name >}} such as creating and
5+
managing databases and tokens.
6+
menu:
7+
influxdb3_enterprise:
8+
name: Administer InfluxDB
9+
weight: 11
10+
source: /shared/influxdb3-admin/_index.md
11+
---
12+
13+
<!--
14+
The content of this file is located at content/shared/influxdb3-admin/_index.md
15+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Manage databases
3+
seotitle: Manage databases in {{< product-name >}}
4+
description: >
5+
An {{< product-name >}} database is a named location where time series data is
6+
stored. Each database can contain multiple tables.
7+
menu:
8+
influxdb3_enterprise:
9+
parent: Administer InfluxDB
10+
weight: 103
11+
influxdb3/enterprise/tags: [databases]
12+
related:
13+
- /influxdb3/enterprise/write-data/best-practices/schema-design/
14+
- /influxdb3/enterprise/reference/cli/influxdb3/
15+
alt_links:
16+
cloud: /influxdb/cloud/admin/buckets/
17+
cloud_dedicated: /influxdb3/cloud-dedicated/admin/databases/
18+
cloud_serverless: /influxdb3/cloud-serverless/admin/buckets/
19+
v2: /influxdb/v2/admin/buckets/
20+
source: /shared/influxdb3-admin/databases/_index.md
21+
---
22+
23+
<!--
24+
The content of this file is located at content/shared/influxdb3-admin/databases/_index.md
25+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Create a database
3+
description: >
4+
Use the [`influxdb3 create database` command](/influxdb3/enterprise/reference/cli/influxdb3/create/database/)
5+
to create a new database in {{< product-name >}}.
6+
menu:
7+
influxdb3_enterprise:
8+
parent: Manage databases
9+
weight: 201
10+
list_code_example: |
11+
<!--pytest.mark.skip-->
12+
13+
{{% code-placeholders "DATABASE_NAME" %}}
14+
```sh
15+
influxdb3 create database DATABASE_NAME
16+
```
17+
{{% /code-placeholders %}}
18+
related:
19+
- /influxdb3/enterprise/reference/cli/influxdb3/create/database/
20+
source: /shared/influxdb3-admin/databases/create.md
21+
---
22+
23+
<!--
24+
The content of this file is located at content/shared/influxdb3-admin/databases/create.md
25+
-->
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Delete a database
3+
description: >
4+
Use the [`influxdb3 delete database` command](/influxdb3/enterprise/reference/cli/influxdb3/delete/database/)
5+
to delete a database from {{< product-name >}}.
6+
Provide the name of the database you want to delete.
7+
menu:
8+
influxdb3_enterprise:
9+
parent: Manage databases
10+
weight: 203
11+
list_code_example: |
12+
{{% code-placeholders "DATABASE_NAME" %}}
13+
```sh
14+
influxdb3 delete database DATABASE_NAME
15+
```
16+
{{% /code-placeholders %}}
17+
related:
18+
- /influxdb3/enterprise/reference/cli/influxdb3/delete/database/
19+
source: /shared/influxdb3-admin/databases/delete.md
20+
---
21+
22+
<!--
23+
The content of this file is located at content/shared/influxdb3-admin/databases/delete.md
24+
-->

0 commit comments

Comments
 (0)