OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.
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 |
Compatibility with MySQL
SET
statement that contains the SET NAMES
statement can also set other variables.information_schema.events
table of MySQL is supported. #1194
Other optimizations
[G]V$OB_SESSION
view is provided to display session information and help reduce the time required in collecting processlist statistics.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.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.slog
and sstable
directories now can be stored in different paths on the disk.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.
slog
disk is used up.information_schema.tables
and all_tables
after a DDL operation is performed to convert a non-partitioned table into a partitioned table.obstack
command is automatically executed when requests are accumulated in the queue.SHOW TRACE
statement for a distributed execution plan after end-to-end tracing is enabled.INT64_MAX
when the LIMIT OFFSET
syntax is used in the .NET
driver.create table if not exists
statement to create an existing table immediately after the cluster is restarted.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
设置其他变量。information_schema.events
表结构。 #1194
其他优化
[G]V$OB_SESSION
视图展示会话信息,优化 Processlist 统计时间。GV$OB_SQL_AUDIT
视图新增 NETWORK_WAIT_TIME
字段,用于展示所有 Network 类事件的总时间。log_storage_compress_all
控制是否开启 Clog 存储压缩功能以及通过 log_storage_compress_func
设置 Clog 存储压缩的压缩算法。slog
和 sstable
的目录放在不同的磁盘目录下。出于稳定性因素的考虑,从 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 优化开启。升级前已存在的老租户维持原来配置,需要手动进行开启。
slog
盘满导致系统租户队列积压的问题。information_schema.TABLES
/ALL_TABLES
)多显示一条记录的问题。.NET
驱动中使用 limit offset 时遇到 int64_max
溢出导致的 core 问题。V4.2.1_CE_BP5 版本修复了集群 session 连接数引用计数泄漏导致不能新建连接的问题,请尽快升级到 V4.2.1_CE_BP5 版本。
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 |
项目 | 描述 |
---|---|
发布日期 | 2024-03-13 |
版本号 | V4.2.2_CE_BP1 |
Commit 号 | 083a68a |
OBServer RPM 版本号 | oceanbase-ce-4.2.2.1-101000012024030709 |
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 |
MIN
or MAX
functions.COMMENT
field in the information_schema.STATISTICS
view.TENANT
keyword is changed from a required parameter to an optional one in the table-level restore statement.max_syslog_file_count
parameter is changed to control the total number of log files of all types.UNION ALL
operation on TIMESTAMP
data may be inaccurate.
binlog_row_image
.
upgrade_post.py
script fails to execute when an upgrade is performed after the enable_rebalance
parameter is manually disabled.
ALTER SYSTEM SET
statement is used to modify multiple parameters.
DROP DATABASE
statement is executed in a cluster with small specifications.
项目 | 描述 |
---|---|
发布日期 | 2024-03-05 |
版本号 | V4.2.1_CE_BP4 |
Commit 号 | 3246b00 |
OBServer RPM 版本号 | oceanbase-ce-4.2.1.4-104000052024022918 |
MIN
或 MAX
函数时的查询性能。information_schema.STATISTICS
的 COMMENT
字段来判断索引状态。TENANT
关键字为可选。max_syslog_file_count
调整为控制所有类型的 Log 总量。TIMESTAMP
类型的数据进行 Union All 操作时,返回结果可能不正确的问题。
binlog_row_image
系统变量的影响。
enable_rebalance
参数后升级,执行 upgrade_post.py
脚本失败的问题。
ALTER SYSTEM SET
语句修改多个配置项时,可能出现部分配置项同步失败的问题。
DROP DATABASE
可能由于 sys 租户内存过小报错 4013 的问题。
Information | Description |
---|---|
Release date | February 28, 2024 |
Version | V4.2.2_CE_HF1 |
Commit number | c984fe7 |
OBServer RPM version | oceanbase-ce-4.2.2.0-100010012024022719 |
项目 | 描述 |
---|---|
发布日期 | 2024-2-28 |
版本号 | V4.2.2_CE_HF1 |
Commit 号 | c984fe7 |
OBServer RPM 版本号 | oceanbase-ce-4.2.2.0-100010012024022719 |
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 |
systemd service
.
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 |
systemd service
的方式启停 OceanBase 数据库。
使用旁路导入功能导入超过 4 KB 的 LOB 数据时,如果发生 Transfer,则会导致导入失败,建议使用时临时关闭 Transfer 功能。
使用旁路导入功能导入超过 4 KB 的 LOB 数据时,如果导入过程中发生切主,则系统会进行重试。
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 |
DBMS_MONITOR
package with decimal type data would result in an Incorrect arguments to control info
error.
LONGTEXT
columns.
insertOrUpdate
operation on the OBKV client failed to write data when an auto-increment column of the table was used as the primary key and secondary indexes existed.
ORDER BY
and LIMIT
clauses were used.
项目 | 描述 |
---|---|
发布日期 | 2024-1-25 |
版本号 | V4.2.1_CE_BP3_HF1 |
Commit 号 | 37a4c62 |
OBServer RPM 版本号 | oceanbase-ce-4.2.1.3-103010052024011916 |
DBMS_MONITOR
包传入小数类型数据报错 Incorrect arguments to control info
的问题。
insertOrUpdate
接口写入失败的问题。
order by + limit
分页场景下,由于执行计划不优导致查询性能慢的问题。
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 |
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.
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 |
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
字段,用于展示数据备份进度。JSON_UNQUOTE
类型推导时没有设置 Length,导致 SHOW CREATE TABLE
报错 4016 的问题。
.NET
驱动连接 OBServer 异常的问题。
ST_Contains
函数时,通过空间索引查询数据异常的问题。
character_set_results
设置为空的场景下,SHOW CREATE TABLE
报错 CHARSET_INVALID
的问题。
REPLACE
系统函数没有正确处理,导致执行时报错的问题。
SUBPLAN FILTER
右侧是 Hash Join,且 Hash Join 处理数据量比较小时,可能触发业务请求变慢, 租户 CPU 升高的问题。
INSERT INTO SELECT
语句进行旁路导入数据时,报错 4038 的问题。
binlog_row_image
为 MINIMAL 优化 insertup 接口性能。
从 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 优化。如果在关闭优化后性能不符合预期,可以根据具体情况重新评估并选择是否重新开启。