Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 013e23e

Browse files
songjiayangfengttt
andauthored
auto format with autocorrect --fix (matrixorigin#7451)
Signed-off-by: songjiayang <[email protected]> Signed-off-by: songjiayang <[email protected]> Co-authored-by: fengttt <[email protected]>
1 parent 4335930 commit 013e23e

File tree

5 files changed

+66
-66
lines changed

5 files changed

+66
-66
lines changed

README_CN.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,30 @@
3434
</a>
3535
</div>
3636

37-
<h3 align="center">加入MatrixOne社区</h3>
37+
<h3 align="center">加入 MatrixOne 社区</h3>
3838
<p align="center">
3939
<a href="https://26805113.s21i.faiusr.com/4/ABUIABAEGAAgv7rJjwYo977zvgQw1AY41AY!200x200.png.webp" target="blank"><img align="center" src="https://github.com/dengn/CASAUVSQ/blob/priority/wechat-logo.png" alt="matrixone16" height="30" width="30" /></a>
4040
<a href="http://matrixoneworkspace.slack.com" target="blank"><img align="center" src="https://github.com/dengn/CASAUVSQ/blob/priority/slack_icon.png" alt="matrixone16" height="30" width="30" /></a>
4141

4242
</p>
4343

44-
<h5 align="center">如果你对MatrixOne项目感兴趣的话, 请帮忙给MatrixOne点击Star, Fork和Watch三连吧, 谢谢!</h5>
44+
<h5 align="center">如果你对 MatrixOne 项目感兴趣的话,请帮忙给 MatrixOne 点击 Star, Fork 和 Watch 三连吧,谢谢!</h5>
4545

4646

4747
目录
4848
========
4949

50-
* [MatrixOne是什么](#what-is-matrixone)
50+
* [MatrixOne 是什么](#what-is-matrixone)
5151
* [核心特性](#key-features)
5252
* [用户价值](#user-values)
5353
* [架构](#architecture)
5454
* [快速上手](#quick-start)
5555
* [参与贡献](#contributing)
5656
* [License](#license)
5757

58-
## <a id="what-is-matrixone">MatrixOne是什么?</a>
58+
## <a id="what-is-matrixone">MatrixOne 是什么?</a>
5959

60-
MatrixOne是一款面向未来的超融合异构云原生数据库,通过超融合数据引擎支持事务/分析/流处理等混合工作负载,通过异构云原生架构支持跨机房协同/多地协同/云边协同。简化开发运维,消简数据碎片,打破数据的系统、位置和创新边界。
60+
MatrixOne 是一款面向未来的超融合异构云原生数据库,通过超融合数据引擎支持事务/分析/流处理等混合工作负载,通过异构云原生架构支持跨机房协同/多地协同/云边协同。简化开发运维,消简数据碎片,打破数据的系统、位置和创新边界。
6161
<p align="center">
6262
<img alt="MatrixOne" height="500" src="https://github.com/matrixorigin/artwork/blob/main/docs/overview/all-in-one.png?raw=true">
6363
</p>
@@ -125,7 +125,7 @@ MatrixOne是一款面向未来的超融合异构云原生数据库,通过超
125125
目前,由于缓慢的复杂查询性能以及冗余的中间表,数据仓库在业务敏捷性上的表现不尽人意,大量宽表的创建也严重影响迭代速度。MatrixOne通过特有的因子化计算和向量化执行引擎,支持极速的复杂查询,单表、星型和雪花查询都具备极速分析性能。
126126
</details>
127127
<details>
128-
<summary><b><font size=4>像TP一样可靠的AP体验</b></font></summary>
128+
<summary><b><font size=4>像 TP 一样可靠的 AP 体验</b></font></summary>
129129
传统数据仓库数据更新代价非常高,很难做到数据更新即可见。在营销风控,无人驾驶,智能工厂等实时计算要求高的场景或者上游数据变化快的场景中,当前的大数据分析系统无法支持增量更新,往往需要做全量的更新,耗时耗力。MatrixOne通过提供跨存储引擎的高性能全局分布式事务能力,支持条级别的实时增量更新,在保证极速分析性能的同时支持更新、删除和实时点查询。
130130
</details>
131131
<details>
@@ -134,30 +134,30 @@ MatrixOne是一款面向未来的超融合异构云原生数据库,通过超
134134
</details>
135135

136136
## 🔎 <a id="architecture">架构一览</a>
137-
MatrixOne的架构图如下图所示
137+
MatrixOne 的架构图如下图所示
138138
<p align="center">
139139
<img alt="MatrixOne" height="500" src="https://github.com/matrixorigin/artwork/blob/main/docs/overview/matrixone_new_arch.png?raw=true">
140140
</p>
141141

142-
关于更详细的MatrixOne技术架构,可以参考[MatrixOne架构设计](https://docs.matrixorigin.io/cn/0.6.0/MatrixOne/Overview/matrixone-architecture-design/)
142+
关于更详细的 MatrixOne 技术架构,可以参考[MatrixOne 架构设计](https://docs.matrixorigin.io/cn/0.6.0/MatrixOne/Overview/matrixone-architecture-design/)
143143

144144
## ⚡️ <a id="quick-start">快速上手</a>
145145

146-
### ⚙️ 安装MatrixOne
146+
### ⚙️ 安装 MatrixOne
147147

148-
MatrixOne目前支持Linux及MacOS系统,您可以通过源码安装或者docker安装。其他安装方式请参见[MatrixOne安装指南](https://docs.matrixorigin.io/cn/0.6.0/MatrixOne/Get-Started/install-standalone-matrixone/)
148+
MatrixOne 目前支持 Linux 及 MacOS 系统,您可以通过源码安装或者 docker 安装。其他安装方式请参见[MatrixOne 安装指南](https://docs.matrixorigin.io/cn/0.6.0/MatrixOne/Get-Started/install-standalone-matrixone/)
149149

150150
#### 使用源代码搭建
151151

152-
**步骤 1.** 搭建Go语言环境(至少需要1.19版本
152+
**步骤 1.** 搭建 Go 语言环境(至少需要 1.19 版本
153153

154154
点击 <a href="https://go.dev/doc/install" target="_blank">Go Download and install</a> 入到 **Go** 的官方文档,按照官方指导安装步骤完成 **Go** 语言的安装。
155155

156-
**步骤 2.** 获取MatrixOne源码,构建MatrixOne
156+
**步骤 2.** 获取 MatrixOne 源码,构建 MatrixOne
157157

158158
根据您的需要,选择您所获取的代码永远保持最新,还是获得稳定版本的代码。
159159

160-
- *选项 1*:获取 MatrixOne(开发版本) 代码,搭建MatrixOne
160+
- *选项 1*:获取 MatrixOne(开发版本) 代码,搭建 MatrixOne
161161

162162
**main** 分支是默认分支,主分支上的代码总是最新的,但不够稳定。
163163

@@ -176,7 +176,7 @@ MatrixOne目前支持Linux及MacOS系统,您可以通过源码安装或者dock
176176

177177
__Tips__: 你也可以运行`make debug``make clean`或者其他任何`Makefile`支持的命令;`make debug` 可以用来调试构建进程,`make clean` 可以清除构建进程。
178178

179-
- *选项 2*:获取 MatrixOne(稳定版本) 代码,搭建MatrixOne
179+
- *选项 2*:获取 MatrixOne(稳定版本) 代码,搭建 MatrixOne
180180

181181
1. 如果您想获得 MatrixOne 发布的最新稳定版本代码,请先从 **main** 切换选择至 **0.6.0** 版本分支。
182182

@@ -230,11 +230,11 @@ MatrixOne目前支持Linux及MacOS系统,您可以通过源码安装或者dock
230230

231231
#### 使用 Docker
232232

233-
**步骤 1.** 确保docker已经安装
233+
**步骤 1.** 确保 Docker 已经安装
234234

235235
点击<a href="https://docs.docker.com/get-docker/" target="_blank">Get Docker</a>,进入 Docker 的官方文档页面,根据你的操作系统,下载安装对应的 Docker。
236236

237-
请检查Docker daemon是否正在后台运行,并确认 Docker 版本:
237+
请检查 Docker daemon 是否正在后台运行,并确认 Docker 版本:
238238

239239
```
240240
$ docker --version
@@ -259,7 +259,7 @@ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:0.6.0
259259

260260
- 开发版本的镜像
261261

262-
获取最新开发版本的镜像,参见[Docker Hub](https://hub.docker.com/r/matrixorigin/matrixone/tags)找到最新Tag,拉取镜像。拉取镜像代码示例如下:
262+
获取最新开发版本的镜像,参见[Docker Hub](https://hub.docker.com/r/matrixorigin/matrixone/tags)找到最新 Tag,拉取镜像。拉取镜像代码示例如下:
263263

264264
```bash
265265
docker pull matrixorigin/matrixone:nightly-commitnumber
@@ -275,8 +275,8 @@ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:nightly-commi
275275

276276
1. 安装 MySQL 客户端
277277

278-
MatrixOne支持MySQL连接协议,因此您可以使用各种语言通过MySQL客户机程序进行连接
279-
目前,MatrixOne只兼容Oracle MySQL客户端,因此一些特性可能无法在MariaDB、Percona客户端下正常工作
278+
MatrixOne 支持 MySQL 连接协议,因此您可以使用各种语言通过 MySQL 客户机程序进行连接
279+
目前,MatrixOne 只兼容 Oracle MySQL 客户端,因此一些特性可能无法在 MariaDB、Percona 客户端下正常工作
280280

281281
安装部署 MySQL 客户端请进入到 [MySQL Community Downloads](https://dev.mysql.com/downloads/mysql/) 页面下载:
282282

@@ -285,9 +285,9 @@ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:nightly-commi
285285

286286
安装完成后,按照<a href="https://dev.mysql.com/doc/refman/8.0/en/installing.html" target="_blank">Installing and Upgrading MySQL</a>指导,配置 MySQL 客户端环境变量。
287287

288-
2. 连接MatrixOne服务
288+
2. 连接 MatrixOne 服务
289289

290-
你按照上述步骤完成安装启动 MatrixOne,默认在启动模式下,产生很多日志,接下来你可以启动新的终端,使用MySQL命令行客户端来连接MatrixOne服务
290+
你按照上述步骤完成安装启动 MatrixOne,默认在启动模式下,产生很多日志,接下来你可以启动新的终端,使用 MySQL 命令行客户端来连接 MatrixOne 服务
291291

292292
```
293293
mysql -h IP -P PORT -uUsername -p
@@ -304,11 +304,11 @@ mysql -h IP -P PORT -uUsername -p
304304
mysql -h 127.0.0.1 -P 6001 -udump -p
305305
Enter password:
306306
```
307-
目前,MatrixOne只支持TCP监听
307+
目前,MatrixOne 只支持 TCP 监听
308308

309309
## 🙌 <a id="contributing">参与贡献</a>
310310

311-
欢迎大家对MatrixOne的贡献
311+
欢迎大家对 MatrixOne 的贡献
312312
请查看[贡献指南](https://docs.matrixorigin.io/cn/0.6.0/MatrixOne/Contribution-Guide/make-your-first-contribution/)来了解有关提交补丁和完成整个贡献流程的详细信息。
313313

314314
### 👏贡献者们

docs/rfcs/20220503_tae_design.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -179,21 +179,21 @@ Payload = The size of payload is ($Size * 1K - 2B - 4B)
179179

180180
Suppose the `MinPartSize` is `4`, which stands for `4K`. It starts with an empty segment (No Parts). Now we do the following in sequence
181181

182-
1. Append a block (Block0) of 3 columnsand the compressed sizes of the three columns are 3.4K, 7.1K, and 2.5K.
182+
1. Append a block (Block0) of 3 columns, and the compressed sizes of the three columns are 3.4K, 7.1K, and 2.5K.
183183
```
184-
1Calculate an optimal size for each column:4K,8K and 4K
185-
2Find unused candidate parts. Not found here.
184+
1) Calculate an optimal size for each column: 4K, 8K and 4K
185+
2) Find unused candidate parts. Not found here.
186186
3) Allocate new parts for these 3 columns
187187
4) Flush these 3 columns to the specified part
188188
5) Flush meta
189189
```
190190

191191
<img src="https://user-images.githubusercontent.com/39627130/158206129-09394ea4-4a24-4c7a-a167-bf61aa6113a7.png" height="100%" width="100%" />
192192

193-
2. Append a block (Block1) of 3 columnsand the compressed sizes of the three columns are 11.3K, 7.8K, and 3.5K.
193+
2. Append a block (Block1) of 3 columns, and the compressed sizes of the three columns are 11.3K, 7.8K, and 3.5K.
194194
```
195-
1Calculate an optimal size for each column12K8K and 4K
196-
2Find unused candidate parts. Not found here.
195+
1) Calculate an optimal size for each column: 12K, 8K and 4K
196+
2) Find unused candidate parts. Not found here.
197197
3) Allocate new parts for these 3 columns
198198
4) Flush these 3 columns to the specified new parts
199199
5) Flush meta
@@ -202,8 +202,8 @@ Suppose the `MinPartSize` is `4`, which stands for `4K`. It starts with an empty
202202

203203
3. There are some updates to the 3rd column of Block0, which is marked as `Block0-2`. Now we start to checkpoint the updates into segment file. The compressed size of the updated `Block0-2` is 7.3K.
204204
```
205-
1Calculate an optimal size8K
206-
2Find unused candidate parts. Not found here.
205+
1) Calculate an optimal size: 8K
206+
2) Find unused candidate parts. Not found here.
207207
3) Allocate a new part
208208
4) Flush to the specified new part
209209
5) Flush meta
@@ -213,18 +213,18 @@ Suppose the `MinPartSize` is `4`, which stands for `4K`. It starts with an empty
213213

214214
4. There are some updates to the first column of Block1, which is marked as `Block1-0`. Now we start to checkpoint the updates into segment file. The compressed size of the updated `Block1-0` is 3.6K.
215215
```
216-
1Calculate an optimal size4K
217-
2Find unused candidate parts. Unused Part(3, 1) found
216+
1) Calculate an optimal size: 4K
217+
2) Find unused candidate parts. Unused Part(3, 1) found
218218
3) Flush to the specified unused part
219219
4) Flush meta
220220
```
221221

222222
![image](https://user-images.githubusercontent.com/39627130/158209321-59404617-fa1b-4ac8-aecf-9f30ecffa200.png)
223223

224-
5. Append a block (Block2) of 3 columnsand the compressed sizes of the three columns are 2.8K, 3.1K, and 3.7K.
224+
5. Append a block (Block2) of 3 columns, and the compressed sizes of the three columns are 2.8K, 3.1K, and 3.7K.
225225
```
226-
1Calculate an optimal size for each column:4K,4K and 4K
227-
2Find unused candidate parts. Unused Part(4, 1), Part(5, 1), Part(6, 1) found
226+
1) Calculate an optimal size for each column: 4K, 4K and 4K
227+
2) Find unused candidate parts. Unused Part(4, 1), Part(5, 1), Part(6, 1) found
228228
3) Flush these 3 columns to the specified unused parts
229229
4) Flush meta
230230
```
@@ -595,7 +595,7 @@ Txn Local Storage
595595

596596
#### UPDATE & DELETE
597597
##### UPDATE & DELETE INSERTED DATA
598-
If any deletes applied to the batch in the transaction local storea bitmap for deletion is created. Any update will be transfer to a delete and insert.
598+
If any deletes applied to the batch in the transaction local store, a bitmap for deletion is created. Any update will be transfer to a delete and insert.
599599

600600
##### UPDATE & DELETE COMMITTED DATA
601601
A delete history will be create for blocks with any **DELETE** operation.
@@ -634,7 +634,7 @@ A transaction usually contains multiple **DDL** and **DML** statements. As menti
634634
All **DDL** operations correspond to **Catalog** **DML** operations, see the [corresponding chapter](#Catalog) for details.
635635

636636
### Commit
637-
As mentioned earlierthe data of a transaction is grouped by table, and each group of data is a combination of the following data types
637+
As mentioned earlier, the data of a transaction is grouped by table, and each group of data is a combination of the following data types
638638
- <img src="https://latex.codecogs.com/svg.image?Batch_{}^{i}" title="Batch_{}^{i}" />. The i-th uncommitted batch
639639
- <img src="https://latex.codecogs.com/svg.image?Bitmap_{}^{i}" title="Bitmap_{}^{i}" />. The delete bitmap of <img src="https://latex.codecogs.com/svg.image?Batch_{}^{i}" title="Batch_{}^{i}" />
640640
- <img src="https://latex.codecogs.com/svg.image?DeleteNode_{blk}" title="DeleteNode_{blk}" />. The delete node of a committed block.

0 commit comments

Comments
 (0)