<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h3 class="title">
      <a name="preventing-use-of-optimizer-trace">
      </a>
      10.15.14 Preventing the Use of Optimizer Trace
     </h3>
    </div>
   </div>
  </div>
  <p>
   If, for some reason, you wish to prevent users from seeing traces
      of their queries, start the server with the options shown here:
  </p>
  <div class="copytoclipboard-wrapper">
   <pre class="programlisting one-line language-terminal"><div class="docs-select-all right" id="sa25718024"><div class="copy-help left">Press ⌘+C to copy</div> <div class="right"><button class="clipboard-btn" title="Copy to Clipboard"><span class="icon-clipboard"></span></button></div></div><code class="language-terminal"><span class="token constant">--maximum-optimizer-trace-max-mem-size</span><span class="token attr-value"><span class="token punctuation">=</span>0</span> <span class="token constant">--optimizer-trace-max-mem-size</span><span class="token attr-value"><span class="token punctuation">=</span>0</span></code></pre>
  </div>
  <p>
   This sets the maximum size to 0 and prevents users from changing
      this limit, thus truncating all traces to 0 bytes.
  </p>
 </div>
 <br/>
</div>
