forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
105 lines
8.4 KiB
HTML
105 lines
8.4 KiB
HTML
<a name="EN-US_TOPIC_0000002121215393"></a><a name="EN-US_TOPIC_0000002121215393"></a>
|
|
|
|
<h1 class="topictitle1">PV_MATVIEW_DETAIL</h1>
|
|
<div id="body0000002121215393"><p id="EN-US_TOPIC_0000002121215393__p1351813536476"><strong id="EN-US_TOPIC_0000002121215393__b144911844183119">PV_MATVIEW_DETAIL</strong> displays detailed information about a materialized view. This view is supported only by clusters of version 9.1.0 200 or later.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002121215393__table13518853144716" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PV_MATVIEW_DETAIL columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000002121215393__row751818533472"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000002121215393__p1851816538474"><strong id="EN-US_TOPIC_0000002121215393__b18436166124398">Column</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_0000002121215393__p651815531472"><strong id="EN-US_TOPIC_0000002121215393__b169111012320">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000002121215393__p3518115384714"><strong id="EN-US_TOPIC_0000002121215393__b86898183212">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002121215393__row13518115314720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p18518165304711">matview</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p1551865394719">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p651815539479">Materialized view name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row1551875316470"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p5518135354715">baserel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p451915311471">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p75197537475">Base table name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row6519753204713"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p1551913537473">partids</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p1851916535479">oidvector</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p153751725115211">OID of a specified partition.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row351985316474"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p1251995318472">contain_entire_rel</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p1751995334714">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p838216448522">Whether to create a materialized view based on the entire base table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row105191453114720"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p16519053164713">build_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p951955304711">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p351905311470">Build mode of the materialized view.</p>
|
|
<ul id="EN-US_TOPIC_0000002121215393__ul8864104712595"><li id="EN-US_TOPIC_0000002121215393__li586444716596"><strong id="EN-US_TOPIC_0000002121215393__b15648193015333">'d'</strong>: indicates "deferred", which means that data is contained in the materialized view only when the view is refreshed for the first time.</li><li id="EN-US_TOPIC_0000002121215393__li10864747105920"><strong id="EN-US_TOPIC_0000002121215393__b16299145515339">'i'</strong>: indicates "immediate", which means that the latest data is included when the materialized view is created.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row1051915394712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p1851915318471">refresh_mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p111933117554">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p71635327553">Refresh mode of the materialized view.</p>
|
|
<p id="EN-US_TOPIC_0000002121215393__p36481827300">'d': stands for demand, indicating on-demand update.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row137961968115"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p1979676111116">refresh_method</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p479618613115">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p949139201411">Refresh method of the materialized view.</p>
|
|
<p id="EN-US_TOPIC_0000002121215393__p1165194216117"><strong id="EN-US_TOPIC_0000002121215393__b825415331502">'c'</strong> indicates a full refresh.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row2519185318477"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p1917693035611">mapping</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p1151913532476">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p3519115315476">Mapping between base table partitions and materialized view partitions</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row251975315475"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p5519195354717">active</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p16519195334712">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p95191053194720">Whether the materialized view needs to be refreshed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row551916536476"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p88251253587">refresh_start_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p52255165582">Timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p1251914535472">Start time of the last refresh</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002121215393__row207605317586"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000002121215393__p187606319580">refresh_finish_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000002121215393__p4760173120589">Timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000002121215393__p1676014316588">End time of the last refresh</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000002121215393__p5484123045817"></p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
|
|
</div>
|
|
</div>
|
|
|