Skip to content

Commit

Permalink
update version to 1.2.0 (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangj1211 authored May 20, 2024
1 parent e5949b5 commit 59977c0
Show file tree
Hide file tree
Showing 24 changed files with 102 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

### 建设情况

目前,MatrixOne v1.1.3 已经发布了,您可以通过[版本发布指南](./../../Release-Notes/v1.1.3.md)来了解最新的发布信息,其中包含了最新的修改与优化。
目前,MatrixOne v1.2.0 已经发布了,您可以通过[版本发布指南](./../../Release-Notes/v1.2.0.md)来了解最新的发布信息,其中包含了最新的修改与优化。

关于长期的项目规划,请参阅 [MatrixOne Roadmap](https://github.com/matrixorigin/matrixone/issues/613)

Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Deploy/update-MatrixOne-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
root@master0 ~]# mysql -h $(kubectl get svc/mo-tp-cn -n mo-hn -o jsonpath='{.spec.clusterIP}') -P 6001 -uroot -p111
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 1005
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Apache Flink 是一个强大的框架和分布式处理引擎,专注于进行

本次实践需要安装部署以下软件环境:

- 完成[单机部署 MatrixOne](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Get-Started/install-standalone-matrixone/)
- 完成[单机部署 MatrixOne](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Get-Started/install-standalone-matrixone/)
- 下载安装 [lntelliJ IDEA(2022.2.1 or later version)](https://www.jetbrains.com/idea/download/)
- 根据你的系统环境选择 [JDK 8+ version](https://www.oracle.com/sg/java/technologies/javase/javase8-archive-downloads.html) 版本进行下载安装。
- 下载并安装 [Kafka](https://archive.apache.org/dist/kafka/3.5.0/kafka_2.13-3.5.0.tgz),推荐版本为 2.13 - 3.5.0。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Apache Spark 是一个为高效处理大规模数据而设计的分布式计算

本次实践需要安装部署以下软件环境:

- 已完成[安装和启动 MatrixOne](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Get-Started/install-standalone-matrixone/)
- 已完成[安装和启动 MatrixOne](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Get-Started/install-standalone-matrixone/)
- 下载并安装 [IntelliJ IDEA version 2022.2.1 及以上](https://www.jetbrains.com/idea/download/)
- 下载并安装 [JDK 8+](https://www.oracle.com/sg/java/technologies/javase/javase8-archive-downloads.html)
- 如需从 Hive 导入数据,需要安装 [Hadoop](http://archive.apache.org/dist/hadoop/core/hadoop-3.1.4/)[Hive](https://dlcdn.apache.org/hive/hive-3.1.3/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export SEATNUNNEL_HOME="/root/seatunnel"
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
```

2. 使用 [mo_ctl](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Maintain/mo_ctl/) 工具将 MySQL 的 DDL 语句直接导入至 MatrixOne。执行以下命令:
2. 使用 [mo_ctl](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Maintain/mo_ctl/) 工具将 MySQL 的 DDL 语句直接导入至 MatrixOne。执行以下命令:

```shell
mo_ctl sql /root/mysql.sql
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
Current pager: stdout
Using outfile: ''
Using delimiter: ;
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne
Protocol version: 10
Connection: 127.0.0.1 via TCP/IP
Client characterset: utf8mb4
Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Develop/connect-mo/database-client-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ MatrixOne 现在支持通过以下几种数据库客户端工具的方式连接
```
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1031
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne
Copyright (c) 2000, 2022, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ PyMySQL 是一个纯 Python MySQL 客户端库。
```
> python3 pymysql_connect_matrixone.py
Database version : 8.0.30-MatrixOne-v1.1.3
Database version : 8.0.30-MatrixOne-v1.2.0
```
## 使用 sqlalchemy 连接 MatrixOne
Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ __Note__: *csv*(逗号分隔值)文件是一种特殊的文件类型,可
3. 使用 Docker 启动 MatrixOne,启动时将存放了数据文件的目录 *~/tmp/docker_loaddata_demo/* 挂载到容器的某个目录下,这里容器目录以 */ssb-dbgen-path* 为例:
```
sudo docker run --name matrixone --privileged -d -p 6001:6001 -v ~/tmp/docker_loaddata_demo/:/ssb-dbgen-path:rw matrixorigin/matrixone:1.1.3
sudo docker run --name matrixone --privileged -d -p 6001:6001 -v ~/tmp/docker_loaddata_demo/:/ssb-dbgen-path:rw matrixorigin/matrixone:1.2.0
```
4. 连接 MatrixOne 服务:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ select * from tool;

## 限制说明

MatrixOne 1.1.3 版本已经支持 MySQL 的建表语句,因此可以顺畅地将 MySQL 表迁移到 MatrixOne 上。不过需要注意,在迁移过程中,不兼容 MySQL 部分关键字,如 `engine=` 等,在 MatrixOne 中会被自动忽略,也不会影响表结构的迁移。
MatrixOne 1.2.0 版本已经支持 MySQL 的建表语句,因此可以顺畅地将 MySQL 表迁移到 MatrixOne 上。不过需要注意,在迁移过程中,不兼容 MySQL 部分关键字,如 `engine=` 等,在 MatrixOne 中会被自动忽略,也不会影响表结构的迁移。

但需要特别注意的是,尽管 MatrixOne 支持 MySQL 建表语句,如果迁移的表中包含不兼容的数据类型、触发器、函数或存储过程,仍需要手动修改。更多详细的兼容性信息,参见 [MySQL 兼容性](../../../Overview/feature/mysql-compatibility.md)
2 changes: 1 addition & 1 deletion docs/MatrixOne/FAQs/product-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ MatrixOne 0.8.0 及以上版本皆可使用 `mo_ctl upgrade latest` 从低版本

**现在 MatrixOne 发稳定版了吗?推荐使用哪个版本?**

MatrixOne 现已发布 1.1.3 版本,在稳定性上我们做了大量的优化工作,已经可以用于生产业务,欢迎大家试用反馈。
MatrixOne 现已发布 1.2.0 版本,在稳定性上我们做了大量的优化工作,已经可以用于生产业务,欢迎大家试用反馈。

**有没有 MatrixOne 云版本?想快速测试看看**

Expand Down
2 changes: 1 addition & 1 deletion docs/MatrixOne/FAQs/sql-faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ MatrixOne 支持与 MySQL 相同的 [`INSERT`](../Develop/import-data/insert-dat
**MatrixOne 支持从 Minio 导入数据吗?**

是支持的,load data 命令支持从本地文件、S3 对象存储服务以及 S3 兼容的对象存储服务中导入数据到 matrixone 中,
而 Minio 也是基于 S3 协议的,所以也是支持的,详情参见[本地对象存储导入数据](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Deploy/import-data-from-minio-to-mo/)
而 Minio 也是基于 S3 协议的,所以也是支持的,详情参见[本地对象存储导入数据](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Deploy/import-data-from-minio-to-mo/)

**MatrixOne 导入导出数据时,如果出现编码问题,导致数据乱码,我们一般是怎么解决的**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ GCC_VERSION="8.5.0"
CLANG_VERSION="13.0"
GO_VERSION="1.20"
MO_GIT_URL="https://github.com/matrixorigin/matrixone.git"
MO_DEFAULT_VERSION="v1.1.3"
MO_DEFAULT_VERSION="v1.2.0"
GOPROXY="https://goproxy.cn,direct"
STOP_INTERVAL="5"
START_INTERVAL="2"
Expand All @@ -212,7 +212,7 @@ PPROF_PROFILE_DURATION="30"
```
mo_ctl set_conf MO_PATH="yourpath" # 设置自定义的MatrixOne下载路径
mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" #针对github原地址下载过慢问题,设置镜像下载地址
mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # 设置所下载的MatrixOne版本
mo_ctl set_conf MO_DEFAULT_VERSION="v1.2.0" # 设置所下载的MatrixOne版本
mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码部署方式
```
Expand All @@ -231,7 +231,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=git #设置MatrixOne部署方式,此为源码
=== "通过 MatrixOne (稳定版本) 代码安装"
```
mo_ctl deploy v1.1.3
mo_ctl deploy v1.2.0
```
## 步骤 4:启动 MatrixOne 服务
Expand Down Expand Up @@ -268,7 +268,7 @@ root@VM-16-2-debian:~# mo_ctl connect
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 15
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,48 +94,48 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续
x86 架构系统安装包:
```bash
wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip
unzip mo-v1.1.3-linux-x86_64.zip
wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-x86_64.zip
unzip mo-v1.2.0-linux-x86_64.zip
```
ARM 架构系统安装包:
```bash
wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip
unzip mo-v1.1.3-linux-arm64.zip
wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-arm64.zip
unzip mo-v1.2.0-linux-arm64.zip
```
如 github 原地址下载过慢,您可尝试从以下地址下载镜像包:
```
wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-xxx.zip
wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-xxx.zip
```
=== "**下载方式二:`curl` 工具下载二进制包**"
x86 架构系统安装包:
```bash
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip
unzip mo-v1.1.3-linux-x86_64.zip
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-x86_64.zip
unzip mo-v1.2.--linux-x86_64.zip
```
ARM 架构系统安装包:
```bash
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip
unzip mo-v1.1.3-linux-arm64.zip
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-arm64.zip
unzip mo-v1.2.0-linux-arm64.zip
```
如 github 原地址下载过慢,您可尝试从以下地址下载镜像包:
```
curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-xxx.zip
curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-linux-xxx.zip
```
=== "**下载方式三:页面下载**"
如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3),下拉找到 **Assets** 栏,点击安装包 *mo-v1.1.3-linux-x86_64.zip* 或者 *mo-v1.1.3-linux-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。
如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0),下拉找到 **Assets** 栏,点击安装包 *mo-v1.2.0-linux-x86_64.zip* 或者 *mo-v1.2.0-linux-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。
### 基于 musl libc 构建的二进制包
Expand All @@ -144,47 +144,47 @@ __Tips__: 建议你下载安装这两个下载工具其中之一,方便后续
x86 架构系统安装包:
```bash
wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-x86_64.zip
unzip mo-v1.1.3-musl-x86_64.zip
wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-x86_64.zip
unzip mo-v1.2.0-musl-x86_64.zip
```
ARM 架构系统安装包:
```bash
wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-arm64.zip
unzip mo-v1.1.3-musl-arm64.zip
wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-arm64.zip
unzip mo-v1.2.0-musl-arm64.zip
```
如 github 原地址下载过慢,您可尝试从以下地址下载镜像包:
```
wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-xxx.zip
wget https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-xxx.zip
```
=== "**下载方式二:`curl` 工具下载二进制包**"
x86 架构系统安装包:
```bash
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-x86_64.zip
unzip mo-v1.1.3-musl-x86_64.zip
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-x86_64.zip
unzip mo-v1.2.0-musl-x86_64.zip
```
ARM 架构系统安装包:
```bash
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-arm64.zip
unzip mo-v1.1.3-musl-arm64.zip
curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-arm64.zip
unzip mo-v1.2.0-musl-arm64.zip
```
如 github 原地址下载过慢,您可尝试从以下地址下载镜像包:
```
curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-musl-xxx.zip
curl -OL https://githubfast.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-musl-xxx.zip
```
=== "**下载方式三:页面下载**"
如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3),下拉找到 **Assets** 栏,点击安装包 *mo-v1.1.3-musl-x86_64.zip* 或者 *mo-v1.1.3-musl-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。
如果你想通过更直观的页面下载的方式下载,直接点击进入[版本 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0),下拉找到 **Assets** 栏,点击安装包 *mo-v1.2.0-musl-x86_64.zip* 或者 *mo-v1.2.0-musl-arm64.zip* 下载再使用 ```unzip``` 命令解压即可。
## 步骤 3:安装 mo_ctl 工具
Expand All @@ -203,26 +203,26 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta
通过以下命令调整参数:
```
mo_ctl set_conf MO_PATH="/yourpath/mo-v1.1.3-xx-xx" #设置MatrixOne路径为二进制解压文件目录
mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.1.3-xx-xx/etc/launch/launch.toml" #设置MatrixOne配置文件路径
mo_ctl set_conf MO_PATH="/yourpath/mo-v1.2.0-xx-xx" #设置MatrixOne路径为二进制解压文件目录
mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.2.0-xx-xx/etc/launch/launch.toml" #设置MatrixOne配置文件路径
mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二进制部署方式
```
## 步骤 4:启动 MatrixOne 服务
通过 `mo_ctl start` 命令一键启动 MatrixOne 服务。
如果运行正常将出现以下日志。MatrixOne 的相关运行日志会在 `/yourpath/mo-v1.1.3-xx-xx/matrixone/logs/` 中。
如果运行正常将出现以下日志。MatrixOne 的相关运行日志会在 `/yourpath/mo-v1.2.0-xx-xx/matrixone/logs/` 中。
```
> mo_ctl start
2024-03-07 14:34:04.942 UTC+0800 [INFO] No mo-service is running
2024-03-07 14:34:04.998 UTC+0800 [INFO] Get conf succeeded: MO_DEPLOY_MODE="binary"
2024-03-07 14:34:05.024 UTC+0800 [INFO] GO memory limit(Mi): 14745
2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.1.3-linux-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.1.3-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-linux-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.1.3-linux-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.1.3-linux-arm64/matrixone/logs/stderr-20240307_143405.log
2024-03-07 14:34:05.072 UTC+0800 [INFO] Starting mo-service: cd /Users/admin/mo-v1.2.0-linux-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.2.0-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-linux-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.2.0-linux-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.2.0-linux-arm64/matrixone/logs/stderr-20240307_143405.log
2024-03-07 14:34:05.137 UTC+0800 [INFO] Wait for 2 seconds
2024-03-07 14:34:07.261 UTC+0800 [INFO] At least one mo-service is running. Process info:
501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.1.3-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-linux-arm64/etc/launch/launch.toml
501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.2.0-linux-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-linux-arm64/etc/launch/launch.toml
2024-03-07 14:34:07.284 UTC+0800 [INFO] List of pid(s):
27145
2024-03-07 14:34:07.308 UTC+0800 [INFO] Start succeeded
Expand All @@ -243,7 +243,7 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #设置MatrixOne部署方式,此为二
2024-03-07 14:34:59.942 UTC+0800 [INFO] Ok, connecting for user ...
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 426
Server version: 8.0.30-MatrixOne-v1.1.3 MatrixOne
Server version: 8.0.30-MatrixOne-v1.2.0 MatrixOne

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Expand Down
Loading

0 comments on commit 59977c0

Please sign in to comment.