返回首页

gbase数据、南大通用产品文档:GBase8cGS_WLM_PLAN_ENCODING_TABLE

更新日期:2024年09月11日

GS_WLM_PLAN_ENCODING_TABLE 系统表显示计划算子级的编码信息,
为机器学习
模型的提供包括startup time、total time、peak memory、rows 等标签值的训练、预测集。
名称
类型
描述
queryid
bigint
语句执行使用的内部query_id。
plan_node_id
integer
查询对应的执行计划的plan node id。
parent_node_id
integer
当前算子的父节点node id。
startup_time
bignit
该算子处理第一条数据的开始时间。
total_time
bigint
该算子到结束时候总的执行时间(ms)。
rows
bigint
当前算子执行的行数信息。
peak_memory
integer
当前算子在数据库节点上的最大内存峰值(MB)。
encode
text
当前计划算子的编码信息。

支持集群高可用和负载均衡

功能说明
列出所有表或者指定数据库中表的当前状态的信息。
语法格式
SHOW TABLE STATUS [FROM [vc_name.]database_name] { [LIKE 'pattern']
| [where conditions] }
表5- 122 参数说明
参数名称


vc_name
vc 名,可选项。
database_name
数据库名。
pattern
一个可以包含SQL “%”和“_”通配符的字符串。
where conditions
过滤条件。
示例
示例1:查看指定数据库指定表的状态信息。

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
1116
gbase> SHOW TABLE STATUS FROM vc1.demo WHERE name='t1'\G
*************************** 1. row ***************************
Name: t1
Engine: EXPRESS
Version: 10
Row_format: Compressed
Rows: 0
Avg_row_length: 0
Data_length: 0
Max_data_length: 0
Index_length: 0
Data_free: 0
Auto_increment: NULL
Create_time: 2020-07-15 18:17:10
Update_time: NULL
Check_time: NULL
Collation: utf8_general_ci
Checksum: NULL
Create_options: avg_row_length=5
Limit_storage_size: 0
storage_size: 284
table_data_size: 0
Comment:
local_hash_index_file_size: 0
global_hash_index_file_size: 0
tablespace_name: NULL
tablespace_path: NULL
1 row in set (Elapsed: 00:00:00.00)