From 10d65e51e626003aa563e01ffd95752d2b061500 Mon Sep 17 00:00:00 2001 From: obdev Date: Thu, 27 Jun 2024 09:40:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=201000.connect-to-the-oceanb?= =?UTF-8?q?ase-database-through-spring-jdbc-of-mysql-mode.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../600.configure-sysctl-conf-optional.md | 2 +- ...ase-database-through-spring-jdbc-of-mysql-mode.md | 5 +---- .../600.configure-sysctl-conf-optional.md | 12 ++++++------ .../1750.alter-tablespace-of-mysql-mode.md | 6 +++--- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/en-US/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md b/en-US/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md index 6305a66b17..00567de4da 100644 --- a/en-US/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md +++ b/en-US/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md @@ -84,5 +84,5 @@ sysctl -p * Run the following command to disable the memory reclamation and reallocation functionality: ```shell - sysctl vm.zone_reclaim_mode=0 + sysctl vm.zone_reclaim_mode=0 ``` \ No newline at end of file diff --git a/zh-CN/300.develop/100.application-development-of-mysql-mode/200.sample-program-of-mysql-mode/100.java-of-mysql-mode/1000.connect-to-the-oceanbase-database-through-spring-jdbc-of-mysql-mode.md b/zh-CN/300.develop/100.application-development-of-mysql-mode/200.sample-program-of-mysql-mode/100.java-of-mysql-mode/1000.connect-to-the-oceanbase-database-through-spring-jdbc-of-mysql-mode.md index 47621d2d16..59e3a31c0e 100644 --- a/zh-CN/300.develop/100.application-development-of-mysql-mode/200.sample-program-of-mysql-mode/100.java-of-mysql-mode/1000.connect-to-the-oceanbase-database-through-spring-jdbc-of-mysql-mode.md +++ b/zh-CN/300.develop/100.application-development-of-mysql-mode/200.sample-program-of-mysql-mode/100.java-of-mysql-mode/1000.connect-to-the-oceanbase-database-through-spring-jdbc-of-mysql-mode.md @@ -14,11 +14,8 @@ 点击下载 spring-jdbc-mysql-client 示例工程 - - -
- + Spring JDBC 连接 OceanBase 数据库示例程序(MySQL 模式)
diff --git a/zh-CN/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md b/zh-CN/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md index 9851263cc8..4c6755e7c8 100644 --- a/zh-CN/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md +++ b/zh-CN/400.deploy/500.deploy-oceanbase-database-community-edition/200.local-deployment/200.environment-and-configuration-checks/600.configure-sysctl-conf-optional.md @@ -22,9 +22,9 @@ sudo vim /etc/sysctl.conf ```shell # for oceanbase ## 修改内核异步 I/O 限制 -fs.aio-max-nr=1048576 - -## 网络优化 +fs.aio-max-nr=1048576 + +## 网络优化 net.core.somaxconn = 2048 net.core.netdev_max_backlog = 10000 net.core.rmem_default = 16777216 @@ -79,9 +79,9 @@ sysctl -p ```shell sysctl kernel.numa_balancing=0 - ``` - -* 禁用内存回收和重新分配功能,命令如下。 + ``` + +* 禁用内存回收和重新分配功能,命令如下。 ```shell sysctl vm.zone_reclaim_mode=0 diff --git a/zh-CN/700.reference/500.sql-reference/100.sql-syntax/200.common-tenant-of-mysql-mode/600.sql-statement-of-mysql-mode/1750.alter-tablespace-of-mysql-mode.md b/zh-CN/700.reference/500.sql-reference/100.sql-syntax/200.common-tenant-of-mysql-mode/600.sql-statement-of-mysql-mode/1750.alter-tablespace-of-mysql-mode.md index 61b62070f4..0830cc846a 100644 --- a/zh-CN/700.reference/500.sql-reference/100.sql-syntax/200.common-tenant-of-mysql-mode/600.sql-statement-of-mysql-mode/1750.alter-tablespace-of-mysql-mode.md +++ b/zh-CN/700.reference/500.sql-reference/100.sql-syntax/200.common-tenant-of-mysql-mode/600.sql-statement-of-mysql-mode/1750.alter-tablespace-of-mysql-mode.md @@ -48,9 +48,9 @@ tablespace_encryption_option: * `AES-192-GCM`:使用 192 位密钥的 GCM 模式。 * `SM4-CBC`:SM4 算法采用 CBC 模式,其中每个数据块都与前一个块加密后的输出进行异或操作再进行加密。 * `SM4-GCM`:SM4 算法采用 GCM 模式,此模式下 SM4 同时提供了数据加密和认证功能。 - -
-

说明

+ +
+

说明

  • AES (Advanced Encryption Standard) 是一个对称加密算法,意味着相同的密钥用于加密和解密数据。AES 算法本身是基于区块加密的,通常以 128 位的区块对数据进行加密。
  • AES-GCM (Galois/Counter Mode) 是一种操作模式,用于对区块加密算法(如 AES)进行处理,提供加密和数据认证(也称为消息认证码)。
  • SM4 算法的区块长度是 128 位,密钥长度也是 128 位。