doc-exports/docs/dws/dev/dws_04_0829.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

73 lines
5.9 KiB
HTML

<a name="EN-US_TOPIC_0000001233883309"></a><a name="EN-US_TOPIC_0000001233883309"></a>
<h1 class="topictitle1">PGXC_TOTAL_SCHEMA_INFO_ANALYZE</h1>
<div id="body0000001127119187"><p id="EN-US_TOPIC_0000001233883309__p173587536319"><strong id="EN-US_TOPIC_0000001233883309__b1896016421370">PGXC_TOTAL_SCHEMA_INFO_ANALYZE</strong> displays the overall schema space information of the cluster, including the total cluster space, average space of instances, skew ratio, maximum space of a single instance, minimum space of a single instance, and names of the instances with the maximum space and minimum space. It provides visibility into the schema space usage of the entire cluster. This view can be queried only on CNs.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001233883309__table1587313721120" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PGXC_TOTAL_SCHEMA_INFO_ANALYZE columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001233883309__row587317101113"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001233883309__afbe7fe3528aa4d23a961fb047a3be366">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001233883309__a32766e1c79fc45b5a8bc604d73582551">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001233883309__a37865a77d1a4411998bbb8d0892f7e33">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001233883309__row787497121111"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p432671020129">schemaname</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p143261210131217">text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p15326171012129">Schema name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883309__row118755711117"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p432651018120">databasename</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p1432671091214">text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p03261910121211">Database name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883309__row11877778116"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p1032761014125">nodegroup</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p15327610161211">text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p7327121061212">Name of the node group</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883309__row1878379117"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p1632715104128">total_value</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p1327510111217">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p153281106123">Total cluster space in the current schema</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883309__row115153018129"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p1328191020127">avg_value</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p532811018124">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p11328810121211">Average space of instances in the current schema</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883309__row15559202516135"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p855932517138">skew_percent</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p5559182541314">integer</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p655962561312">Skew ratio</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001233883309__row182701820121317"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001233883309__p22701207131">extend_info</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001233883309__p927082017130">text</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001233883309__p52704201130">Extended information, including the maximum space of a single instance, minimum space of a single instance, and names of the instances with the maximum sapce and minimum space</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>