oceanbase timeout 问题


数据一个比较常见的场景,使用ob 作为ap 分析,但是默认ob 的超时时间是10s

参考解决方法

修改会话时间

  • session 级别的
set session ob_query_timeout=2000000000;
  • 全局级别的
    需要有super 的权限
 
SET GLOBAL ob_query_timeout = 2000000000;

参考资料

https://open.oceanbase.com/docs/community/oceanbase-database/V3.1.1/about-query-timeout-design
https://open.oceanbase.com/docs/community/oceanbase-database/V3.1.1/ob_query_timeout
https://open.oceanbase.com/docs/community/oceanbase-database/V3.1.1/overview-of-system-variables
https://open.oceanbase.com/docs/knowledgeBase/configuration-affecting-oceanbase-database-connection-timeout


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM