doc-exports/docs/dws/dev/dws_04_0768.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

80 lines
6.7 KiB
HTML

<a name="EN-US_TOPIC_0000001233681717"></a><a name="EN-US_TOPIC_0000001233681717"></a>
<h1 class="topictitle1">PG_STAT_SYS_INDEXES</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233681717__en-us_topic_0059779068_p044874712410"><strong id="EN-US_TOPIC_0000001233681717__b842352706113925">PG_STAT_SYS_INDEXES</strong> displays the index status information about all the system catalogs in the <strong id="EN-US_TOPIC_0000001233681717__b84235270611417">pg_catalog</strong> and <strong id="EN-US_TOPIC_0000001233681717__b842352706114114">information_schema</strong> schemas.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233681717__t0120a343cc7e402491e6c8a54715db94" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_SYS_INDEXES columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233681717__rfc6e640ae1e8463d966b0437265c7beb"><th align="left" class="cellrowborder" valign="top" width="24.16%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233681717__a53226a51c3ca46089fead96b6df2ef2c"><strong id="EN-US_TOPIC_0000001233681717__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.690000000000001%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233681717__aa51b9e762d9c494eaf5286890dd1b030">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60.150000000000006%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233681717__a80666962c7154413958544bef6e618ea">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233681717__r04dbb6021b3c4e96aa2854130faa5243"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__a1764e5b5f43347a58506a37d83d5f226">relid</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__a621fdd2942d741f08d34215814e3088b">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__a2d90c25447ab424ab2b69c376c003fe2">Table OID for the index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__r71d0bb43b0db447a93118fa70a4780fb"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__af93a0ec5c6e74af780ebd1645ca7ed4d">indexrelid</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__af910a22d177c49b49c7d78e95627b2bf">oid</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__aff7cf2349d6b439ea997e1e414807861">OID of this index </p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__r72a48caf5f644accb64710d6cdf04beb"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__a415b224d98b84734934cadac9eb76c9d">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__a4e117cc27b6c4c378f69d97663353595">name</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__a962c3c08769c4a46ada01754c3d1d78a">Name of the schema this index is in</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__r37183046861e457abef483d317c40e7f"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__a05665b9b18b441eea00146288349eca8">relname</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__ae201234c107a4dbd815981671bb084d8">name</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__a442b65f8ef9142a8b7f68b13949f983d">Name of the table for this index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__r024b885d03bb4b30bbf5e67b65715269"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__a62f7b48d020e49659f0114f6fe8c7833">indexrelname</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__a11258e45732c4c7d9968f4614f5c8a07">name</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__a08b07d23ddf44db4976c26e0489efbbf">Name of this index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__rbd5f5d79e78b432eb425f3d0f6cd660c"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__a187424a2b7f84834bda17e5e876d9f80">idx_scan</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__a1025c724c96d48aaa1bd5fcaf4dd601c">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__p16151643592">Number of index scans</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__r582dd69a5e464639b6fcbbcebaaff2a0"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__aa9a04df2ebc4447197616c4d59249e4f">idx_tup_read</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__a6adacd92453b4fb9a0d676331679591d">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__p156163413594">Number of index entries returned by scans on this index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233681717__r4b71bc40fa0742a697637dcf19ecf6eb"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233681717__a1ed918a507a14c2aa689fdf9d233b7c0">idx_tup_fetch</p>
</td>
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233681717__a807ce41aafa64c26a34fd781178ddcda">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233681717__p561620485913">Number of rows that have live data fetched by index scans</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>