dble读写分离功能怎么不生效?生效后,哪些语句发主,哪些语句发从呢? #3145
Answered
by
Dinosauria
Dinosauria
asked this question in
Q&A
-
dble读写分离功能怎么不生效?生效后,哪些语句发主,哪些语句发从呢? |
Beta Was this translation helpful? Give feedback.
Answered by
Dinosauria
Feb 21, 2022
Replies: 1 comment
-
前置条件dble 的读写分离功能,和心跳功能是密切相关的,当读写分离不生效时:
当上述配置无问题后,需要关注哪些sql dble会进行法从。 读写分离执行sql下发主从情况先了解 读写分离功能限制 按照事务划分
事务性的语句:
特殊SQL读写分离中执行Hint-sql,直接下发到指定的路由实例,见其语法 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
PanternBao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
前置条件
dble 的读写分离功能,和心跳功能是密切相关的,当读写分离不生效时:
当上述配置无问题后,需要关注哪些sql dble会进行法从。
读写分离执行sql下发主从情况
先了解 读写分离功能限制
按照事务划分
事务中
非事务中
预处理语句:prepare/execute …、deallcate/drop prepare …c.因inner-1475调整为:预处理语句:prepare 非select 语句/execute …、deallcate/drop prepare …