forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
101 lines
8.7 KiB
HTML
101 lines
8.7 KiB
HTML
<a name="EN-US_TOPIC_0000001764650984"></a><a name="EN-US_TOPIC_0000001764650984"></a>
|
|
|
|
<h1 class="topictitle1">PG_STAT_BGWRITER</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001764650984__en-us_topic_0059778449_p39295200418"><strong id="EN-US_TOPIC_0000001764650984__b84235270620334">PG_STAT_BGWRITER</strong> displays statistics about the background writer process's activity.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764650984__tb1655c061465480b89adc9d701ac4c2c" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_BGWRITER columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764650984__rd6993a94096047139d4f7bd3db570988"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764650984__ab8bf4d6312ed4ca5bf9342abb01273cf"><strong id="EN-US_TOPIC_0000001764650984__b25163963843716">Column</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001764650984__ad8f5fbf88c694899ab2b2e7d6e3fa6e6"><strong id="EN-US_TOPIC_0000001764650984__b6673175413461">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001764650984__a08a7d269470849788a8d1cabe0b91aa0"><strong id="EN-US_TOPIC_0000001764650984__b9371857144615">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001764650984__r4f52f87c01c3473fb42f4db0cf883e39"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a8ffaf2a0050f4482b90433c1f9194393">checkpoints_timed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__afa74ab87bd56492fb36bbf4927048c88">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__a3904583e9fdf4b3bb79773acefff5f02">Number of scheduled checkpoints that have been performed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__rabd874d596b3466897a52ef02a8f64c1"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a012b1070665e4e678e7d60991a4d7691">checkpoints_req</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__a5c8f92211a06421782e97d2d25949326">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__a78e04ccce7e343fc9e792466d0a98980">Number of requested checkpoints that have been performed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__rc1863fecca45431da5a3e0727cd8358a"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a3d10460d62154b26a30f4fd1504bd44b">checkpoint_write_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__af99ece4d96464eb7a9d2723109fbbb6a">Double precision</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__a7b794f9f96f64d41a9c9a2eae511106b">Time spent on writing files to the disk during checkpoints, in milliseconds.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__re524421a1f7242c79f1ec14fee4c34aa"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a046c9ee7d33a4181ba6b0ee75ebba1e8">checkpoint_sync_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__ac692d944b6054516b4232af0c57b37ee">Double precision</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__af2ba882463d94b109c61684de307624d">Time spent on synchronizing data to the disk during checkpoints, in milliseconds.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__rce6abb3a22314cdda7a3461adaa48ef9"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__ac3c75f2be33c4f3bab611ecc76d1f5b1">buffers_checkpoint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__a17da57d631d54b1e8e0ff47d07c5690e">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__a028b177e95954a20a34d73c5fc8dbece">Number of buffers written during checkpoints.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__r18ce06487fb348118951e6a2b2602a5e"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a9bdf67dc3fd34824bf140388924d661f">buffers_clean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__aad43428e928947d4a3068dfebce9becb">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__a704ed87a10e44215ba94b220081c175e">Number of buffers written by the background writer.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__r4448c21bdcf14d988b4302fa59c5af36"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a74334a9ba0d4451daf5b6b1b257fcf51">maxwritten_clean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__a46342e52c8e4484a9769dc264441524a">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__aa74cc0c8c75a426c82a3a90e829e63e4">Number of times the background writer stopped a cleaning scan because too many buffers were written.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__r26ccc1151938474d9f85af0948dd4b91"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a7302d4a29f99427f880c824b260b24da">buffers_backend</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__afb10104a596543a88b7190108e57cb55">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__p8659105272814">Number of buffers written directly by a backend</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__rbc8a769a7d3941c9902caf0b8ae3bc64"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__afbcb70fef9124c7d9c5e6577c0846647">buffers_backend_fsync</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__a73166f5ccd9b4176b37c0c1adbaaf4e2">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__ae8ce54b655f84e12997807dfd181691d">Number of times that the backend has to execute <strong id="EN-US_TOPIC_0000001764650984__b0700143864717">fsync</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__r47b73db014d54492af59fd1280e6bd7e"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a961aa18d14474ba6ab3076ef166ec0e4">buffers_alloc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__a3b2927908bcf41a681ff2986b2557646">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__a1db902d9f8214ee19eef5aa360ce81ed">Number of buffers allocated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764650984__rbcfbbcfd57fa4986a9ac01f089e68dde"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764650984__a35815a578bc94c9c8f4f89a587c7adc6">stats_reset</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764650984__abed77aea70b9464da868d1fa1d7c1b7a">Timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764650984__af37743f11db341e588da1a7a31813b0e">Time at which these statistics were reset.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
|
|
</div>
|
|
</div>
|
|
|