<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="performance-schema-clone-status-table">
      </a>
      29.12.19.1 The clone_status Table
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045069457376">
  </a>
  <a class="indexterm" name="idm46045069455888">
  </a>
  <p>
   The
   <code class="literal">
    clone_status
   </code>
   table shows the status of
          the current or last executed cloning operation only. The table
          only ever contains one row of data, or is empty.
  </p>
  <p>
   The
   <code class="literal">
    clone_status
   </code>
   table has these columns:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       ID
      </code>
     </p>
     <p>
      A unique cloning operation identifier in the current MySQL
              server instance.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       PID
      </code>
     </p>
     <p>
      Process list ID of the session executing the cloning
              operation.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       STATE
      </code>
     </p>
     <p>
      Current state of the cloning operation. Values include
      <code class="literal">
       Not Started
      </code>
      ,
      <code class="literal">
       In
              Progress
      </code>
      ,
      <code class="literal">
       Completed
      </code>
      , and
      <code class="literal">
       Failed
      </code>
      .
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       BEGIN_TIME
      </code>
     </p>
     <p>
      A timestamp in
      <code class="literal">
       '
       <em class="replaceable">
        <code>
         YYYY-MM-DD
              hh:mm:ss
        </code>
       </em>
       [.
       <em class="replaceable">
        <code>
         fraction
        </code>
       </em>
       ]'
      </code>
      format that shows when the cloning operation started.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       END_TIME
      </code>
     </p>
     <p>
      A timestamp in
      <code class="literal">
       '
       <em class="replaceable">
        <code>
         YYYY-MM-DD
              hh:mm:ss
        </code>
       </em>
       [.
       <em class="replaceable">
        <code>
         fraction
        </code>
       </em>
       ]'
      </code>
      format that shows when the cloning operation finished.
              Reports NULL if the operation has not ended.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       SOURCE
      </code>
     </p>
     <p>
      The donor MySQL server address in
              '
      <code class="literal">
       HOST:PORT
      </code>
      ' format. The column displays
              '
      <code class="literal">
       LOCAL INSTANCE
      </code>
      ' for a local cloning
              operation.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       DESTINATION
      </code>
     </p>
     <p>
      The directory being cloned to.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       ERROR_NO
      </code>
     </p>
     <p>
      The error number reported for a failed cloning operation.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       ERROR_MESSAGE
      </code>
     </p>
     <p>
      The error message string for a failed cloning operation.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       BINLOG_FILE
      </code>
     </p>
     <p>
      The name of the binary log file up to which data is
              cloned.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       BINLOG_POSITION
      </code>
     </p>
     <p>
      The binary log file offset up to which data is cloned.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       GTID_EXECUTED
      </code>
     </p>
     <p>
      The GTID value for the last cloned transaction.
     </p>
    </li>
   </ul>
  </div>
  <p>
   The
   <code class="literal">
    clone_status
   </code>
   table is read-only. DDL,
          including
   <a class="link" href="truncate-table.html" title="15.1.37 TRUNCATE TABLE Statement">
    <code class="literal">
     TRUNCATE TABLE
    </code>
   </a>
   , is
          not permitted.
  </p>
 </div>
 <br/>
</div>
