forked from docs/doc-exports
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>
80 lines
6.7 KiB
HTML
80 lines
6.7 KiB
HTML
<a name="EN-US_TOPIC_0000001145814703"></a><a name="EN-US_TOPIC_0000001145814703"></a>
|
|
|
|
<h1 class="topictitle1">PG_STAT_SYS_INDEXES</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001145814703__en-us_topic_0059779068_p044874712410"><strong id="EN-US_TOPIC_0000001145814703__b842352706113925">PG_STAT_SYS_INDEXES</strong> displays the index status information about all the system catalogs in the <strong id="EN-US_TOPIC_0000001145814703__b84235270611417">pg_catalog</strong> and <strong id="EN-US_TOPIC_0000001145814703__b842352706114114">information_schema</strong> schemas.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001145814703__tcccdc3e196f64050b2ebb86592baf44c" 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_0000001145814703__r2ef22172992f46ac9513b6a964e0735f"><th align="left" class="cellrowborder" valign="top" width="24.16%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001145814703__abd3216863c7047fea6a3dcbdc4b2f3a4"><strong id="EN-US_TOPIC_0000001145814703__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_0000001145814703__a5b62d806d33f418e861f345850f30b3a">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_0000001145814703__ac4307c624e7445979edd04521a730541">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001145814703__r0629545866e240cc91fff09828571fda"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__adb9b02a1b9c54549b71711e5fb495a75">relid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814703__adba073e119fa44f7b57a775f8b8b0a1b">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__acf4ea2b14a6a47f5ad957c090d2578c6">Table OID for the index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__r3222cc622f404cad85fce1c8625299d6"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__a78f73d0ef08e45b088dd97baf4ce5485">indexrelid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814703__a5eb4840f177241fa9cc3a9b2d6c54095">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__a16eebedbb46549c6bbd8d74b65a58a7a">Index OID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__re4600a43f6f5489a810ae676992c9831"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__afcd8c34f5ec8495d966be30c59a95aae">schemaname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814703__ab160eb9c88be4418828ddc67dbb6f81d">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__a04f091f4639045f4bbad140ae8a889c0">Schema name for the index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__r7eecf2e4d64741bbac874c06ad2cc977"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__ac25de43ae7f342928ed9367068a13183">relname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814703__ae263c6aee0c64d33b6574678a50109b3">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__a88d8ed0502514be3940bb903c954a6d0">Table name for the index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__r9b4b577dab0d429eb9596498657a3367"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__af99881cfced24643892dcc81b410847c">indexrelname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="15.690000000000001%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145814703__acb52e2fe77b946d99bb4fca0b40d6be7">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__ac8e8967990b14498a92a8397f22b8dab">Index name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__rb3d32bf04f214d02b98c593d2cb3972b"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__aef113df749924ef18ab7119d68c3b88f">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_0000001145814703__aece8d5b12f494e9db9533ecc5b5f36e5">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__p16151643592">Number of index scans</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__rc070c961eab24c47bdb3b71c3967adeb"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__a891199d479e74c059b86e5d48ac8a747">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_0000001145814703__a71eb86984a46419cb8a153bb9bc567f4">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__p156163413594">Number of index entries returned by scans on this index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145814703__r3271bdbada394b4a9f9976539ccfefd4"><td class="cellrowborder" valign="top" width="24.16%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145814703__a8d663f9a6a8c475aa8320663f0078623">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_0000001145814703__aaa2873f54ec44186a9b64f2df0cf324a">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60.150000000000006%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145814703__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>
|
|
|