SET READWRITE_SPLITTING HINT SOURCE
语法用于针对当前连接,设置读写分离的路由策略(自动路由或强制到写库)
SetReadwriteSplittingHintSource ::=
'SET' 'READWRITE_SPLITTING' 'HINT' 'SOURCE' '='('auto' | 'write')
SET READWRITE_SPLITTING HINT SOURCE = auto;
SET READWRITE_SPLITTING HINT SOURCE = write;
SET
、READWRITE_SPLITTING
、HINT
、SOURCE