Skip to content

Commit 3c34dec

Browse files
authored
chore: organize pictures (#1003)
1 parent 894d07b commit 3c34dec

File tree

196 files changed

+408
-2342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+408
-2342
lines changed

docs/cn/guides/00-overview/00-editions/02-dc/01-platforms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ title: 云平台和地域
44

55
Databend Cloud 是一款完全基于云基础架构的解决方案,目前已支持[阿里云](https://cn.aliyun.com/)[腾讯云](https://cloud.tencent.com/)[Amazon S3](https://aws.amazon.com/cn/s3/) 的对象存储服务。各平台已开通的地理地域如下图所示:
66

7-
![alt text](../../../../../public/img/cloud/dc-platform.png)
7+
![alt text](/img/cloud/dc-platform.png)
88

99
:::note
1010
Databend Cloud 计划扩展其支持的云厂商和地域范围。如果您的项目需要特定的云厂商或地域支持,请点击 [Databend Cloud 中国官网](https://www.databend.cn/)首页右上角的“联系销售”与 Databend Cloud 团队取得联系。
1111
:::
1212

13-
您在开通 Databend Cloud 账号时需要选定一个云厂商及地域。开通成功后,选定的云厂商及地域暂不支持修改。
13+
您在开通 Databend Cloud 账号时需要选定一个云厂商及地域。开通成功后,选定的云厂商及地域暂不支持修改。

docs/en/guides/00-overview/00-editions/02-dc/01-platforms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ title: Platforms & Regions
44

55
Databend Cloud is a cloud-native solution that currently supports [Amazon S3](https://aws.amazon.com/s3/) in the following regions:
66

7-
![alt text](../../../../../public/img/cloud/dc-platform-en.png)
7+
![alt text](/img/cloud/dc-platform-en.png)
88

99
:::note
1010
Databend Cloud plans to expand its support for additional cloud platforms and regions. If your project requires support for a specific cloud platform or region, please click the **Contact Sales** button on the top right corner of the Databend Cloud homepage to get in touch with the Databend Cloud team.
1111
:::
1212

13-
When you sign up for a Databend Cloud account, you will need to select a cloud platform and region. Once the account is successfully created, the selected cloud platform and region cannot be changed.
13+
When you sign up for a Databend Cloud account, you will need to select a cloud platform and region. Once the account is successfully created, the selected cloud platform and region cannot be changed.

docs/en/guides/00-overview/02-faq.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: FAQ
66

77
The diagram illustrates the hierarchical structure of Databend objects across two levels. Fine-grained privileges and ownership are designed for each type of object, providing flexibility. For more information, see [Access Control](../56-security/access-control/index.md).
88

9-
![Alt text](@site/docs/public/img/guides/faq1.png)
9+
![Alt text](/img/guides/faq1.png)
1010

1111
### Q2: How do I create a table in Databend?
1212

@@ -28,31 +28,31 @@ CREATE TABLE example (
2828

2929
This table provides an outline of the mapping of data types between Databend, MySQL, and Oracle.
3030

31-
| Databend | MySQL | Oracle |
32-
|---------------|-----------|--------------|
33-
| TINYINT | TINYINT | NUMBER(3,0) |
34-
| SMALLINT | SMALLINT | NUMBER(5,0) |
35-
| INT | INT | NUMBER(10,0) |
36-
| BIGINT | BIGINT | NUMBER(19,0) |
37-
| FLOAT | FLOAT | FLOAT |
38-
| DOUBLE | DOUBLE | FLOAT(24) |
39-
| DECIMAL | DECIMAL | NUMBER |
40-
| DATE | DATE | DATE |
41-
| TIMESTAMP | TIMESTAMP | NUMBER |
42-
| DATETIME | DATETIME | DATE |
43-
| YEAR | INT | NUMBER |
44-
| VARCHAR | VARCHAR | VARCHAR2 |
45-
| VARCHAR | CHAR | CHAR |
46-
| BINARY | VARBINARY | RAW, BLOB |
47-
| VARCHAR | TEXT | VARCHAR2 |
48-
| VARCHAR | LONGTEXT | RAW, CBLOB |
49-
| VARCHAR | MEDIUMTEXT| RAW, CBLOB |
50-
| VARCHAR | ENUM | VARCHAR2 |
51-
| VARCHAR | SET | VARCHAR2 |
52-
| VARCHAR | bit | CHAR |
53-
| ARRAY | N/A | N/A |
54-
| BOOLEAN | N/A | N/A |
55-
| TUPLE | N/A | N/A |
56-
| MAP | N/A | N/A |
57-
| JSON, VARIANT | JSON | JSON |
58-
| BITMAP | N/A | N/A |
31+
| Databend | MySQL | Oracle |
32+
| ------------- | ---------- | ------------ |
33+
| TINYINT | TINYINT | NUMBER(3,0) |
34+
| SMALLINT | SMALLINT | NUMBER(5,0) |
35+
| INT | INT | NUMBER(10,0) |
36+
| BIGINT | BIGINT | NUMBER(19,0) |
37+
| FLOAT | FLOAT | FLOAT |
38+
| DOUBLE | DOUBLE | FLOAT(24) |
39+
| DECIMAL | DECIMAL | NUMBER |
40+
| DATE | DATE | DATE |
41+
| TIMESTAMP | TIMESTAMP | NUMBER |
42+
| DATETIME | DATETIME | DATE |
43+
| YEAR | INT | NUMBER |
44+
| VARCHAR | VARCHAR | VARCHAR2 |
45+
| VARCHAR | CHAR | CHAR |
46+
| BINARY | VARBINARY | RAW, BLOB |
47+
| VARCHAR | TEXT | VARCHAR2 |
48+
| VARCHAR | LONGTEXT | RAW, CBLOB |
49+
| VARCHAR | MEDIUMTEXT | RAW, CBLOB |
50+
| VARCHAR | ENUM | VARCHAR2 |
51+
| VARCHAR | SET | VARCHAR2 |
52+
| VARCHAR | bit | CHAR |
53+
| ARRAY | N/A | N/A |
54+
| BOOLEAN | N/A | N/A |
55+
| TUPLE | N/A | N/A |
56+
| MAP | N/A | N/A |
57+
| JSON, VARIANT | JSON | JSON |
58+
| BITMAP | N/A | N/A |

docs/en/guides/10-deploy/01-deploy/00-understanding-deployment-modes.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
---
22
title: Understanding Databend Deployments
33
sidebar_label: Understanding Deployments
4-
description:
5-
Describes Databend deployment modes
4+
description: Describes Databend deployment modes
65
---
76

87
## Databend Node Types
@@ -17,7 +16,7 @@ Please note that, when we mention "nodes," it refers to individual servers that
1716

1817
## Deployment Modes
1918

20-
Databend deployment provides two modes: standalone and cluster, each with different application scenarios and node configurations.
19+
Databend deployment provides two modes: standalone and cluster, each with different application scenarios and node configurations.
2120

2221
### Standalone Deployment
2322

@@ -46,11 +45,11 @@ The primary goal of a Query cluster is to ensure that the query processing speed
4645

4746
#### Tenant Management
4847

49-
A tenant refers to an entity or organization that utilizes the services or resources provided by a system. In Databend, a tenant is associated with a unique tenant ID, which serves as an identifier to differentiate and manage their data, users, and resources within Databend.
48+
A tenant refers to an entity or organization that utilizes the services or resources provided by a system. In Databend, a tenant is associated with a unique tenant ID, which serves as an identifier to differentiate and manage their data, users, and resources within Databend.
5049

5150
In the case of a query cluster, when a SQL request is received by a query node, the computational workload is efficiently distributed among query nodes that share the same tenant ID and cluster ID. Please note that query nodes with the same tenant ID but different cluster IDs provide a mechanism for workload isolation while still sharing the same data and user lists.
5251

53-
![Alt text](@site/docs/public/img/deploy/tenantid.PNG)
52+
![Alt text](/img/deploy/tenantid.PNG)
5453

5554
## Deployment Environments
5655

@@ -60,12 +59,12 @@ This topic provides information on the recommended hardware specifications for D
6059

6160
Databend nodes can be deployed either on-premises servers or in the cloud. Databend is compatible with various public cloud platforms, such as Amazon EC2, Azure VMs, Tencent Cloud, and Alibaba Cloud. The table below outlines the recommended hardware specifications for servers running Databend nodes:
6261

63-
| Hardware Specification | Standalone Mode | Cluster Mode (Meta Node) | Cluster Mode (Query Node) |
64-
|------------------------- |------------------ |-------------------------- |--------------------------- |
65-
| CPU | 16-cores or above | 4-cores or above | 16-cores or above |
66-
| Memory | 32 GB or above | 16 GB or above | 32 GB or above |
67-
| Data Disk (SSD) | 200-600 GB | 100-200 GB | 100-200 GB |
68-
| Network Interface Card | 10 Gbps or above | 10 Gbps or above | 10 Gbps or above |
62+
| Hardware Specification | Standalone Mode | Cluster Mode (Meta Node) | Cluster Mode (Query Node) |
63+
| ---------------------- | ----------------- | ------------------------ | ------------------------- |
64+
| CPU | 16-cores or above | 4-cores or above | 16-cores or above |
65+
| Memory | 32 GB or above | 16 GB or above | 32 GB or above |
66+
| Data Disk (SSD) | 200-600 GB | 100-200 GB | 100-200 GB |
67+
| Network Interface Card | 10 Gbps or above | 10 Gbps or above | 10 Gbps or above |
6968

7069
### Supported Object Storage
7170

docs/en/guides/10-deploy/01-deploy/01-non-production/00-deploying-local.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To quickly access Databend features and gain practical expertise, you have the f
2323

2424
In this guide, you will deploy Databend along with [MinIO](https://min.io/) using [Docker](https://www.docker.com/) for a containerized setup on an [Amazon EC2](https://aws.amazon.com/ec2/) Ubuntu virtual machine.
2525

26-
![Alt text](@site/docs/public/img/deploy/docker-deploy.png)
26+
![Alt text](/img/deploy/docker-deploy.png)
2727

2828
<StepsWrap>
2929
<StepContent number="1">
@@ -34,11 +34,11 @@ Before you start, launch an instance on Amazon EC2 and install the Docker engine
3434

3535
1. Log into the [Amazon EC2 console](https://console.aws.amazon.com/ec2/), and launch an Ubuntu instance with a memory capacity of at least 8 GiB. Once the instance is up, you can find the public IP address and the private IP address assigned to the instance on the instance details page.
3636

37-
![Alt text](@site/docs/public/img/deploy/docker-instance.png)
37+
![Alt text](/img/deploy/docker-instance.png)
3838

3939
2. Create a security group, and add an inbound rule to allow access to your instance through port `9001`, then add the security group to the instance.
4040

41-
![Alt text](@site/docs/public/img/deploy/docker-create-sg.png)
41+
![Alt text](/img/deploy/docker-create-sg.png)
4242

4343
3. Connect to your instance. There are many ways to connect to your instance from a local machine. For more information, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-to-linux-instance.html.
4444

@@ -95,11 +95,11 @@ STARTUP WARNINGS:
9595

9696
3. Open your web browser on your local machine and visit the MinIO console using the WebUI address shown in the logs above (replace the IP address with your instance's public IP address). For example, if your instance's public IP address is `3.142.131.212`, then your MinIO console address would be `http://3.142.131.212:9001`.
9797

98-
![Alt text](@site/docs/public/img/deploy/docker-minio.png)
98+
![Alt text](/img/deploy/docker-minio.png)
9999

100100
4. Log into the MinIO console with the credentials `ROOTUSER`/`CHANGEME123`, and create a bucket named `databend`.
101101

102-
![Alt text](@site/docs/public/img/deploy/docker-bucket.png)
102+
![Alt text](/img/deploy/docker-bucket.png)
103103

104104
</StepContent>
105105

docs/en/guides/10-deploy/01-deploy/02-production/02-deploying-databend-on-kubernetes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This topic explains how to install and configure the Databend cluster on Kuberne
88

99
## Deployment Architecture
1010

11-
![Deployment Architecture](@site/docs/public/img/deploy/k8s-deployment-arch.jpg)
11+
![Deployment Architecture](/img/deploy/k8s-deployment-arch.jpg)
1212

1313
**Scenario Description**
1414

@@ -605,17 +605,17 @@ Note the `serviceMonitor` should be enabled when deploying meta and query cluste
605605
606606
- Select `+` on the upper right corner to expand the menu, click on "Import dashboard" to import the dashboard, and upload the two downloaded JSON files.
607607
608-
![Alt text](@site/docs/public/img/deploy/import-dashboard.png)
608+
![Alt text](/img/deploy/import-dashboard.png)
609609
610610
- Then you should see the two dashboard:
611611
612612
- Databend Meta Runtime
613613
614-
![Alt text](@site/docs/public/img/deploy/databend-meta-runtime.png)
614+
![Alt text](/img/deploy/databend-meta-runtime.png)
615615
616616
- Databend Query Runtime
617617
618-
![Alt text](@site/docs/public/img/deploy/databend-query-runtime.png)
618+
![Alt text](/img/deploy/databend-query-runtime.png)
619619
620620
## Next Steps
621621

docs/en/guides/10-deploy/03-monitor/tools/prometheus-and-grafana.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The steps below describe how to install and deploy Prometheus using Docker.
6868

6969
Check the value on the right of each instance. `1` means the instance is healthy, and `0` means that the scrape failed.
7070

71-
![Prometheus up](@site/docs/public/img/tracing/prometheus-up.png)
71+
![Prometheus up](/img/tracing/prometheus-up.png)
7272

7373
### Step 3. Deploy Grafana
7474

@@ -95,12 +95,12 @@ The steps below describe how to install and deploy Grafana using Docker.
9595

9696
Please note that set the URL to `http://host.docker.internal:9090` for the data source.
9797

98-
![Grafana data source](@site/docs/public/img/tracing/grafana-datasource.png)
98+
![Grafana data source](/img/tracing/grafana-datasource.png)
9999

100100
4. Create dashboards.
101101

102102
Databend recommend import the files in [datafuselabs/helm-charts - dashboards](https://github.com/datafuselabs/helm-charts/tree/main/dashboards) to create your dashboards. To do so, download the files first, then go to `http://0.0.0.0:3000/dashboard/import` to import the downloaded files one by one and select the `Prometheus` data source for each dashboard.
103103

104-
![Grafana import query json](@site/docs/public/img/tracing/grafana-query-json.png)
104+
![Grafana import query json](/img/tracing/grafana-query-json.png)
105105

106-
![Grafana query dashboard](@site/docs/public/img/tracing/grafana-query-dashboard.png)
106+
![Grafana query dashboard](/img/tracing/grafana-query-dashboard.png)

docs/en/guides/20-cloud/10-using-databend-cloud/03-monitor.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,25 @@ Query Profile refers to the graphical representation or visual breakdown of how
3838

3939
Here is an example of a query profile, comprising a set of three operator nodes in a hierarchical structure. When executing the SQL statement, Databend Cloud processes the nodes in a bottom-to-top sequence. The quantity and types of operator nodes a query profile contains depend on the specifics of your SQL statement. For the common operators and their statistical fields, see [Common Operators and Fields](/sql/sql-commands/explain-cmds/explain#common-operators-and-fields).
4040

41-
![alt text](../../../../public/img/cloud/query-profile-1.png)
41+
![alt text](/img/cloud/query-profile-1.png)
4242

4343
*Please note that the bracketed number in each node's title represents the node ID and does *not* indicate the execution step.*
4444

4545
A query profile comes with a set of information panes that offer more details. The example above includes two information panes:
4646

4747
| Pane | Description |
48-
|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
48+
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
4949
| Most Expensive Nodes | Lists the nodes with the longest execution times. |
5050
| Profile Overview | Displays the percentage of time spent on CPU and I/O. Please note that if you select a node, this information pane shows the information specific to the node you select, rather than the whole query. |
5151

5252
If you click on the `TableScan [4]` node, you will notice that two additional information panes have been added to the right:
5353

54-
![alt text](../../../../public/img/cloud/query-profile-2.png)
54+
![alt text](/img/cloud/query-profile-2.png)
5555

56-
| Pane | Description |
57-
|------------|-------------------------------------------------------------------------------------------------------------------------------------|
56+
| Pane | Description |
57+
| ---------- | ------------------------------------------------------------------------------------------------------------------ |
5858
| Statistics | Includes information such as scan progress, bytes scanned, percentage scanned from cache, partitions scanned, etc. |
59-
| Attributes | Displays details specific to the node. The shown fields vary based on the functionality of the node. |
59+
| Attributes | Displays details specific to the node. The shown fields vary based on the functionality of the node. |
6060

6161
## Audit
6262

0 commit comments

Comments
 (0)