<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="replication-features-json">
      </a>
      19.5.1.17 Replication of JSON Documents
     </h4>
    </div>
   </div>
  </div>
  <p>
   In MySQL 8.4, it is possible to log partial updates
        to JSON documents (see
   <a class="xref" href="json.html#json-partial-updates" title="Partial Updates of JSON Values">
    Partial Updates of JSON Values
   </a>
   ).
        The logging behavior depends on the format used, as described
        here:
  </p>
  <p>
   <b>
    Statement-based replication.
   </b>
   JSON partial updates are always logged as partial updates.
          This cannot be disabled when using statement-based logging.
  </p>
  <p>
   <b>
    Row-based replication.
   </b>
   JSON partial updates are not logged as such by default, but
          instead are logged as complete documents. To enable logging of
          partial updates, set
   <a class="link" href="replication-options-binary-log.html#sysvar_binlog_row_value_options">
    <code class="literal">
     binlog_row_value_options=PARTIAL_JSON
    </code>
   </a>
   .
          If a replication source has this variable set, partial updates
          received from that source are handled and applied by a replica
          regardless of the replica's own setting for the variable.
  </p>
 </div>
 <br/>
</div>
