doc-exports/docs/dws/dev/dws_04_0776.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-01-19 13:37:49 +00:00

101 lines
8.4 KiB
HTML

<a name="EN-US_TOPIC_0000001145494673"></a><a name="EN-US_TOPIC_0000001145494673"></a>
<h1 class="topictitle1">PG_STATIO_ALL_TABLES</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001145494673__en-us_topic_0059778203_p192501721359"><strong id="EN-US_TOPIC_0000001145494673__b842352706151631">PG_STATIO_ALL_TABLES</strong> contains one row for each table in the current database (including TOAST tables), showing I/O statistics about accesses to that specific table.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145494673__tc07558432c034414bfb7826640efc480" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STATIO_ALL_TABLES columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001145494673__rcb4339f2dff046f6ba76f497580d1666"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001145494673__a98c30754b95947f8bd60089be8c8d316"><strong id="EN-US_TOPIC_0000001145494673__b84235270691445">Name</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_0000001145494673__a1bfcb627120a425299942491830037f0">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001145494673__a454a6198a452476daed3ad1caa4ae371">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001145494673__r71d42d4d07bd48af8d53c0aeb482906e"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__abbdf501d63614273b53f34802d7dd8c9">relid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__ad8970dfc165b450da5c959f7aa83df90">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__abdeb13bb65b14f6db2198b0fdeb689d1">Table OID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__rac6ea18d8f094576a9c7e1384e68483c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__ae40796e3472d468dbf171affacac3f38">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a142310b4d06a4b739a94113bbea56cb1">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a7643b17720944a569008faab2db0ac61">Schema name of the table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r40ac638f60cf42c7b4131df05fe7ed19"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__a5ee9b451696c4a1b9668753f44357bde">relname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a3a292b2a03bf4ab5906fe6f9f10a1b7a">name</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a7a89f863d2e34da2b966730ad8479f04">Table name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r6c12fdc68af84b92bea2323f02e4e667"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__aa91c04a2b5e043f5a7fb8878fe68788e">heap_blks_read</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__afe64c497ed2840b4808041f59f92924b">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a8aae51afdb8047bfb0d7206c610aab00">Number of disk blocks read from this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r500075d75c134deaa1da9002a7d133d3"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__abb9c0bab645c48b2b17a98747b7cd571">heap_blks_hit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a21b7e7a977694b8cb71cea63d833d8ee">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a5ae606e3f3a94d18a14bc205ac920503">Number of buffer hits in this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r161b931aed914b3083cb9323c9bdd195"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__ac89d8337cde946098991b69785884fb2">idx_blks_read</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a4ce913ef65364665843d60943c128cc0">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a42dcd675cc804e38b29249b5ee494a1f">Number of disk blocks read from the index in this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r7cfaaa75443b4006b7612c05cae242ef"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__a8448ae0dba7a4b70bc38cb9c5fdd5d82">idx_blks_hit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a372d9b71feb048239942862bdcee0b23">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__ae56b9e653c334999bd5bc749770273b5">Number of buffer hits in all indexes on this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__rb0041e89d92a424a8b3e738bb5741fdd"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__affba496513674dc39c91edf9cacfba43">toast_blks_read</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a788d00a5e161425eba6e644ea757470a">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a1547df08c45c4b478670d0642689eceb">Number of disk blocks read from the TOAST table (if any) in this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r3d3a1fcc8ff14df0bb4eb803977b1dfa"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__a7b17496564914a82acbcdfa7a47463f5">toast_blks_hit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a5896d69a46c14c28a0acc5031a5b97c5">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a5c99e07ccb5749959e88bce40f32ef12">Number of buffer hits in the TOAST table (if any) in this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__r80d7a309a02b45299ce8e7a263c0a01e"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__ad239559b3ae047bfae1a95829fa8be38">tidx_blks_read</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a60da90b15d4448aeb7a20479eb5cc9dc">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__ae6e8ea3f075643a9810c84e2ee88115c">Number of disk blocks read from the TOAST table index (if any) in this table</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001145494673__rbe4ba02f001644708545fbb2e67db2d9"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145494673__a9f5fe1ca511648469e6ead9dcd8a04c8">tidx_blks_hit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145494673__a3173b082f432493487fad488e562d2ab">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145494673__a6f6336ad42c1438395dfcaae8164b844">Number of buffer hits in the TOAST table index (if any) in this table</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>