gooderp18绿色标准版
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

26 linhas
3.6KB

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>CHECKPOINT</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="prev" href="sql-call.html" title="CALL" /><link rel="next" href="sql-close.html" title="CLOSE" /></head><body><div xmlns="http://www.w3.org/TR/xhtml1/transitional" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">CHECKPOINT</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="sql-call.html" title="CALL">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="sql-commands.html" title="SQL Commands">Up</a></td><th width="60%" align="center">SQL Commands</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 12.4 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="sql-close.html" title="CLOSE">Next</a></td></tr></table><hr></hr></div><div class="refentry" id="SQL-CHECKPOINT"><div class="titlepage"></div><a id="id-1.9.3.49.1" class="indexterm"></a><div class="refnamediv"><h2><span class="refentrytitle">CHECKPOINT</span></h2><p>CHECKPOINT — force a write-ahead log checkpoint</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
  3. CHECKPOINT
  4. </pre></div><div class="refsect1" id="id-1.9.3.49.5"><h2>Description</h2><p>
  5. A checkpoint is a point in the write-ahead log sequence at which
  6. all data files have been updated to reflect the information in the
  7. log. All data files will be flushed to disk. Refer to
  8. <a class="xref" href="wal-configuration.html" title="29.4. WAL Configuration">Section 29.4</a> for more details about what happens
  9. during a checkpoint.
  10. </p><p>
  11. The <code class="command">CHECKPOINT</code> command forces an immediate
  12. checkpoint when the command is issued, without waiting for a
  13. regular checkpoint scheduled by the system (controlled by the settings in
  14. <a class="xref" href="runtime-config-wal.html#RUNTIME-CONFIG-WAL-CHECKPOINTS" title="19.5.2. Checkpoints">Section 19.5.2</a>).
  15. <code class="command">CHECKPOINT</code> is not intended for use during normal
  16. operation.
  17. </p><p>
  18. If executed during recovery, the <code class="command">CHECKPOINT</code> command
  19. will force a restartpoint (see <a class="xref" href="wal-configuration.html" title="29.4. WAL Configuration">Section 29.4</a>)
  20. rather than writing a new checkpoint.
  21. </p><p>
  22. Only superusers can call <code class="command">CHECKPOINT</code>.
  23. </p></div><div class="refsect1" id="id-1.9.3.49.6"><h2>Compatibility</h2><p>
  24. The <code class="command">CHECKPOINT</code> command is a
  25. <span class="productname">PostgreSQL</span> language extension.
  26. </p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="sql-call.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sql-commands.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="sql-close.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">CALL </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> CLOSE</td></tr></table></div></body></html>
上海开阖软件有限公司 沪ICP备12045867号-1