doc-exports/docs/dws/dev/dws_04_0732.html
Lu, Huayi a24ca60074 DWS DEVELOPER 811 version
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>
2023-01-19 13:37:49 +00:00

71 lines
5.7 KiB
HTML

<a name="EN-US_TOPIC_0000001098654690"></a><a name="EN-US_TOPIC_0000001098654690"></a>
<h1 class="topictitle1">PG_INDEXES</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001098654690__a79f4a824f6454c0f9b58bdaacb5ff230"><strong id="EN-US_TOPIC_0000001098654690__b84235270617736">PG_INDEXES</strong> displays access to useful information about each index in the database.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001098654690__t6752a0fa401e461a81eb90b3c9cb3762" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_INDEXES columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001098654690__r00561005ab6546bf9f5d1eec3545bb9b"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001098654690__ad665784a19684523977a5862aa949c9a"><strong id="EN-US_TOPIC_0000001098654690__b84235270691445">Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001098654690__a15b3cafc4b994a79b781c951a1943ed1">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001098654690__a29f97bf571164f248baf64478f2b7b75">Reference</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001098654690__ae080ba636701453b944615e235675443">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001098654690__r821bb8ac64c24222be3e5d38e4f4f681"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654690__a57421fa4c7144bdb8024f709cbd45d40">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001098654690__a009da414521c409ba346128378434ca9">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001098654690__ac49eb0957de34590b836320f344bbf91"><a href="dws_04_0600.html">PG_NAMESPACE</a>.nspname</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654690__a716cd0063eac4cc695b58c779a301797">Name of the schema that contains tables and indexes</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098654690__r1998b036c30c47628207e7761cd0fad4"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654690__a4581326cd597430cb6f037e3c45a523e">tablename</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001098654690__affcdaab1efc149adbbfa7d02d94e9537">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001098654690__a0e5c514301e54923bd5f947325606bd2"><a href="dws_04_0578.html">PG_CLASS</a>.relname</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654690__ad61caa49206b416484bf88d959a435f7">Name of the table for which the index serves</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098654690__rcd43f20b95db4c19a321dbcd1355d7f4"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654690__a625b52fbc4904cdcba0db2cb61aa53e7">indexname</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001098654690__a8866d17ea7674a8aaa4dde8e575803ea">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001098654690__a82480c685ccd4037b5d6ea5bd7624839"><a href="dws_04_0578.html">PG_CLASS</a>.relname</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654690__a6a56310e308a46598968b06c5a1ad2c8">Index name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098654690__r88ad5cd10b53487ebe00461d08838297"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654690__a0729658f4cc24a43955bb6427f8f8482">tablespace</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001098654690__a678580b87ea74a50b59771945f38b5df">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001098654690__a0b64747cd3be4793a061e33d2831b1dd"><a href="dws_04_0622.html">PG_TABLESPACE</a>.spcname</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654690__a5271d14ce18b477fb208b86d11ee20b9">Name of the tablespace that contains the index</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001098654690__r39419e0b87d141b990cef092a6a124f2"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001098654690__a7d13cde2a0a246a393c89a4c0478db8e">indexdef</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001098654690__a5ecec5de235745539763c06f62483daf">text</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001098654690__a0bdf5dab0e5c4895a27ae025da134bbc">-</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001098654690__a3dafa7ee5abc4bdf8a6524f6d21ac39c">Index definition (a reconstructed <strong id="EN-US_TOPIC_0000001098654690__b1580175014149">CREATE INDEX</strong> command)</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>