Skip to content

v4.2.1_CE_BP2

Compare
Choose a tag to compare
@zhuzhaoyang001 zhuzhaoyang001 released this 07 Dec 02:05
· 5650 commits to develop since this release

Version information

Information Description
Release date December 7, 2023
Version V4.2.1_CE_BP2
Commit number ccdde7d3
OBServer RPM version oceanbase-ce-4.2.1.2-102000042023120514

Enhanced features

  • The MySQL mode of OceanBase Database now supports paging queries while maintaining the same sorting method for each query.
  • A new command TRANSFER PARTITION is provided to manually adjust the distribution of partitions. With this command, you can migrate specific partitions to specific log streams to aggregate or scatter partitions.
  • OBKV now supports data compression for remote procedure calls (RPCs), reducing network bandwidth usage and user costs.
  • This version now allows you to set a threshold for switching the storage method of LOB data from INROW (stored in the primary table by using row storage) to OUTROW (stored in a separate LOB auxiliary table). This enhancement aims to improve the performance of LOB data queries.

Product behavioral changes

  • The backup_data_file_size parameter, which is related to backup and restore, is changed from a cluster-level parameter to a tenant-level parameter.

  • The tableapi_transport_compress_func parameter, which is related to TableAPI, is renamed as kv_transport_compress_func.

  • A new parameter kv_transport_compress_threshold is introduced to specify the minimum threshold for compressing OBKV query result sets.

  • The value range for adaptive adjustment of the server_cpu_quota_min and server_cpu_quota_max parameters is increased to meet requirements of larger specifications.

    cpu_count (0C, 8C) [8C, 16C) [16C, 32C) [32C, +∞)
    server_cpu_quota_min 1C 2C 3C 4C
    server_cpu_quota_max 1C 2C 3C 4C

Bug fixes

Considerations

  • Before V4.2.1_CE_BP2, there was a problem with the limitation of PX threads, potentially resulting in high CPU load on OBServer nodes. However, this issue has been resolved in V4.2.1_CE_BP2, and an upgrade is recommended.

  • In the current version, there are some instability issues when using the INSERT INTO SELECT statement for bypass import, particularly when triggering a data transfer. Therefore, it is not recommended to use the INSERT INTO SELECT statement for bypass import.

版本信息

项目 描述
发布日期 2023-12-07
版本号 V4.2.1_CE_BP2
Commit 号 ccdde7d3
OBServer RPM 版本号 oceanbase-ce-4.2.1.2-102000042023120514

特性增强

  • MySQL Mode 支持分页查询保序。
  • 新增 TRANSFER PARTITION 命令用于手动调整分区分布的能力。通过该命令,用户可以选择将特定的分区迁移到特定的日志流上,从而实现不同分区的聚合或打散分布。
  • OBKV 支持 RPC 数据压缩,减小网络带宽占用,降低用户成本。
  • 支持设置 LOB 数据存储方式由 INROW (和主表行存储在一起)转换为 OUTROW(将 LOB 数据存储在 LOB 辅助表中)的阈值,优化了大对象场景下的性能。

产品行为变更

  • 备份恢复相关配置项 backup_data_file_size 由集群级调整为租户级。

  • tableAPI 相关配置项 tableapi_transport_compress_func 更名为 kv_transport_compress_func

  • 新增配置项 kv_transport_compress_threshold 用于指定需要进行压缩的 OBKV 查询结果集大小的最小阈值。

  • 配置项 server_cpu_quota_minserver_cpu_quota_max 增大自适应变更的范围,以满足更大规格的需求。

    cpu_count (0c, 8c) [8c, 16c) [16c, 32c) [32c, +∞)
    server_cpu_quota_min 1c 2c 3c 4c
    server_cpu_quota_max 1c 2c 3c 4c

缺陷修复

注意事项

  • V4.2.1_CE_BP2 之前版本,存在 PX 线程限制失效问题,可能会导致 OBServer 的 CPU 负载过高,该问题在 V4.2.1_CE_BP2 已修复,并推荐进行升级。
  • 当前版本使用 INSERT INTO SELECT 语句旁路导入数据时,如果触发 Transfer,会存在一些不稳定的问题,因此不推荐通过此方法进行旁路导入。