返回首页

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

更新日期:2024年09月11日

功能说明
记录资源池信息信息。
表结构说明
表5- 294 表结构信息说明:




resource_pool_id
资源池ID
resource_pool_name
资源池名称
resource_pool_type
资源池类型(静态/动态)
parent_resource_pool_id
父资源池ID
priority
资源池优先级
max_memory
内存使用上限
max_tmp_table_space
磁盘临时空间使用上限
max_disk_space
磁盘空间使用上限
task_parallel
任务并发度
max_task_number
最大任务数量
cpu_percent
CPU 使用上限
disk_write_bps
磁盘写操作IO 使用上限
disk_read_bps
磁盘读操作IO 使用上限
waiting_timeout
任务等待时长上限
running_timeout
任务运行时长上限
Vc_id
虚拟集群名

本示例中,导出数据文件为普通文本格式时,数据中的空值设定为默认的\N。
$ ./db2to8a -D'test' -u'db2inst1' -p'db2inst1' -q"select * from t1"
-m'0' -e'|$|'
-f'data1.txt'
you machine is Little endian!
Connecting to test...

GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
578
Connected to test.
--- unload [text file] mode ---
--- field="|$|" ---
0 rows exported at 2013-08-30 13:15:44
6 rows exported at 2013-08-30 13:15:44
output file t11.dat11 closed
export:
6 rows.
export:
4 columns.
export time:

(SQL 管理 API)
随同 admin() 或 task() 函数,使用 stop mirroring 参数来为指定的 dbspace、
blobspace 或 sbspace 停止镜像。
语法

元素
描述
关键考虑
space_name blobspace、dbspace 或 sbspace 的名称。

GBase 8s 管理员参考
南大通用数据技术股份有限公司 - 812 -

用法
这个函数等同于 onspaces -r 命令。
示例
下列示例停止对名为 dbsp1 的 dbspace 的镜像:
EXECUTE FUNCTION task("stop mirroring","dbsp1");