返回首页

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

更新日期:2024年09月11日

FILE_IOSTAT
通过对数据文件IO 的统计,反映数据的IO 性能,用以发现IO 操作异常等性能问题。
名称
类型
描述
filenum
oid
文件标识。
dbid
oid
数据库标识。
spcid
oid
表空间标识。
phyrds
bigint
读物理文件的数目。
phywrts
bigint
写物理文件的数目。
phyblkrd
bigint
读物理文件块的数目。
phyblkwrt
bigint
写物理文件块的数目。
readtim
bigint
读文件的总时长(单位:微秒)。
writetim
bigint
写文件的总时长(单位:微秒)。
avgiotim
bigint
读写文件的平均时长(单位:微秒)。
lstiotim
bigint
最后一次读文件时长(单位:微秒)。

GBase 8c V5 开发者手册
南大通用数据技术股份有限公司
953
名称
类型
描述
miniotim
bigint
读写文件的最小时长(单位:微秒)。
maxiowtm
bigint
读写文件的最大时长(单位:微秒)。

问题现象
全文索引更新处理时报错。
查看express.log,gcluster 层有如下的异常信息:
2018-05-23 20:42:15.653 [SQLDISP][ERROR][S:3651112][Q:119671099]:Quer
y failed, THD(0x11506e000) HOST(15.150.8.95:5050->6138812) reason: Lost

GBase 8a MPP Cluster 最佳实践
5 FAQ
文档版本(2022-02-11)
南大通用数据技术股份有限公司
174
connection to GBase server during query SQL(UPDATE GCLOCAL INDE
X "IX_RG010005" ON "horus"."rwa_source_0001_n6")
2018-05-23 20:42:30.716 [SQLDISP][ERROR][S:3651112][Q:119671099]:Fail
to create KillConnection, reason: Can't connect to GBase server on '15.150.

删除 sbspace
(SQL 管
理 API)
随同 admin() 或 task() 函数,使用 drop sbspace 参数来删除指定的 sbspace。
语法

元素
描述
关键考虑
sbspace
要删除的 sbspace
名。
该 sbspace 必须存在。
在您删除 sbspace 之前,请删除所有包括引用该 sbspace
的 BLOB 或 CLOB 列的表。

用法
这个函数等同于 onspaces -d 命令。
示例
下列示例删除名为 sbspace3 的 sbspace:
EXECUTE FUNCTION task("drop dbspace","sbspace3");