doc-exports/docs/dws/dev/dws_04_0765.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.4 KiB
HTML

<a name="EN-US_TOPIC_0000001233563299"></a><a name="EN-US_TOPIC_0000001233563299"></a>
<h1 class="topictitle1">PG_STAT_USER_INDEXES</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001233563299__en-us_topic_0059777687_p726419361416"><strong id="EN-US_TOPIC_0000001233563299__b84235270622367">PG_STAT_USER_INDEXES</strong> displays information about the index status of user-defined ordinary tables and TOAST tables.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233563299__tf95f23fff5f14486adda5d772e3aec7b" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_STAT_USER_INDEXES columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233563299__rdacc7951b3564c46a5658c4e291a5b04"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233563299__ade341347a2304fbf83dadc11d9528ebe"><strong id="EN-US_TOPIC_0000001233563299__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_0000001233563299__aa528bcfc039640b5923015cb33fafb86">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="55.00000000000001%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233563299__af325071c65194a58be9e11897b8f1a64">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233563299__rba2cb207883e45f09ca744d7cc9f8c0e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__a9730db9f6577477eb0cfdd30bdaf8041">relid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__ac55bc3b802254c87ade75f485457a2c8">oid</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__a22685009884e4e999ab8b4bd9ebb1eb0">Table OID for the index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__ra4f7181fa55a4960a6a5ba4d7abd628e"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__a3b79205abf584f9aa09c8c9e1df4d7e3">indexrelid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__a0ca9e32c51c54218b607f2d615b71c7f">oid</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__abf0b01f377fe4b208d89c9b09beea374">OID of this index </p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__r92eda404baef466487eee98dd7d0fc68"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__acfca3a2427084da981cba315c67f4820">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__a04fdf372496a4295a76cf3926e289c18">name</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__a6401f03128a94341a2c59dbff76b43c7">Name of the schema this index is in</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__r011ad66fcd954fdcab3328e9fe259fca"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__aae7638549aeb412e9656b968fe3fbab4">relname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__af952e1147811417bbf4ec0a94bdcf87c">name</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__ac7b42fa1c466460a8c27d1a4dc18d058">Name of the table for this index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__ra97d9013cc884a14af97f28d0eb4b76f"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__afc97051e5e9c4f51ab4ddbf301c6c92a">indexrelname</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__a6ddb2439c17c4429a998e97a9738f479">name</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__aa6368489e907448082075ec334e65da1">Name of this index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__rd29d81707e6944db9d951e034afeb719"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__a42767667b8674a298a13dadae954c00e">idx_scan</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__a0717428877ca4f2ebc5fcbed5e0bc060">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__afac300dd1b744471b10c36fc321f6e71">Number of index scans</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__rfd3dc71cc59c49cbb3ceb7b983880f6a"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__a827e1d04f6824154bb9432de8f1e3029">idx_tup_read</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__a2632b3ca0b634ada8d4b6c2d6bf0be47">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__af8a2e336935640148c81f3640c228980">Number of index entries returned by scans on this index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233563299__r5b1f79a2c5624345914854a50ee05155"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233563299__a48ecef1e50e0434aa9f41cf3dcdc9d4c">idx_tup_fetch</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233563299__abdaa8f52e49d4ccd93c6b3297197c5ea">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="55.00000000000001%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233563299__p98541834114810">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>