{
    "mode": "man",
    "parameter": "CHECKPOINT",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/CHECKPOINT/7/json",
    "generated": "2026-05-30T05:10:04Z",
    "synopsis": "CHECKPOINT",
    "sections": {
        "NAME": {
            "content": "CHECKPOINT - force a write-ahead log checkpoint\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "CHECKPOINT\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "A checkpoint is a point in the write-ahead log sequence at which all data files have been\nupdated to reflect the information in the log. All data files will be flushed to disk. Refer\nto Section 30.5 for more details about what happens during a checkpoint.\n\nThe CHECKPOINT command forces an immediate checkpoint when the command is issued, without\nwaiting for a regular checkpoint scheduled by the system (controlled by the settings in\nSection 20.5.2).  CHECKPOINT is not intended for use during normal operation.\n\nIf executed during recovery, the CHECKPOINT command will force a restartpoint (see\nSection 30.5) rather than writing a new checkpoint.\n\nOnly superusers can call CHECKPOINT.\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "The CHECKPOINT command is a PostgreSQL language extension.\n\n\n\nPostgreSQL 14.23                                2026                                   CHECKPOINT(7)",
            "subsections": []
        }
    },
    "summary": "CHECKPOINT - force a write-ahead log checkpoint",
    "flags": [],
    "examples": [],
    "see_also": []
}