返回首页

gbase数据、南大通用产品文档:GBase8sha sds set 参数:

更新日期:2024年09月11日

创建共享磁盘主服务器
(SQL
管理 API)
随同 admin() 或 task() 函数,使用 ha sds set 参数来定义主服务器复制到共享磁盘
(SD)辅助服务器。
语法

元素
描述
关键考虑
primary_server
要设置作为主服务器的数据库
服务器名。
必须在 sqlhosts 文件中的
dbservername 条目中定义该名
称,或作为 Enterprise
Replication 组名。

用法
在标准服务器上运行这个函数来定义其作为 SD 辅助服务器的主服务器。
使用 ha sds set 参数来定义不活动的标准服务器作为主服务器,如果 SD 辅助服务器连
接到它。
使用 ha
sds
set
force 参数来定义不活动的标准服务器作为主服务器,
无论是否有任何 SD
辅助服务器连接到它。如果会话是活动的,则调用成功,但共享磁盘子系统可被损坏。
这个函数等同于 onmode -d set SDS primary 命令。
示例
下列示例将名为 ids_stores 的标准服务器转换到主服务器:
EXECUTE FUNCTION task("ha sds set","ids_stores");

Multi-Tenancy Capability
GBase 8a MPP Cluster provides multi-tenant capabilities through virtual cluster
technology to achieve physical or logical isolation between tenants.
The computing nodes are grouped into multiple virtual subsets within a virtual
cluster, with each subset physically isolated on resources and logically separated in
the namespace. The virtual cluster provides a unified access entry, metadata view,
execution scheduling, authentication, and permission management for all subsets.
On each computing node of a virtual subset, different application and user resource
quotas and query priorities can be flexibly configured through resource management
and resource groups.
With a sound permission authorization and management mechanism, different
applications can run in different virtual subsets, and different types of tasks of the
same application can run in the same subset, but with different resource quotas and
priorities, and necessary isolation is ensured. It's like running in a transparent
"sandbox."

GBase 8a MPP Cluster Technical White Paper
General Data Technology Co., Ltd.
- 19 -

功能说明
记录当前coordinator 节点的加载结果信息。
表结构说明
表5- 245 表结构信息说明:




TASK_ID
加载ID
DB_NAME
加载数据库名

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
1479
TB_NAME
加载表名
USER
当前加载用户名
ACCESS_IP
加载发起点IP
HOST_IP
客户端IP
START_TIME
加载开始时间
END_TIME
加载结束时间
ELAPSED_TIME
加载耗时
TOTAL_SIZE
加载文件总大小
AVERAGE_SPEED
加载平均速度
LOADED_RECORD
S
加载数据条数
SKIPPED_RECORD
S
加载数据跳过条数
IGNORED_FILES
加载跳过的文件数
RESULT
加载结果
SQL_CMD
加载SQL
MESSAGE
错误信息