登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
2025 Gitee 年度开源项目评选投票进行中,快为你的心仪项目助力!
代码拉取完成,页面将自动刷新
开源项目
>
数据库相关
>
数据库服务
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
7
Star
15
Fork
17
OceanBase
/
obproxy
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
发行版
最新版
v4.0.0
9d5c90e
2022-11-03 19:52
对比
v4.0.0
linguanren
# About this version | Item | Description | | --- | --- | | Release time | 2021-11-01 | | Release number | V4.0.0 | | Commit number | 9d5c90e562c61d9fcf8894993187aa20239db47e | ## New features - Support session information synchronization mechanism - Support public cloud shared proxy CPU resource tenant isolation - Support random routing - Support specifying ip routing - Support to configure tenant isolation - Support OB_MYSQL_COM_STMT_RESET - Support Primary Zone routing - Fast fail-fast for request probes is supported. POC use only - Support text PS - Support OB_MYSQL_COM_RESET_CONNECTION - Support connection string ClusterId custom separator - Support non-Alibaba cloud environment, use remote ip as virtual ip - 【OB Sharding】Support SHOW INDEX FROM statement - 【OB Sharding】Support truncate syntax - 【OB Sharding】Support SHOW FULL TABLES statement - 【OB Sharding】SHOW KEYS FROM statement - 【OB Sharding】Support SHOW FULL COLUMNS statement - 【OB Sharding】When the scan_all switch is false, union and union all are supported; - 【OB Sharding】When the scan_all switch is true, union all is supported - 【OB Sharding】show table, show index, etc. support like syntax - 【OB Sharding】Limited support for subqueries - 【OB Sharding】Support to adjust the memory limit according to the container memory size - Turn off the default parameter for fast-fail request probes. Off by default - Adjust the whitelist policy, no longer use the client_ip sent by the client, and directly use the tcp peer IP ### Improvements - Add max_used_connections to reduce log printing when client connection is disconnected - locality changes support all_dummy refresh - Intercept configuration table multi-row insertion - Compatible with MySQL 8.0, HandleShake Capability adds multi related value - Optimize partially duplicated logs - Whitelist optimization, telnet detection directly disconnects ### Bug fixes - Fix the memory problem caused by accessing internal tables and abnormally obtaining partition information - Fixed OB_MYSQL_COM_STMT_EXECUTE protocol, ref_cursor reported error fetch out of sequence under function - Fix the issue that the enable_client_ip_checkout parameter does not take effect when there is a connect attr parameter - Fix the Sharding scenario, the select table name of the sub-database and sub-table is case-sensitive, resulting in an error report - Fix the Sharding scenario, the select of sub-database and sub-table will be intercepted and unsupported syntax problem - Fixed an issue where a single SQL was sent multiple times, causing the SQL to take more than 40ms - Fix performance issues introduced by random partitions - Fix the problem of disconnection of changUser command under normal protocol - Fixed the problem that file systems such as xfs cannot accurately determine whether it is a directory using the readdir system call - Fix the problem that rslist startup fails more than 3 times and does not fall back to the original rslist - Fixed inaccurate sql routing caused by text PS escape symbols - Fix name super long text PS, prepare stage odp core - Fix text PS case insensitivity - Fix the error Unknown prepared statement handle when executing the text PS large request - Fix text PS date type route as partition key, text ps parameter routing is not allowed - Fix text PS trigger pl routing is not allowed - Fix text PS name contains illegal characters, execute error 1243 - Fix the problem that user, value, etc. are used as keywords in lexical analysis - Fixed the problem that SSL cannot be used for the link between Client and Proxy - 【OB Sharding】Fixed that the hint with partition key cannot calculate the partition key when inserting - 【OB Sharding】Fixed that if the partition key is after the 64th column in the insert statement, it will report that it cannot be calculated - 【OB Sharding】Fix the problem of disconnection of sequence query - 【OB Sharding】Fix the core caused by not supporting sum(case when) in the function - When hot restart, if the old connection receives the OB_MYSQL_COM_PING command, the old Proxy will actively disconnect the connection - 【OBSharding】 Fix the syntax parsing problem of delete and update   # 版本信息 | 名称 | 描述 | | --- | --- | | 发布时间 | 2022 年 11 月 01 日 | | 版本号 | v4.0.0 | | 提交号 | 9d5c90e562c61d9fcf8894993187aa20239db47e | ### 功能 - 支持 session 信息同步机制 - 支持公有云共享代理 CPU 资源租户隔离 - 支持 随机路由 - 支持 指定 ip 路由 - 支持 配置租户隔离 - 支持 OB_MYSQL_COM_STMT_RESET - 支持 Primary Zone 路由 - 支持 请求探测快速失败。仅限 POC 使用 - 支持 文本 PS - 支持 OB_MYSQL_COM_RESET_CONNECTION - 支持 连接串 ClusterId 自定义分隔符 - 支持非阿里云环境,使用 remote ip 作为 virtual ip - 【OB Sharding】支持 SHOW INDEX FROM 语句 - 【OB Sharding】支持 truncate 语法 - 【OB Sharding】支持 SHOW FULL TABLES 语句 - 【OB Sharding】SHOW KEYS FROM 语句 - 【OB Sharding】支持 SHOW FULL COLUMNS 语句 - 【OB Sharding】scan_all开关是 false 的时候,支持 union、union all; - 【OB Sharding】scan_all开关是 true 的时候,支持 union all - 【OB Sharding】show table 、show lndex 等支持like 语法 - 【OB Sharding】有限支持子查询 - 【OB Sharding】支持根据容器内存大小调整内存上限 - 关闭 请求探测快速失败 的默认参数。默认关闭 - 调整白名单策略,不再使用客户端传过来的client_ip,直接使用tcp对端IP ### 优化 - 客户端连接断开时,添加 max_used_connections 减少的日志打印 - locality变更支持all_dummy刷新 - 拦截配置表多行插入 - MySQL 8.0 兼容,HandleShake Capability 新增 multi 相关值 - 优化部分重复日志 - 白名单优化,telnet 探测直接断连接 ### BUG修复 - 修复访问内部表,异常获取分区信息导致的内存问题 - 修复 OB_MYSQL_COM_STMT_EXECUTE 协议,ref_cursor 在function下报错fetch out of sequence 的问题 - 修复 enable_client_ip_checkout 参数在有 connect attr 参数时不生效的问题 - 修复 Sharding 场景,分库分表的 select 表名区分大小写,导致的报错问题 - 修复 Sharding 场景,分库分表的 select 会被拦截不支持的语法问题 - 修复 单条SQL 多次发送,导致的 SQL 耗时超过 40ms 问题 - 修复随机分区引入的性能问题 - 修复 changUser 命令在普通协议下断连接问题 - 修复 xfs 等文件系统使用 readdir 系统调用无法准确判断是否为目录的问题 - 修复 rslist 方式启动,失败超过3次,没有回退到原始 rslist 的问题 - 修复文本 PS 转义符号引起的sql路由不准 - 修复名字超长文本 PS ,prepare阶段odp core - 修复文本 PS 大小写不敏感 - 修复文本 PS large request 中执行报错Unknown prepared statement handle - 修复文本 PS date 类型路由作为分区键,文本ps传参路由不准 - 修复文本 PS 触发pl路由不准 - 修复文本 PS 名字中含有非法字符,execute报错1243 - 修复词法解析中把user、value等作为关键字的问题 - 修复 Client 与 Proxy 链路无法使用 SSL 问题 - 【OB Sharding】修复带分区键的 hint 在 insert 的时候, 无法计算分区键 - 【OB Sharding】修复 insert 语句如果分区键在第 64 个列之后,会报无法计算 - 【OB Sharding】修复 sequence查询断连的问题 - 【OB Sharding】修复函数中不支持sum(case when)导致的core - 修复 热重启时,如果老连接接收到 OB_MYSQL_COM_PING 命令,老 Proxy 会主动断开连接的问题 - 【OB Sharding】修复 delete 和 update 的语法解析问题
最后提交信息为:
New features
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
C++
1
https://gitee.com/oceanbase/obproxy.git
git@gitee.com:oceanbase/obproxy.git
oceanbase
obproxy
obproxy
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册