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.4 KiB
HTML
80 lines
6.4 KiB
HTML
<a name="EN-US_TOPIC_0000001145894545"></a><a name="EN-US_TOPIC_0000001145894545"></a>
|
|
|
|
<h1 class="topictitle1">PG_STAT_USER_INDEXES</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001145894545__en-us_topic_0059777687_p726419361416"><strong id="EN-US_TOPIC_0000001145894545__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_0000001145894545__t96afcb279b13400f9eacde8e37a8a7e8" 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_0000001145894545__rc6d303271e18472bad5b634b15d2b546"><th align="left" class="cellrowborder" valign="top" width="25.85%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001145894545__ae95bd1ff51344f58b52a1d085620349f"><strong id="EN-US_TOPIC_0000001145894545__b84235270691445">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.01%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001145894545__a7b03b933bcbe4c32ad65014bbf9e4fa8">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.14%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001145894545__aba0dda3cc0b9404893dbecd45fe63bd3">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001145894545__r85c76db7ceeb44dc8e1dc136f3ea93cd"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__a443f1f32056745c89ff0a8362866c1db">relid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__a80ea051c8c3240f2934c6d64c696f283">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__aa7c281c0b5884ed894b4304d7a9420af">Table OID for the index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__r35e1e3c698e3449899471416773374ae"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__af3a7442343764c0f92747c93f31577cd">indexrelid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__a5cde03f08a20472289cf0b380e7aa0e5">oid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__af6aa24bcc716417c9b64cfec094121b9">Index OID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__r45cc2aa9c0284b46aa5720e541b902de"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__a11fd71a92e4e4f689f0587e940c381f1">schemaname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__a17e35fc4777d495b9dce29d2f8c68ed8">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__aa1b7782af6734c87aa58eceb11e00251">Schema name for the index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__r08606e8552c0413a8fa209322f5f3858"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__a83191abfae234edaaadf831c1c1cf04b">relname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__a30adafe1d8ce4ea7affefedb00ac7ab4">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__a7c7f27134cc24dd7ad2de674ae3b887a">Table name for the index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__re6d03b029c054490b968902eb0102053"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__a42b9186bf05642fdb8d51311122d17f8">indexrelname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__afd74e0826f6d4e09bf165304c9c7d5de">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__ae1bfafaf9de94a5cb2c9c605343a2524">Index name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__r577ca22f19734ab295a174b6f621efb3"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__a99561104d9d44d52998705365aef0b60">idx_scan</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__a49aa7be40eac406bb6e12937db2954b9">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__a1c3a220e5aa245c49541c0332affb934">Number of index scans</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__r17765a0c5f954331bc3704c35e46e1cb"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__ab79643161828414984864c2762c10052">idx_tup_read</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__af0d1d997aea74f63bf29e4e84ca4cea7">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__a28ac92fef6e04f89b3641569a22ba65f">Number of index entries returned by scans on this index</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001145894545__r9e8351f24423400aa7d9c9ed1c7cbec9"><td class="cellrowborder" valign="top" width="25.85%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001145894545__a2d2805ffd99b47ad8c0a3967d45b8e6e">idx_tup_fetch</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.01%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001145894545__ac1d7c231fc254a6eaec8194b25efb39c">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.14%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001145894545__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>
|
|
|