返回首页

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

更新日期:2024年09月11日

参数说明:控制优化器输出executor 模块的性能日志。
该参数属于SUSET 类型参数,请参考表15-1 中对应设置方法进行设置。
取值范围:布尔型

GBase 8c V5 开发者手册
南大通用数据技术股份有限公司
1268

on 表示使用。

off 表示不使用。
默认值:off

问题现象
insert into select 操作系统CPU 占用过高,执行慢。
解决方法
可以通过修改node 层配置参数_gbase_insert_malloc_size_limit = 最大字符串列定
义*3 进行尝试。示例:
varchar(2000)
gccli> set global _gbase_insert_malloc_size_limit=6000;
经测试,系统CPU 占用高情况未再出现,性能也由原来的1 小时16 分钟缩减至
23 分钟。

GBase 8a MPP Cluster 最佳实践
5 FAQ
文档版本(2022-02-11)
南大通用数据技术股份有限公司
89

功能说明
确保所有数据rebalance 完成后,可以将旧的distribution 删掉,将被替换节点从虚
拟集群中移除。
操作步骤
步骤1:将旧的distribution(Distribution ID 3)删掉,将被替换节点从虚拟集群中
移除。
$ gcadmin rmdistribution 3 vc vc1
cluster distribution ID [3]
it will be removed now
please ensure this is ok, input [Y,y] or [N,n]: y
select count(*) from gbase.nodedatamap where data_distribution_id=3 result is
not 0
refreshnodedatamap drop 3 success
gcadmin remove distribution [3] success
完成后的集群信息如下:
$ gcadmin
CLUSTER STATE:
ACTIVE
===========================================================
=====
|
GBASE COORDINATOR CLUSTER INFORMATION
|
===========================================================
=====
|
NodeName
|
IpAddress
| gcware | gcluster | DataState |
----------------------------------------------------------------
| coordinator1 | 172.168.83.11 |
OPEN
|
OPEN
|
0
|
----------------------------------------------------------------
| coordinator2 | 172.168.83.12 |
OPEN
|
OPEN
|
0
|
----------------------------------------------------------------
| coordinator3 | 172.168.83.13 |
OPEN
|
OPEN
|
0
|
----------------------------------------------------------------
=======================================================
|
GBASE VIRTUAL CLUSTER INFORMATION
|
=======================================================
|
VcName
| DistributionId |
comment
|

GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-04-10)
南大通用数据技术股份有限公司
306
-------------------------------------------------------
|
vc1
|
4
| comment message vc1 |
-------------------------------------------------------
|
vc2
|
2
| comment message vc2 |
-------------------------------------------------------
2 virtual cluster: vc1, vc2
3 coordinator node
0 free data node
$ gcadmin showdistribution vc vc1
Distribution ID: 4 | State: new | Total segment num: 3
Primary Segment Node IP
Segment ID
Duplicate Segment node
IP
===========================================================
==============
|