diff --git a/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md b/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md index d82aad6ae..7ec5fe76f 100644 --- a/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md +++ b/docs/MatrixOne/Contribution-Guide/How-to-Contribute/preparation.md @@ -16,7 +16,7 @@ These introductions will help you go through you the key concepts and user detai ### Roadmap -MatrixOne v1.1.3 has been released, you can see [Release Notes](../../Release-Notes/v1.1.3.md) know more information. +MatrixOne v1.2.0 has been released, you can see [Release Notes](../../Release-Notes/v1.2.0.md) know more information. For the long-term project roadmap, please refer to [MatrixOne roadmap](https://github.com/matrixorigin/matrixone/issues/613) for a more general overview. diff --git a/docs/MatrixOne/Deploy/deploy-MatrixOne-cluster.md b/docs/MatrixOne/Deploy/deploy-MatrixOne-cluster.md index d5b8695af..5ad02f59a 100644 --- a/docs/MatrixOne/Deploy/deploy-MatrixOne-cluster.md +++ b/docs/MatrixOne/Deploy/deploy-MatrixOne-cluster.md @@ -648,7 +648,7 @@ mysql -h $(kubectl get svc/mo-tp-cn -n mo-hn -o jsonpath='{.spec.clusterIP}') -P 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 163 -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. diff --git a/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md b/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md index 0cd0e8a6c..7edbb6e89 100644 --- a/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md +++ b/docs/MatrixOne/Deploy/update-MatrixOne-cluster.md @@ -69,7 +69,7 @@ According to the introduction in [MatrixOne Distributed Cluster Deployment](depl 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. diff --git a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md index 39c79e7eb..58d154363 100644 --- a/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md +++ b/docs/MatrixOne/Develop/Ecological-Tools/Computing-Engine/seatunnel-write.md @@ -33,7 +33,7 @@ export SEATNUNNEL_HOME="/root/seatunnel" ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ``` -2. Use the [mo_ctl](https://docs.matrixorigin.cn/1.1.3/MatrixOne/Maintain/mo_ctl/) tool to import the MySQL DDL statements into MatrixOne directly. Execute the following command: +2. Use the [mo_ctl](https://docs.matrixorigin.cn/1.2.0/MatrixOne/Maintain/mo_ctl/) tool to import the MySQL DDL statements into MatrixOne directly. Execute the following command: ```shell mo_ctl sql /root/mysql.sql diff --git a/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md b/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md index f06ea65b7..8d4c8e452 100644 --- a/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md +++ b/docs/MatrixOne/Develop/connect-mo/configure-mo-ssl-connection.md @@ -83,7 +83,7 @@ To test the SSL configuration, perform the following steps: 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 diff --git a/docs/MatrixOne/Develop/connect-mo/database-client-tools.md b/docs/MatrixOne/Develop/connect-mo/database-client-tools.md index 0c99b0bd0..9261624fc 100644 --- a/docs/MatrixOne/Develop/connect-mo/database-client-tools.md +++ b/docs/MatrixOne/Develop/connect-mo/database-client-tools.md @@ -41,7 +41,7 @@ Make sure you have already [installed and launched MatrixOne](../../Get-Started/ ``` 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. diff --git a/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md b/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md index 63d16decd..24fec68d6 100644 --- a/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md +++ b/docs/MatrixOne/Develop/connect-mo/python-connect-to-matrixone.md @@ -69,7 +69,7 @@ The PyMySQL is a pure-Python MySQL client library. ``` > python3 pymysql_connect_matrixone.py - Database version : 8.0.30-MatrixOne-v1.1.3 + Database version : 8.0.30-MatrixOne-v1.2.0 ``` ## Using sqlalchemy connect to MatrixOne diff --git a/docs/MatrixOne/Develop/export-data/select-into-outfile.md b/docs/MatrixOne/Develop/export-data/select-into-outfile.md index 73275405c..577a8fda5 100644 --- a/docs/MatrixOne/Develop/export-data/select-into-outfile.md +++ b/docs/MatrixOne/Develop/export-data/select-into-outfile.md @@ -43,7 +43,7 @@ Make sure you have already [Deployed standalone MatrixOne](../../Get-Started/ins If you install MatrixOne by `docker`, the directory is inside the docker image by default. To work with local directory, you need to bind a local directory to the container. In the following example, the local file system path `${local_data_path}/mo-data` is binded to the MatrixOne docker image, with a mapping to the `/mo-data` path. For more information, see [Docker Mount Volume tutorial](https://www.freecodecamp.org/news/docker-mount-volume-guide-how-to-mount-a-local-directory/). ``` -sudo docker run --name --privileged -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.1.3 +sudo docker run --name --privileged -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.2.0 ``` ### Steps diff --git a/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md b/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md index dc69bc959..c82ff68c2 100644 --- a/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md +++ b/docs/MatrixOne/Develop/import-data/bulk-load/load-csv.md @@ -96,7 +96,7 @@ __Note__: A `csv`(comma-separated values) file is a delimited text file that use ### Example using `Load data` with `docker` version If you install MatrixOne by `docker`, the file system is inside the docker image by default. To work with local directory, you need to bind a local directory to the container. In the following example, the local file system path `~/tmp/docker_loaddata_demo/` is binded to the MatrixOne docker image, with a mapping to the `/ssb-dbgen-path` path inside the docker. -We will walk you through the whole process of loading data with MatrixOne 1.1.3 docker version in this example. +We will walk you through the whole process of loading data with MatrixOne 1.2.0 docker version in this example. 1. Download the dataset file and store the data in *~/tmp/docker_loaddata_demo/*: @@ -114,7 +114,7 @@ We will walk you through the whole process of loading data with MatrixOne 1.1.3 3. Use Docker to launch MatrixOne, and mount the directory *~/tmp/docker_loaddata_demo/* that stores data files to a directory in the container. The container directory is */sb-dbgen-path* as an example: ``` - 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. Connect to MatrixOne server: diff --git a/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md b/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md index 5cb8399c8..0d8e587bf 100644 --- a/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md +++ b/docs/MatrixOne/Develop/import-data/bulk-load/using-source.md @@ -66,6 +66,6 @@ select * from tool; ## Constraints -MatrixOne 1.1.3 version already supports MySQL table creation statements, so you can smoothly migrate MySQL tables to MatrixOne. However, it should be noted that during the migration process, some keywords incompatible with MySQL, such as `engine=`, will be automatically ignored in MatrixOne and will not affect the migration of the table structure. +MatrixOne 1.2.0 version already supports MySQL table creation statements, so you can smoothly migrate MySQL tables to MatrixOne. However, it should be noted that during the migration process, some keywords incompatible with MySQL, such as `engine=`, will be automatically ignored in MatrixOne and will not affect the migration of the table structure. However, it should be noted that although MatrixOne supports MySQL table creation statements, manual modification is still required if the migrated table contains incompatible data types, triggers, functions, or stored procedures. For more detailed compatibility information, see [MySQL Compatibility](../../../Overview/feature/mysql-compatibility.md). diff --git a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md index 506edc52f..407c95441 100644 --- a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md +++ b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method1.md @@ -184,7 +184,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" @@ -200,7 +200,7 @@ Generally, the parameters that need to be adjusted are as follows: ```` mo_ctl set_conf MO_PATH="yourpath" # Set custom MatrixOne download path mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" # For the problem of slow downloading from the original GitHub address, set image download address -mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # Set the version of MatrixOne downloaded +mo_ctl set_conf MO_DEFAULT_VERSION="v1.2.0" # Set the version of MatrixOne downloaded mo_ctl set_conf MO_DEPLOY_MODE=git # Deployment Configuration ```` @@ -219,7 +219,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o === "Get the MatrixOne(Stable Version) code to build" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` ## Step 4: Launch MatrixOne server @@ -256,7 +256,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. diff --git a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md index c448a2491..57979deb1 100644 --- a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md +++ b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method2.md @@ -96,16 +96,16 @@ The Debian11.1 version does not have MySQL Client installed by default, so it ne ```bash mkdir -p /root/matrixone & cd /root/ - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip - unzip -d matrixone/ 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 -d matrixone/ mo-v1.2.0-linux-x86_64.zip ``` Binary for ARM architecture system: ```bash mkdir -p /root/matrixone & cd /root/ - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip - unzip -d matrixone/ 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 -d matrixone/ mo-v1.2.0-linux-arm64.zip ``` === "**Downloading method 2: Using `curl` to install binary packages**" @@ -114,21 +114,21 @@ The Debian11.1 version does not have MySQL Client installed by default, so it ne ```bash mkdir -p /root/matrixone & cd /root/ - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-x86_64.zip - unzip -d matrixone/ 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 -d matrixone/ mo-v1.2.0-linux-x86_64.zip ``` Binary for ARM architecture system: ```bash mkdir -p /root/matrixone & cd /root/ - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-linux-arm64.zip - unzip -d matrixone/ 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 -d matrixone/ mo-v1.2.0-linux-arm64.zip ``` === "**Downloading method 3: Go to the page and download**" - If you want a more intuitive way to download the page, go to the [version 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3), pull down to find the **Assets** column, and click the installation package *mo-v1.1.3-linux-x86_64.zip* or *mo-v1.1.3-linux-arm64.zip* can be downloaded. + If you want a more intuitive way to download the page, go to the [version 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0), pull down to find the **Assets** column, and click the installation package *mo-v1.2.0-linux-x86_64.zip* or *mo-v1.2.0-linux-arm64.zip* can be downloaded. ## Step 3: Install the mo_ctl tool @@ -147,8 +147,8 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta The parameters that need to be adjusted are as follows: ```` -mo_ctl set_conf MO_PATH="/yourpath/mo-v1.1.3-xx-xx" # Set the MO_PATH to the directory where the binary files are extracted -mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.1.3-xx-xx/etc/launch/launch.toml" # Set the MO_CONF_FILE path +mo_ctl set_conf MO_PATH="/yourpath/mo-v1.2.0-xx-xx" # Set the MO_PATH to the directory where the binary files are extracted +mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.2.0-xx-xx/etc/launch/launch.toml" # Set the MO_CONF_FILE path mo_ctl set_conf MO_DEPLOY_MODE=binary #Deployment Configuration ```` @@ -156,17 +156,17 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #Deployment Configuration Launch the MatrixOne service through the `mo_ctl start` command. -If the operation is regular, the following log will appear. The relevant operation logs of MatrixOne will be in `/yourpath/mo-v1.1.3-xx-xx/matrixone/logs/`. +If the operation is regular, the following log will appear. The relevant operation logs of MatrixOne will be in `/yourpath/mo-v1.2.0-xx-xx/matrixone/logs/`. ``` root@VM-16-2-debian:~# 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 @@ -188,7 +188,7 @@ root@VM-16-2-debian:~# mo_ctl connect 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. diff --git a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md index 3a9ee2ce7..838ac5e4a 100644 --- a/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md +++ b/docs/MatrixOne/Get-Started/install-on-linux/install-on-linux-method3.md @@ -67,18 +67,18 @@ Create and run the container of MatrixOne It will pull the image from Docker Hub if not exists. You can choose to pull the stable version image or the develop version image. -=== "Stable Version Image(1.1.3 version)" +=== "Stable Version Image(1.2.0 version)" ```bash - docker pull matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.1.3 + docker pull matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.2.0 ``` If you are using the network in mainland China, you can pull the MatrixOne stable version image on Alibaba Cloud: ```bash - docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 + docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 ``` === "Develop Version Image" @@ -102,7 +102,7 @@ It will pull the image from Docker Hub if not exists. You can choose to pull the If your Docker version is lower than 20.10.18 or the Docker client and server versions are inconsistent, upgrading to the latest stable version before attempting is recommended. If you choose to proceed with the current versions, you need to add the parameter `--privileged=true` to the `docker run` command, as shown below: ```bash -docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3 +docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0 ``` !!! note @@ -160,7 +160,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o === "Get the MatrixOne(Stable Version) code to build" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` - Launch MatrixOne server @@ -198,7 +198,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. diff --git a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md index c5ca8ae16..f5badf7bd 100644 --- a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md +++ b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method1.md @@ -170,7 +170,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" @@ -186,7 +186,7 @@ Generally, the parameters that need to be adjusted are as follows: ```` mo_ctl set_conf MO_PATH="yourpath" # Set custom MatrixOne download path mo_ctl set_conf MO_GIT_URL="https://githubfast.com/matrixorigin/matrixone.git" # For the problem of slow downloading from the original GitHub address, set image download address -mo_ctl set_conf MO_DEFAULT_VERSION="v1.1.3" # Set the version of MatrixOne downloaded +mo_ctl set_conf MO_DEFAULT_VERSION="v" # Set the version of MatrixOne downloaded mo_ctl set_conf MO_DEPLOY_MODE=git # Deployment Configuration ```` @@ -205,7 +205,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o === "Get the MatrixOne(Stable Version) code to build" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` ## Step 4: Launch MatrixOne server @@ -242,7 +242,7 @@ This command will invoke the MySQL Client tool to connect to the MatrixOne servi 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. diff --git a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md index 029993cb6..bcd55d14b 100644 --- a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md +++ b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method2.md @@ -98,16 +98,16 @@ __Tips__: It is recommended that you download and install one of these two tools ```bash mkdir -p /User/username/mo/matrixone & cd /User/username/mo - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-x86_64.zip - unzip -d matrixone/ mo-v1.1.3-darwin-x86_64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-x86_64.zip + unzip -d matrixone/ mo-v1.2.0-darwin-x86_64.zip ``` Binary for ARM architecture system: ```bash mkdir -p /User/username/mo/matrixone & cd /User/username/mo - wget https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-arm64.zip - unzip -d matrixone/ mo-v1.1.3-darwin-arm64.zip + wget https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-arm64.zip + unzip -d matrixone/ mo-v1.2.0-darwin-arm64.zip ``` === "**Downloading method 2: Using `curl` to install binary packages**" @@ -116,21 +116,21 @@ __Tips__: It is recommended that you download and install one of these two tools ```bash mkdir -p /User/username/mo/matrixone & cd /User/username/mo - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-x86_64.zip - unzip -d matrixone/ mo-v1.1.3-darwin-x86_64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-x86_64.zip + unzip -d matrixone/ mo-v1.2.0-darwin-x86_64.zip ``` Binary for ARM architecture system: ```bash mkdir -p /User/username/mo/matrixone & cd /User/username/mo - curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.1.3/mo-v1.1.3-darwin-arm64.zip - unzip -d matrixone/ mo-v1.1.3-darwin-arm64.zip + curl -OL https://github.com/matrixorigin/matrixone/releases/download/v1.2.0/mo-v1.2.0-darwin-arm64.zip + unzip -d matrixone/ mo-v1.2.0-darwin-arm64.zip ``` === "**Downloading method 3: Go to the page and download**" - If you want a more intuitive way to download the page, go to the [version 1.1.3](https://github.com/matrixorigin/matrixone/releases/tag/v1.1.3), pull down to find the **Assets** column, and click the installation package *mo-v1.1.3-darwin-x86_64.zip* or *mo-v1.1.3-darwin-arm64.zip* can be downloaded. + If you want a more intuitive way to download the page, go to the [version 1.2.0](https://github.com/matrixorigin/matrixone/releases/tag/v1.2.0), pull down to find the **Assets** column, and click the installation package *mo-v1.2.0-darwin-x86_64.zip* or *mo-v1.2.0-darwin-arm64.zip* can be downloaded. ## Step 3: Install the mo_ctl tool @@ -149,8 +149,8 @@ wget https://raw.githubusercontent.com/matrixorigin/mo_ctl_standalone/main/insta The parameters that need to be adjusted are as follows: ```` -mo_ctl set_conf MO_PATH="/yourpath/mo-v1.1.3-xx-xx" # Set the MO_PATH to the directory where the binary files are extracted -mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.1.3-xx-xx/etc/launch/launch.toml" # Set the MO_CONF_FILE path +mo_ctl set_conf MO_PATH="/yourpath/mo-v1.2.0-xx-xx" # Set the MO_PATH to the directory where the binary files are extracted +mo_ctl set_conf MO_CONF_FILE="/yourpath/mo-v1.2.0-xx-xx/etc/launch/launch.toml" # Set the MO_CONF_FILE path mo_ctl set_conf MO_DEPLOY_MODE=binary #Deployment Configuration ```` @@ -158,17 +158,17 @@ mo_ctl set_conf MO_DEPLOY_MODE=binary #Deployment Configuration Launch the MatrixOne service through the `mo_ctl start` command. -If the operation is regular, the following log will appear. The relevant operation logs of MatrixOne will be in `/yourpath/mo-v1.1.3-xx-xx/matrixone/logs/ . +If the operation is regular, the following log will appear. The relevant operation logs of MatrixOne will be in `/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-darwin-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.1.3-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-darwin-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.1.3-darwin-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.1.3-darwin-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-darwin-arm64/ && GOMEMLIMIT=14745MiB /Users/admin/mo-v1.2.0-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-darwin-arm64/etc/launch/launch.toml >/Users/admin/mo-v1.2.0-darwin-arm64/matrixone/logs/stdout-20240307_143405.log 2>/Users/admin/mo-v1.2.0-darwin-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-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.1.3-darwin-arm64/etc/launch/launch.toml + 501 27145 1 0 2:34下午 ?? 0:00.18 /Users/admin/mo-v1.2.0-darwin-arm64/mo-service -daemon -debug-http :9876 -launch /Users/admin/mo-v1.2.0-darwin-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 @@ -190,7 +190,7 @@ This command will invoke the MySQL Client tool to connect to the MatrixOne servi 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. diff --git a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md index a01f38601..d386965ca 100644 --- a/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md +++ b/docs/MatrixOne/Get-Started/install-on-macos/install-on-macos-method3.md @@ -59,18 +59,18 @@ Create and run the container of MatrixOne It will pull the image from Docker Hub if not exists. You can choose to pull the stable version image or the develop version image. -=== "Stable Version Image(1.1.3 version)" +=== "Stable Version Image(1.2.0 version)" ```bash - docker pull matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.1.3 + docker pull matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:1.2.0 ``` If you are using the network in mainland China, you can pull the MatrixOne stable version image on Alibaba Cloud: ```bash - docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 - docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.1.3 + docker pull registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 + docker run -d -p 6001:6001 --name matrixone registry.cn-shanghai.aliyuncs.com/matrixorigin/matrixone:1.2.0 ``` === "Develop Version Image" @@ -94,7 +94,7 @@ It will pull the image from Docker Hub if not exists. You can choose to pull the If your Docker version is lower than 20.10.18 or the Docker client and server versions are inconsistent, upgrading to the latest stable version before attempting is recommended. If you choose to proceed with the current versions, you need to add the parameter `--privileged=true` to the `docker run` command, as shown below: ```bash -docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3 +docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0 ``` !!! note @@ -120,7 +120,7 @@ The parameters that need to be adjusted are as follows: ``` mo_ctl set_conf MO_CONTAINER_DATA_HOST_PATH="/yourpath/mo/" # Set the data directory for host -mo_ctl set_conf MO_CONTAINER_IMAGE="matrixorigin/matrixone:1.1.3" # Set image +mo_ctl set_conf MO_CONTAINER_IMAGE="matrixorigin/matrixone:1.2.0" # Set image mo_ctl set_conf MO_DEPLOY_MODE=docker # Deployment Configuration ``` @@ -152,7 +152,7 @@ Depending on your needs, choose whether you want to keep your code up to date, o === "Get the MatrixOne(Stable Version) code to build" ``` - mo_ctl deploy v1.1.3 + mo_ctl deploy v1.2.0 ``` - Launch MatrixOne server @@ -190,7 +190,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. diff --git a/docs/MatrixOne/Maintain/mo_ctl.md b/docs/MatrixOne/Maintain/mo_ctl.md index 73ba400a8..4fb73f95c 100644 --- a/docs/MatrixOne/Maintain/mo_ctl.md +++ b/docs/MatrixOne/Maintain/mo_ctl.md @@ -145,12 +145,12 @@ mo_ctl deploy help Usage : mo_ctl deploy [mo_version] [force] # deploy mo onto the path configured [mo_version]: optional, specify an mo version to deploy [force] : optional, if specified will delete all content under MO_PATH and deploy from beginning - e.g. : mo_ctl deploy # default, same as mo_ctl deploy v1.1.3 + e.g. : mo_ctl deploy # default, same as mo_ctl deploy v1.2.0 : mo_ctl deploy main # deploy development latest version : mo_ctl deploy d29764a # deploy development version d29764a - : mo_ctl deploy v1.1.3 # deploy stable verson v1.1.3 - : mo_ctl deploy force # delete all under MO_PATH and deploy verson v1.1.3 - : mo_ctl deploy v1.1.3 force # delete all under MO_PATH and deploy stable verson v1.1.3 from beginning + : mo_ctl deploy v1.2.0 # deploy stable verson v1.2.0 + : mo_ctl deploy force # delete all under MO_PATH and deploy verson v1.2.0 + : mo_ctl deploy v1.2.0 force # delete all under MO_PATH and deploy stable verson v1.2.0 from beginning ``` ### start - launch MatrixOne @@ -283,7 +283,7 @@ Using `mo_ctl get_conf` will print a list of all the parameters used by the curr | GCC_VERSION | gcc version to be checked in precheck | Default: 8.5.0 | | GO_VERSION | go version to be checked in precheck | Default: 1.20 | | MO_GIT_URL | Repository URL for fetching MatrixOne source code | Default: | -| MO_DEFAULT_VERSION | Default version of MatrixOne to be fetched | Default: v1.1.3 | +| MO_DEFAULT_VERSION | Default version of MatrixOne to be fetched | Default: v1.2.0 | | GOPROXY | Address of GOPROXY used for faster dependency retrieval in China | Default: , direct | | STOP_INTERVAL | Interval to wait for service status check after stopping the service | Default: 5 seconds | | START_INTERVAL | Interval to wait for service status check after starting the service | Default: 2 seconds | @@ -336,11 +336,11 @@ Use `mo_ctl upgrade version` or `mo_ctl upgrade commitid` to upgrade or downgrad ``` mo_ctl upgrade help Usage : mo_ctl upgrade [version_commitid] # upgrade or downgrade mo from current version to a target commit id or stable version - [commitid] : a commit id such as '38888f7', or a stable version such as 'v1.1.3' + [commitid] : a commit id such as '38888f7', or a stable version such as 'v1.2.0' : use 'latest' to upgrade to latest commit on main branch if you don't know the id e.g. : mo_ctl upgrade 38888f7 # upgrade/downgrade to commit id 38888f7 on main branch : mo_ctl upgrade latest # upgrade/downgrade to latest commit on main branch - : mo_ctl upgrade v1.1.3 # upgrade/downgrade to stable version v1.1.3 + : mo_ctl upgrade v1.2.0 # upgrade/downgrade to stable version v1.2.0 ``` ### watchdog - Keep Alive MatrixOne diff --git a/docs/MatrixOne/Maintain/mount-data-by-docker.md b/docs/MatrixOne/Maintain/mount-data-by-docker.md index d3808a7d2..c718391cc 100644 --- a/docs/MatrixOne/Maintain/mount-data-by-docker.md +++ b/docs/MatrixOne/Maintain/mount-data-by-docker.md @@ -24,7 +24,7 @@ To ensure the safety of the data directory, mount the local data directory to th 3. Mount the local **empty directory** to the Docker container directory */mo-data*, execute the following command: ```shell - sudo docker run --name --privileged -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.1.3 + sudo docker run --name --privileged -d -p 6001:6001 -v ${local_data_path}/mo-data:/mo-data:rw matrixorigin/matrixone:1.2.0 ``` | Parameters | Description | @@ -44,7 +44,7 @@ If you need to modify the configuration file. In that case, it would be best to 2. To launch MatrixOne MatrixOne has not been running in Docker, execute the following command: ``` - docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.1.3 + docker run -d -p 6001:6001 --name matrixone --privileged=true matrixorigin/matrixone:1.2.0 ``` 3. Check the containerID that MatrixOne has been running in Docker, and copy the configuration file directory to the local directory: @@ -66,7 +66,7 @@ If you need to modify the configuration file. In that case, it would be best to 6. Mount the configuration file to the Docker container directory and launch MatrixOne. Execute the following command: ```shell - sudo docker run --name --privileged -d -p 6001:6001 -v ${local_config_path}/etc:/etc:rw --entrypoint "/mo-service" matrixorigin/matrixone:1.1.3 -launch /etc/launch/launch.toml + sudo docker run --name --privileged -d -p 6001:6001 -v ${local_config_path}/etc:/etc:rw --entrypoint "/mo-service" matrixorigin/matrixone:1.2.0 -launch /etc/launch/launch.toml ``` | Parameters | Description | diff --git a/docs/MatrixOne/Overview/whats-new.md b/docs/MatrixOne/Overview/whats-new.md index 7c916bac9..215f50cd8 100644 --- a/docs/MatrixOne/Overview/whats-new.md +++ b/docs/MatrixOne/Overview/whats-new.md @@ -1,5 +1,5 @@ # **What's New** -The lastest version of MatrixOne is 1.1.3, releases on 16th Apr, 2024. See the following: +The lastest version of MatrixOne is 1.2.0, releases on 20th May, 2024. See the following: -* [v1.1.3 Release Notes](../Release-Notes/v1.1.3.md) +* [v1.2.0 Release Notes](../Release-Notes/v1.2.0.md) diff --git a/docs/MatrixOne/Release-Notes/release-timeline.md b/docs/MatrixOne/Release-Notes/release-timeline.md index 06eac5048..5f3f68959 100644 --- a/docs/MatrixOne/Release-Notes/release-timeline.md +++ b/docs/MatrixOne/Release-Notes/release-timeline.md @@ -4,6 +4,7 @@ This document shows all the released MatrixOne versions in reverse chronological | **Version** | **Release Date** | | :-------------------------- | :--------------- | +| [v1.2.0](v1.2.0.md) | 2024/05/20 | | [v1.1.3](v1.1.3.md) | 2024/04/16 | | [v1.1.2](v1.1.2.md) | 2024/04/02 | | [v1.1.1](v1.1.1.md) | 2024/02/04 | diff --git a/docs/MatrixOne/Release-Notes/v1.2.0.md b/docs/MatrixOne/Release-Notes/v1.2.0.md new file mode 100644 index 000000000..86d7f02c5 --- /dev/null +++ b/docs/MatrixOne/Release-Notes/v1.2.0.md @@ -0,0 +1,98 @@ +# MatrixOne v1.2.0 Release Notes + +We are thrilled to announce the release of MatrixOne 1.2.0 on 2024/05/20! + +## What is Matrixone? + +MatrixOne is a hyper-converged cloud-native database. It is designed to provide a cloud-native, high-performance, highly scalable, MySQL-compatible HTAP database. MatrixOne enables users to handle mixed workloads such as transactions, analytics, time-series, and streaming processing through a one-stop data processing solution. + +

+ MatrixOne +

+ +## What's New in v1.2.0? + +### Snapshot Backup and Recovery(Beta) + +Database snapshot is an efficient technology for database backup and recovery, providing a read-only static copy of the database at a specific point in time. It assists database administrators and developers in performing various operations while ensuring the consistency and integrity of the data. + +- Support for tenant-level snapshot backup and recovery using the mo_br tool and sql statement. +- Support for uninterrupted database operation during the snapshot creation process. +- Support for rapidly restoring data to the state at the time of backup, effectively reducing the Recovery Time Objective (RTO). + +### Incremental Physical Backup(Enterprise Edition) + +On the basis of full backup in the mo_backup tool,we support for incremental backup feature , which only backs up the newly changed data, significantly reducing the backup time and storage space requirements. + +### CTAS + +Support for CTAS (Create Table As Select).CTAS is an SQL statement used to quickly create a new table based on existing data. It combines the functionality of table creation with a select query, providing an efficient way to create snapshots of tables, perform data transformations, or build data models for reporting and analysis. + +### BITMAP Fast Deduplication + +BITMAP is a set of built-in functions for handling bitmaps, mainly used for rapid deduplication of large volumes of data. + +- Support for rapid data deduplication using BITMAP functions. +- Support for determining the bucket number with the BITMAP_BUCKET_NUMBER() function. +- Support for returning the relative bit position within a bucket using the BITMAP_BIT_POSITION() function. +- Support for constructing bitmaps with the BITMAP_CONSTRUCT_AGG() function. + +### Vector Index + +- Support for using vector indexing to accelerate KNN queries. + +## Other New Features + +### SQL Statements + +- Support for insert ignore +- Support for create table ... like +- Support for create index ... using ivfflat +- Support for alter table ... alter reindex +- Support for load data ... character set +- Support for creat snapshot +- Support for show snapshots +- Support for restore account +- Support for drop snapshot +- Optimized alter publication +- Optimized show publications +- Optimized show subscriptions + +### Date Type + +- Support for bit + +### Indexs and Constraints + +- Support for Vector Index + +### Built-in Functions and Operators + +- Added SYSDATE date function. +- Added TO_BASE64 and FROM_BASE64 encoding and decoding functions. +- Added MD5 and SHA1/SHA encryption functions. +- Added SUBVECTOR function for extracting subvectors. +- Added SERIAL_EXTRACT function for extracting sub-elements. +- Added CLUSTER_CENTERS cluster centers function. +- Support operations between vector and scalar. + +### System Parameters + +- Added keep_user_target_list_in_result. +- Added foreign_key_checks. + +### MySQL Compatibility + +- Refactored the CSV reader and CSV splitting to maintain compatibility with MySQL. + +## Known Issues + +- Vector Index works only in l2_distance. +- Only support tenant-level snapshot backup and recovery. +- Snapshot recovery requires rewriting the entire data, which consumes a lot of CPU and memory resources. +- Out-Of-Memory (OOM) issues occur with large data volumes Occasionally. +- Under high concurrency load, the system occasionally becomes unresponsive. + +## Full Changelog + + diff --git a/docs/MatrixOne/Security/TLS-introduction.md b/docs/MatrixOne/Security/TLS-introduction.md index 1fc2ce627..2d6175603 100644 --- a/docs/MatrixOne/Security/TLS-introduction.md +++ b/docs/MatrixOne/Security/TLS-introduction.md @@ -109,7 +109,7 @@ After completing the configuration of these two main steps, a TLS secure connect 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 Server characterset: utf8mb4 @@ -134,7 +134,7 @@ After completing the configuration of these two main steps, a TLS secure connect 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 Server characterset: utf8mb4 diff --git a/mkdocs.yml b/mkdocs.yml index 187f16f82..cb64abadb 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -562,6 +562,7 @@ nav: - SQL FAQs: MatrixOne/FAQs/sql-faqs.md - Release Notes: - Release Timeline: MatrixOne/Release-Notes/release-timeline.md + - v1.2.0: MatrixOne/Release-Notes/v1.2.0.md - v1.1.3: MatrixOne/Release-Notes/v1.1.3.md - v1.1.2: MatrixOne/Release-Notes/v1.1.2.md - v1.1.1: MatrixOne/Release-Notes/v1.1.1.md