Skip to content

Commit

Permalink
[update] Update sidebar of Getting Started/ Guide / Clickbench (#1710)
Browse files Browse the repository at this point in the history
## Versions 

- [ ] dev
- [ ] 3.0
- [ ] 2.1
- [ ] 2.0

## Languages

- [ ] Chinese
- [ ] English

## Docs Checklist

- [ ] Checked by AI
- [ ] Test Cases Built
  • Loading branch information
KassieZ authored Jan 3, 2025
1 parent f37963f commit 57c7af9
Show file tree
Hide file tree
Showing 102 changed files with 269 additions and 7,347 deletions.
2 changes: 1 addition & 1 deletion docs/data-operate/export/export-manual.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Export",
"title": "Using EXPORT Command",
"language": "en"
}
---
Expand Down
2 changes: 1 addition & 1 deletion docs/data-operate/export/export-with-mysql-dump.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "MySQL Dump",
"title": "Using MySQL Dump",
"language": "en"
}
---
Expand Down
2 changes: 1 addition & 1 deletion docs/data-operate/export/outfile.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Select Into Outfile",
"title": "Using SELECT INTO OUTFILE Command",
"language": "en"
}
---
Expand Down
2 changes: 1 addition & 1 deletion docs/db-connect/arrow-flight-sql-connect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "High-speed data transmission link based on Arrow Flight SQL",
"title": "Connecting by Arrow Flight SQL Protocol",
"language": "en"
}
---
Expand Down
2 changes: 1 addition & 1 deletion docs/db-connect/database-connect.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Connecting to Database",
"title": "Connecting by MySQL Protocol",
"language": "en"
}
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Building log analysis platform",
"title": "Log Storage and Analysis",
"language": "en"
}
---
Expand Down
4 changes: 2 additions & 2 deletions docs/table-design/data-model/aggregate.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
{
"title": "聚合模型",
"language": "zh-CN"
"title": "Aggregate Model",
"language": "en"
}
---

Expand Down
4 changes: 2 additions & 2 deletions docs/table-design/data-model/duplicate.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
{
"title": "明细模型",
"language": "zh-CN"
"title": "Detail Model",
"language": "en"
}
---

Expand Down
6 changes: 3 additions & 3 deletions docs/table-design/data-model/overview.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
{
"title": "模型概述",
"language": "zh-CN"
"title": "Table Model Overview",
"language": "en"
}
---

Expand Down Expand Up @@ -34,7 +34,7 @@ Doris supports three types of table models:

* **Primary Key Model (Unique Key Model)**: Ensures that each row has a unique Key value, and guarantees that there are no duplicate rows for a given Key column. The Doris storage layer retains only the latest written data for each key, making this model suitable for scenarios that involve data updates.

* **Aggregation Model (Aggregate Key Model)**: Allows data to be aggregated based on the Key columns. The Doris storage layer retains aggregated data, reducing storage space and improving query performance. This model is typically used in situations where summary or aggregated information (such as totals or averages) is required.
* **Aggregate Model (Aggregate Key Model)**: Allows data to be aggregated based on the Key columns. The Doris storage layer retains aggregated data, reducing storage space and improving query performance. This model is typically used in situations where summary or aggregated information (such as totals or averages) is required.

Once the table is created, the table model attributes are confirmed and cannot be modified. It is crucial to choose the appropriate model based on business requirements:

Expand Down
4 changes: 2 additions & 2 deletions docs/table-design/data-model/unique.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
{
"title": "主键模型",
"language": "zh-CN"
"title": "Primary Key Model",
"language": "en"
}
---

Expand Down
2 changes: 1 addition & 1 deletion docs/table-design/schema-change.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Schema Evolution",
"title": "Schema Change",
"language": "en"
}
---
Expand Down
2 changes: 1 addition & 1 deletion docs/table-design/tiered-storage/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "Tiered Storage",
"title": "Tiered Storage Overview",
"language": "en-US"
}
---
Expand Down
18 changes: 9 additions & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ const config = {
priority: 0.5,
filename: 'sitemap.xml',
createSitemapItems: async (params) => {
const {defaultCreateSitemapItems, ...rest} = params;
const items = await defaultCreateSitemapItems(rest);
for(let item of items){
if(item.url.includes('docs/1.2')){
item.priority = 0.2;
const { defaultCreateSitemapItems, ...rest } = params;
const items = await defaultCreateSitemapItems(rest);
for (let item of items) {
if (item.url.includes('docs/1.2')) {
item.priority = 0.2;
}
}
}
return items;
return items;
},
},
}),
Expand Down Expand Up @@ -243,7 +243,7 @@ const config = {
{
position: 'left',
label: 'Docs',
to: '/docs/gettingStarted/what-is-new',
to: '/docs/gettingStarted/what-is-apache-doris',
target: '_blank',
},
{ to: '/blog', label: 'Blog', position: 'left' },
Expand Down Expand Up @@ -344,7 +344,7 @@ const config = {
{
position: 'left',
label: 'Docs',
to: '/docs/gettingStarted/what-is-new',
to: '/docs/gettingStarted/what-is-apache-doris',
target: '_blank',
},
{ to: '/blog', label: 'Blog', position: 'left' },
Expand Down
6 changes: 3 additions & 3 deletions i18n/zh-CN/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@
"message": "手动部署集群",
"description": "The label for category Cluster Deployment Manually in sidebar docs"
},
"sidebar.docs.category.Deployment on Cloud": {
"sidebar.docs.category.Deploying on Cloud": {
"message": "云上部署集群",
"description": "The label for category Deployment on Cloud in sidebar docs"
"description": "The label for category Deploying on Cloud in sidebar docs"
},
"sidebar.docs.category.Database Connection": {
"message": "数据库连接",
Expand Down Expand Up @@ -552,7 +552,7 @@
"description": "The label for category Cross Cluster Replication in sidebar docs"
},
"sidebar.docs.category.Tiered Storage": {
"message": "分层存储",
"message": "冷热数据分层",
"description": "The label for category Tiered Storage in sidebar docs"
},
"sidebar.docs.category.Business Continuity & Data Recovery": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "数据库连接",
"title": "通过 MySQL 协议连接",
"language": "zh-CN"
}
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Apache Doris 查询引擎是向量化的查询引擎,所有的内存结构能

![Doris 查询引擎是向量化](/images/getting-started/apache-doris-query-engine-2.png)

Apache Doris 采用了自适应查询执行(Adaptive Query Execution)技术, 可以根据 Runtime Statistics 来动态调整执行计划,比如通过 Runtime Filter 技术能够在运行时生成 Filter 推到 Probe 侧,并且能够将 Filter 自动穿透到 Probe 侧最底层的 Scan 节点,从而大幅减少 Probe 的数据量,加速 Join 性能。Apache Doris 的 Runtime Filter 支持 In/Min/Max/Bloom Filter。
Apache Doris 采用了自适应查询执行(Adaptive Query Execution)技术,可以根据 Runtime Statistics 来动态调整执行计划,比如通过 Runtime Filter 技术能够在运行时生成 Filter 推到 Probe 侧,并且能够将 Filter 自动穿透到 Probe 侧最底层的 Scan 节点,从而大幅减少 Probe 的数据量,加速 Join 性能。Apache Doris 的 Runtime Filter 支持 In/Min/Max/Bloom Filter。


在优化器方面,Apache Doris 使用 CBO 和 RBO 结合的优化策略,RBO 支持常量折叠、子查询改写、谓词下推等,CBO 支持 Join Reorder。目前 CBO 还在持续优化中,主要集中在更加精准的统计信息收集和推导,更加精准的代价模型预估等方面。
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
{
"title": "构建日志存储与分析平台",
"title": "日志存储与分析",
"language": "zh-CN"
}
---
Expand Down Expand Up @@ -218,13 +218,13 @@ Apache Doris 对 Flexible Schema 的日志数据提供了几个方面的支持
更多关于分区分桶的信息,可参考 [数据划分](../../table-design/data-partitioning/basic-concepts)

**配置压缩参数**
- 使用 zstd 压缩算法(`"compression" = "zstd"`), 提高数据压缩率。
- 使用 zstd 压缩算法 (`"compression" = "zstd"`), 提高数据压缩率。

**配置 Compaction 参数**

按照以下说明配置 Compaction 参数:

- 使用 time_series 策略(`"compaction_policy" = "time_series"`),以减轻写放大效应,对于高吞吐日志写入的资源写入很重要。
- 使用 time_series 策略 (`"compaction_policy" = "time_series"`),以减轻写放大效应,对于高吞吐日志写入的资源写入很重要。

**建立和配置索引参数**

Expand Down
Loading

0 comments on commit 57c7af9

Please sign in to comment.