forked from docs/doc-exports
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>
101 lines
8.6 KiB
HTML
101 lines
8.6 KiB
HTML
<a name="EN-US_TOPIC_0000001233761761"></a><a name="EN-US_TOPIC_0000001233761761"></a>
|
|
|
|
<h1 class="topictitle1">GS_TABLE_CHANGE_STAT</h1>
|
|
<div id="body0000001194200895"><p id="EN-US_TOPIC_0000001233761761__p1630871913377"><strong id="EN-US_TOPIC_0000001233761761__b3256348145013">GS_TABLE_CHANGE_STAT</strong> displays the changes of all tables (excluding foreign tables) of the database on the current node. The value of each column that indicates the number of times is the accumulated value since the instance was started.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233761761__table12446193374" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_TABLE_CHANGE_STAT columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233761761__row33088196375"><th align="left" class="cellrowborder" valign="top" width="23.23%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233761761__p6309141917370">Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="19.189999999999998%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233761761__p14309319203716">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="57.58%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233761761__p630911912373">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001233761761__row43091219143720"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p1031015191379">schemaname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p631041915371">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p14310141915374">Namespace of a table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row1631017196376"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p331017195379">relname</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p183111619203719">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p193111119123717">Table name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row1031151913377"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p631161915377">last_vacuum</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p4311131923720">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p031113194375">Time when the last <strong id="EN-US_TOPIC_0000001233761761__b969616257522">VACUUM</strong> operation is performed manually</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row93111219153714"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p0311101933718">vacuum_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p1731213197376">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p3312101913373">Number of times of manually performing the <strong id="EN-US_TOPIC_0000001233761761__b628063215210">VACUUM</strong> operation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row1031231903718"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p1231271916375">last_autovacuum</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p1731221910375">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p131213196375">Time when the last <strong id="EN-US_TOPIC_0000001233761761__b1964874695219">VACUUM</strong> operation is performed automatically</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row43137195374"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p17313191917373">autovacuum_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p23131619123719">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p631331919376">Number of times of automatically performing the <strong id="EN-US_TOPIC_0000001233761761__b59282046537">VACUUM</strong> operation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row63131219173718"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p33131819143713">last_analyze</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p93134196379">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p43141195377">Time when the <strong id="EN-US_TOPIC_0000001233761761__b2082311185319">ANALYZE</strong> operation is performed (both manually and automatically)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row331451914379"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p73143199375">analyze_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p193143195374">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p13314111914378">Number of times of performing the <strong id="EN-US_TOPIC_0000001233761761__b1950461955310">ANALYZE</strong> operation (both manually and automatically)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row11314191923713"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p20315161917374">last_autoanalyze</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p131521917377">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p16315519163714">Time when the last <strong id="EN-US_TOPIC_0000001233761761__b884062745312">ANALYZE</strong> operation is performed automatically</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row173156198372"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p73159196372">autoanalyze_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p153151619173712">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p831515195373">Number of times of automatically performing the <strong id="EN-US_TOPIC_0000001233761761__b143953411531">ANALYZE</strong> operation</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001233761761__row8315141920371"><td class="cellrowborder" valign="top" width="23.23%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233761761__p9316201963718">last_change</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="19.189999999999998%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233761761__p13163194376">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="57.58%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233761761__p2031614197376">Time when the last modification (<strong id="EN-US_TOPIC_0000001233761761__b12872427539">INSERT</strong>, <strong id="EN-US_TOPIC_0000001233761761__b172883429536">UPDATE</strong>, or <strong id="EN-US_TOPIC_0000001233761761__b162883422536">DELETE</strong>) is performed</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>
|
|
|