Retro Eye care Haitian Deep Dark Default

SET READWRITE_SPLITTING HINT SOURCE

Description

The SET READWRITE_SPLITTING HINT SOURCE syntax is used to set readwrite splitting routing strategy for current connection.

Syntax

SetReadwriteSplittingHintSource ::=
  'SET' 'READWRITE_SPLITTING' 'HINT' 'SOURCE' '='('auto'|'write')

Example

  • Set the read-write splitting routing strategy to auto
SET READWRITE_SPLITTING HINT SOURCE = auto;
  • Set the read-write splitting routing strategy to write
SET READWRITE_SPLITTING HINT SOURCE = write;

Reserved word

SET, READWRITE_SPLITTING, HINT, SOURCE