Oceanbase Versions Save

OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.

v4.2.3_CE_BETA

1 week ago

v4.2.1_CE_BP5

2 weeks ago

Version information

Information Description
Release date April 24, 2024
Version V4.2.1_CE_BP5
Commit number ec03c25
OBServer RPM version oceanbase-ce-4.2.1.5-105000032024041915

Enhanced features

  • Compatibility with MySQL

    • A SET statement that contains the SET NAMES statement can also set other variables.
    • The information_schema.events table of MySQL is supported. #1194
  • Other optimizations

    • The [G]V$OB_SESSION view is provided to display session information and help reduce the time required in collecting processlist statistics.
    • The NETWORK_WAIT_TIME column is added to the GV$OB_SQL_AUDIT view to indicate the total amount of time spent on events of the Network class.
    • A switch is provided for controlling parallel execution of DDL statements.
    • The log_storage_compress_all parameter is provided to specify whether to compress clogs for storage, and the log_storage_compress_func parameter is provided to specify the clog compression algorithm.
    • The slog and sstable directories now can be stored in different paths on the disk.
    • The OUTROW storage performance of large object (LOB) data is improved.
    • The issue of PL cache failure is resolved.
    • Adaptive major compaction is optimized for buffer tables.
    • The statistics collection performance is improved.

Product behavioral changes

To ensure stability, the batch rescan optimization feature was disabled by default for the NESTED-LOOP JOIN (NLJ) and SUBPLAN FILTER (SPF) operators during cluster creation in OceanBase Database since V4.2.1_CE_BP2_HF1. This feature is optimized in V4.2.1_CE_BP5 and is now enabled by default. In other words, the batch rescan optimization feature is enabled by default for new tenants. In OceanBase Database of a version earlier than V4.2.1_CE_BP5, the feature is still disabled by default. You can manually enable the feature as needed.

Bug fixes

  • Fixed the issue where the query result of an SQL statement in a standalone database is inconsistent with that in a multi-node cluster. #1845
  • Improved the performance of hotspot functions in an ARM environment.
  • Fixed the issue where requests are accumulated in the queue of the sys tenant because the slog disk is used up.
  • Fixed the issue where an additional record is displayed in some views such as information_schema.tables and all_tables after a DDL operation is performed to convert a non-partitioned table into a partitioned table.
  • Fixed the issue where in the case of frequent connection and disconnection attempts, Error 4016 is returned during connection establishment when the total number of established connections reaches the specified value, because the reference count is leaked.
  • Fixed the issue where the OBServer node can be hung if the obstack command is automatically executed when requests are accumulated in the queue.
  • Fixed the issue where Error 4016 is returned when you execute the SHOW TRACE statement for a distributed execution plan after end-to-end tracing is enabled.
  • Fixed the issue where the performance deteriorates after SQL plan management (SPM) is enabled.
  • Fixed the issue where a core dump occurs if the offset exceeds INT64_MAX when the LIMIT OFFSET syntax is used in the .NET driver.
  • Fixed the issue where the memory of the CommonArray memory module leaks due to bypass import.
  • Fixed the issue where the memory of the PlJit module leaks due to exceptions.
  • Fixed the issue where a core dump occurs during parallel execution when memory allocation fails.
  • Fixed the issue of memory bloat during parallel index creation in specific scenarios.
  • Fixed the issue where Error 4344 may be returned when you back up a standby database in specific scenarios.
  • Fixed the issue where creating a standby tenant in the standby cluster will fail if case sensitivity is enabled for table names of tenants in the primary cluster.
  • Fixed the issue where the execution time is abnormal if you execute the create table if not exists statement to create an existing table immediately after the cluster is restarted.

Considerations

OceanBase Database V4.2.1_CE_BP5 fixes the issue where connection establishment fails because the reference count of session connections is leaked. We recommend that you upgrade OceanBase Database to V4.2.1_CE_BP5 as soon as possible.

版本信息

项目 描述
发布日期 2024-04-24
版本号 V4.2.1_CE_BP5
Commit 号 ec03c25
OBServer RPM 版本号 oceanbase-ce-4.2.1.5-105000032024041915

特性增强

  • MySQL 兼容性

    • 支持在同一个 SET 语句中同时包含 SET NAMES 语句和使用 SET 设置其他变量。
    • 支持兼容 MySQL 的 information_schema.events 表结构。 #1194
  • 其他优化

    • 新增 [G]V$OB_SESSION 视图展示会话信息,优化 Processlist 统计时间。
    • GV$OB_SQL_AUDIT 视图新增 NETWORK_WAIT_TIME 字段,用于展示所有 Network 类事件的总时间。
    • 新增控制 DDL 并行开关。
    • 支持通过 log_storage_compress_all 控制是否开启 Clog 存储压缩功能以及通过 log_storage_compress_func 设置 Clog 存储压缩的压缩算法。
    • 支持将 slogsstable 的目录放在不同的磁盘目录下。
    • 优化 LOB 类型数据外联存储(OUTROW)性能。
    • 优化 PL Cache 缓存失效的问题。
    • 优化 Buffer 表的自适应合并。
    • 优化统计信息收集的性能。

产品行为变更

出于稳定性因素的考虑,从 V4.2.1_CE_BP2_HF1 版本开始,新建集群时,Nested Loop join(NLJ)和 SUBPLAN FILTER(SPF)算子的 BATCH RESCAN 优化默认会被关闭。我们针对该功能进行了专项提升,在 V4.2.1_CE_BP5 版本重新打开该默认开关。V4.2.1_CE_BP5 版本开始,新建的租户默认保持 BATCH RESCAN 优化开启。升级前已存在的老租户维持原来配置,需要手动进行开启。

缺陷修复

  • 修复单节点与多节点查询结果不一致的问题。#1845
  • 优化 ARM 环境下的性能热点问题。
  • 修复 slog 盘满导致系统租户队列积压的问题。
  • 修复执行非分区表转分区表 DDL,会导致一些视图(如 information_schema.TABLES/ALL_TABLES)多显示一条记录的问题。
  • 修复频繁建连接/断连接场景下,引用计数泄漏导致建连接总数达到一定量后,建连接报错 4016 的问题。
  • 修复队列积压情况下自动 obstack 可能导致 observer hang 住的问题。
  • 修复开启全链路追踪后分布式执行计划 show trace 报错 4016 的问题。
  • 修复打开 SPM 后性能下降的问题。
  • 修复 .NET 驱动中使用 limit offset 时遇到 int64_max 溢出导致的 core 问题。
  • 修复旁路导入产生 CommonArray 内存模块泄漏的问题。
  • 修复异常场景下 PlJit 模块内存泄漏问题。
  • 修复分配内存失败场景下,并行执行 core 的问题。
  • 修复并行执行创建索引特定场景下内存膨胀的问题。
  • 修复特定场景下备库备份可能出现 4344 报错的问题。
  • 修复主集群租户设置了区分表名大小写,备集群同步创建备租户会失败的问题。
  • 修复集群重启后,立即执行 create table if not exists 创建已经存在的表,执行时间异常的问题。

注意事项

V4.2.1_CE_BP5 版本修复了集群 session 连接数引用计数泄漏导致不能新建连接的问题,请尽快升级到 V4.2.1_CE_BP5 版本。

v4.3.0_CE_BETA

1 month ago

v4.2.2_CE_BP1

1 month ago

Version information

Information Description
Release date March 13, 2024
Version V4.2.2_CE_BP1
Commit number 083a68a
OBServer RPM version oceanbase-ce-4.2.2.1-101000012024030709

Overview

  • This release addressed several internal code compatibility issues. To upgrade a cluster from V4.2.2_CE or V4.2.2_CE_HF1 to a version higher than V4.2.2_CE_BP1, you need to upgrade it to V4.2.2_CE_BP1 first.

Bug fixes

  • Fixed the issue where during the current execution of transfer, medium compaction, and backup, if an exception occurs, such as OSS write failure, Error 4016 might be reported during physical restore.
  • Fixed the issue that could cause core dump on OBServer nodes when creating and switching sessions frequently.
  • Fixed the issue that could cause core dump on OBServer nodes due to memory allocation problems in parallel column deletion scenarios.

版本信息

项目 描述
发布日期 2024-03-13
版本号 V4.2.2_CE_BP1
Commit 号 083a68a
OBServer RPM 版本号 oceanbase-ce-4.2.2.1-101000012024030709

发版目的

  • 修复若干内部代码兼容性问题,已经部署 V4.2.2_CE 或 V4.2.2_CE_HF1 版本的集群,升级更高版本时,需经停 V4.2.2_CE_BP1 版本。

缺陷修复

  • 修复在 Transfer、Medium Compaction 和备份操作并发执行期间,遇到写入 OSS 失败等可重试错误的异常场景时,可能会导致物理恢复数据报错 4016 的问题。
  • 修复多次创建并切换 Session 时,可能导致 OBServer Core 的问题。
  • 修复在并行删除列场景下,可能由于内存分配问题导致 OBServer Core 的问题。

v4.2.1_CE_BP4

2 months ago

Version information

Information Description
Release date March 5, 2024
Version V4.2.1_CE_BP4
Commit number 3246b00
OBServer RPM version oceanbase-ce-4.2.1.4-104000052024022918

Enhanced features

  • The overwrite feature is now supported for OBKV Batch Put. To use this feature, you must first upgrade your client to the latest version.
  • The manual partition transfer now can be cancelled.
  • The query performance is now improved for query statements that contain multiple MIN or MAX functions.
  • The index status now can be determined based on the COMMENT field in the information_schema.STATISTICS view.

Product behavioral changes

  • The TENANT keyword is changed from a required parameter to an optional one in the table-level restore statement.
  • The max_syslog_file_count parameter is changed to control the total number of log files of all types.

Bug fixes

版本信息

项目 描述
发布日期 2024-03-05
版本号 V4.2.1_CE_BP4
Commit 号 3246b00
OBServer RPM 版本号 oceanbase-ce-4.2.1.4-104000052024022918

特性增强

  • OBKV Batch Put 现支持覆盖写功能,使用该功能前需要升级到最新版本的客户端。
  • 手动迁移分区功能支持 Cancel。
  • 优化查询语句中包含多个 MINMAX 函数时的查询性能。
  • 支持通过 information_schema.STATISTICSCOMMENT 字段来判断索引状态。

产品行为变更

  • 表级恢复命令调整 TENANT 关键字为可选。
  • max_syslog_file_count 调整为控制所有类型的 Log 总量。

缺陷修复

v4.2.2_CE_HF1

2 months ago

v4.2.1_CE_BP3_HF2

3 months ago

Version information

Information Description
Release date February 5, 2024
Version V4.2.1_CE_BP3_HF2
Commit number 73d0496
OBServer RPM version oceanbase-ce-4.2.1.3-103020042024020317

Bug fixes and improvements

Considerations

  • When using the bypass import feature to import LOB data that exceeds 4 KB, a transfer event could result in import failure. Therefore, we recommend that you temporarily disable the transfer feature.

  • When using the bypass import feature to import LOB data that exceeds 4 KB, if a leader switchover occurs during the import process, the system will attempt to perform the import operation again.

版本信息

项目 描述
发布日期 2024-02-05
版本号 V4.2.1_CE_BP3_HF2
Commit 号 73d0496
OBServer RPM 版本号 oceanbase-ce-4.2.1.3-103020042024020317

发版目的

注意事项

  • 使用旁路导入功能导入超过 4 KB 的 LOB 数据时,如果发生 Transfer,则会导致导入失败,建议使用时临时关闭 Transfer 功能。

  • 使用旁路导入功能导入超过 4 KB 的 LOB 数据时,如果导入过程中发生切主,则系统会进行重试。

v4.2.1_CE_BP3_HF1

3 months ago

Version information

Information Description
Release date January 25, 2024
Version V4.2.1_CE_BP3_HF1
Commit number 37a4c62
OBServer RPM version oceanbase-ce-4.2.1.3-103010052024011916

Bug fixes

版本信息

项目 描述
发布日期 2024-1-25
版本号 V4.2.1_CE_BP3_HF1
Commit 号 37a4c62
OBServer RPM 版本号 oceanbase-ce-4.2.1.3-103010052024011916

缺陷修复

v4.2.2_CE

3 months ago

v4.2.1_CE_BP3

4 months ago

Version information

Information Description
Release date January 2, 2024
Version V4.2.1_CE_BP3
Commit number 8fe69c2
OBServer RPM version oceanbase-ce-4.2.1.3-103000032023122818

Enhanced features

  • Data compression at the communication protocol layer is supported for OBServer nodes and OceanBase Database Proxy (ODP) to reduce the bandwidth costs in data transmission.

  • Global indexes are supported in OBKV.

  • The INSERT ... ON DUPLICATE KEY UPDATE statement is supported.

  • The max_partition_num parameter is added to control the maximum number of partitions that can be created or modified in the MySQL mode.

  • Statistics information can be copied by using DBMS_STATS.copy_table_stats.

  • Permission-based filtering is implemented in the result set of the information_schema.SCHEMATA table, allowing users to query only schemas for which they have permissions.

  • The data synchronization performance is improved for the primary/standby architecture in direct connection mode.

  • The system load is reduced in scenarios where SQL statements are throttled using max_concurrent.

  • The DATA_PROGRESS column is added to the CDB_OB_BACKUP_TASKS view to show the data backup progress.

Bug fixes and improvements

Considerations

Starting from V4.2.1_CE_BP2_HF1, batch rescan is disabled by default for the NESTED-LOOP JOIN (NLJ) and SUBPLAN FILTER (SPF) operators during cluster creation. However, for clusters upgrading from earlier versions, batch rescan is enabled by default. If stability issues are found in batch rescan for the NLJ or SPF operator in an environment with large amounts data, you can disable batch rescan for the operator in the entire cluster by executing the SET GLOBAL _nlj_batching_enabled = false; statement. If the performance is not as expected after batch rescan is disabled, you can evaluate whether to enable batch rescan again based on the actual situation.

版本信息

项目 描述
发布日期 2024-01-02
版本号 V4.2.1_CE_BP3
Commit 号 8fe69c2
OBServer RPM 版本号 oceanbase-ce-4.2.1.3-103000032023122818

特性增强

  • 支持 OBServer 与 obproxy 通信协议层的压缩功能,降低数据传输带宽成本。
  • OBKV 支持全局索引的能力。
  • 支持 INSERT ... ON DUPLICATE KEY UPDATE 语法。
  • 新增配置项 max_partition_num 用于控制 MySQL 模式下允许创建或者更改的最大分区数。
  • 支持通过 DBMS_STATS.copy_table_stats 拷贝统计信息。
  • information_schema.schemata 表的结果集增加权限过滤,用户只能查询权限范围内的 Schema。
  • 优化网络直连主备库架构下的数据同步性能。
  • 优化通过 max_concurrent 对 SQL 进行限流场景下系统的负载。
  • CDB_OB_BACKUP_TASKS 视图新增 DATA_PROGRESS 字段,用于展示数据备份进度。

缺陷修复

注意事项

从 V4.2.1_CE_BP2_HF1 版本开始,新建集群时,Nested Loop join(NLJ)和 SUBPLAN FILTER(SPF)算子的 BATCH RESCAN 优化默认会被关闭。然而,对于从老版本升级上来的集群,它们会默认保持原来的 BATCH RESCAN 打开的状态。对于存量的环境,如果发现 NLJ/SPF BATCH RESCAN 的稳定性问题,可以通过执行 SET GLOBAL _nlj_batching_enabled = false; 命令来关闭该优化,这将在整个集群范围内禁用 NLJ/SPF 的 BATCH RESCAN 优化。如果在关闭优化后性能不符合预期,可以根据具体情况重新评估并选择是否重新开启。