> [!WalWriterMain]
> <table><tr><td rowspan="4" width="25%"><img src="assets/wl_activity_walwritermain.png"></td><td><b>Wait Category</b></td><td>Activity</td></tr><tr><td><b>Mechanism</b></td><td><code>WalWriterMain</code></td></tr><tr><td><b>Operations</b></td><td><a href="Operations/Tuple/ModifyTable">ModifyTable</a>, <a href="Operations/Distributed/Redistribute">Redistribute</a></td></tr><tr><td><b>Resources</b></td><td><a href="Resources/CPU">CPU</a></td></tr><tr><td colspan="3"><b>WAL Writer</b> is idling between its scheduled flushing rounds. The process operates on a heartbeat (typically every 200ms) to check if the volume of unwritten WAL in the buffers has reached a threshold that justifies a proactive write.</td></tr></table>