From 1e7772edf14dfe7083dadfad2925735f15a6492d Mon Sep 17 00:00:00 2001 From: chris-sun-star Date: Wed, 25 Sep 2024 06:57:09 +0000 Subject: [PATCH] add document for environment variable OB_CONFIGSERVER_ADDRESS --- oceanbase-ce/README.md | 1 + oceanbase-ce/README_CN.md | 1 + 2 files changed, 2 insertions(+) diff --git a/oceanbase-ce/README.md b/oceanbase-ce/README.md index 8c4abd8..ef331ca 100644 --- a/oceanbase-ce/README.md +++ b/oceanbase-ce/README.md @@ -75,6 +75,7 @@ Below is a table of supported environment variables for the image: | OB_TENANT_MINI_CPU | | The oceanbase tenant mini_cpu configuration | | OB_TENANT_MEMORY_SIZE | | The oceanbase tenant memory_size configuration | | OB_TENANT_LOG_DISK_SIZE | | The oceanbase tenant log_disk_size configuration | +| OB_CONFIGSERVER_ADDRESS | | Address of ob-configserver e.g. http://1.1.1.1:8080 | ## Running Sysbench Script The oceanbase-ce image includes the sysbench tool for benchmarking. Use the following command to run a sysbench test: ``` diff --git a/oceanbase-ce/README_CN.md b/oceanbase-ce/README_CN.md index 3f21227..79ec6dd 100644 --- a/oceanbase-ce/README_CN.md +++ b/oceanbase-ce/README_CN.md @@ -75,6 +75,7 @@ mysql -h127.0.0.1 -P2881 -uroot@test # 使用通用租户的root账户连接 | OB_TENANT_MINI_CPU | | OceanBase租户mini_cpu配置 | | OB_TENANT_MEMORY_SIZE | | OceanBase租户memory_size配置 | | OB_TENANT_LOG_DISK_SIZE | | OceanBase租户log_disk_size配置 | +| OB_CONFIGSERVER_ADDRESS | | ob-configserver 地址, 示例: http://1.1.1.1:8080 | ## 运行Sysbench脚本 oceanbase-ce镜像包含sysbench工具用于基准测试。使用以下命令运行sysbench测试: