forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
101 lines
8.3 KiB
HTML
101 lines
8.3 KiB
HTML
<a name="EN-US_TOPIC_0000001233563331"></a><a name="EN-US_TOPIC_0000001233563331"></a>
|
|
|
|
<h1 class="topictitle1">PG_STATIO_ALL_TABLES</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001233563331__en-us_topic_0059778203_p192501721359"><strong id="EN-US_TOPIC_0000001233563331__b0633162075212">PG_STATIO_ALL_TABLES</strong> displays I/O statistics about all tables (including TOAST tables) in the current database.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233563331__tb3c0fa1daa6a4a7fa874c63bba69a1f3" 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_0000001233563331__r50c7181594d74d2baf1f0ad7b67e4278"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233563331__ab0303cea376d429b8034b3bdb58fdff6"><strong id="EN-US_TOPIC_0000001233563331__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_0000001233563331__a725d58666f5a4db1826e0f941383fad8">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_0000001233563331__ab872794eed204c229ff38a75fce36e59">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233563331__r11fdbba3d52a4ac7bc92fd4e6ad1a8e6"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a0a224084460b4908becd8c6c3954460a">relid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563331__a47e63817673b45368c28392de2c30bad">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__aab1935ecb8b14c6db18650e86b587b7c">Table OID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r313c268d7f2b4b009f47aa19bef145fe"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a9d6e036f5bb4454cae615de98767039a">schemaname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563331__a6ec6db7a6ae34c8e8480cf38c8db1e6d">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a5fa2ee5eb2aa492dba2d88f8cce6a841">Schema name of the table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r1c0a0fa0e1f04860a0e778d8444dbf02"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__ac34f21dddeee449fb0731f51a391e160">relname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563331__a1bba3c7e72864f558fd75043ec4957fc">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__ac387c6f653404f209455f640f3ecaac2">Name of a table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r7858a6e3a3b441d499be73fb1fc44fac"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__af348db1a5b12430d82234eef6c736991">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_0000001233563331__a69953aa8553d43548d8b83ae082da402">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a7e69a39113204ba2b9c319c18298b0a8">Number of disks read from this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__rcaa67ae050a24a10b9494c73fa322748"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__ad7aba7aae28a4f8a94730bfdb1a79d16">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_0000001233563331__a0ad204150f2a41a99f53564c5008e82d">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a39373afe5de048fc90e2256ce24a9483">Number of buffer hits in this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r8a3014841d7c4e45afc83e3175860fb3"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a3d8f76f34f7649b8a3e85be52a024ab8">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_0000001233563331__a9c3908cdc6dc496987333a47b01c226d">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a29556ade09184a79992a454958871128">Number of disk blocks read from the index in this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__rf66d2f09f97d4b26a0a6ce52cecc4c59"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a53a3c2cf36c942d49720bfe956ab40d8">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_0000001233563331__a98082a06c18744d5a92e523a2629bae7">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a7547af3f3a96429aa032c63d4bf866d4">Number of buffer hits in all indexes on this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__re90d59ab69e240f48c9b147e7bd1733c"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a6402707cebca46298886ed27b7d5df86">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_0000001233563331__a6d0fdcda6eb64c238777aaf52407e99f">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a37ad06b8b355456e8d5f63ed2190bdc1">Number of disk blocks read from the TOAST table (if any) in this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r73e829b9a67b488586c0196f614b4876"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a9d0cb48ff1fa405fb67d9514056690b8">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_0000001233563331__a0bac8c551ade4274a6df2afcaa0af3b8">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__a7d6864c3ac164fb38e00e740edc9793e">Number of buffer hits in the TOAST table (if any) in this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r220e264d6b7a4744aa0f4addc2b66ef9"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a4337b6ab6c694c84ae5fdae2a8f7e4b9">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_0000001233563331__a8c778b940dfb4094a4e8b39bc60875f1">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__acd204e6d7a2c4a4e8e1d3bb277050dcc">Number of disk blocks read from the TOAST table index (if any) in this table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233563331__r41f6a77c843f4d51968b3b5cc8473563"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563331__a40b7b9bb8fdf4cfc8ca748d0b46dfb98">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_0000001233563331__ab32c6d28d11946eeacb622513afae871">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563331__afe4529c1712647bc8039736238cdfece">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>
|
|
|