返回首页

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

更新日期:2024年09月11日

取值:[0|1]
默认值:1
说明:Use server character set and collation if
- opt_character_set_client_handshake is not set
- client has not specified a character set
- client character set is the same as the servers
- client character set doesn't exists in server
默认值:1,不走上面的设定。
修改方式:
可使用set 语句修改值也可在配置文件中修改值。
适用于session、
global
范围均可。

注意

在进行备份时需要集群各项状态正常。

由于gcrcman 需要与gcware 有交互,因此,需要在安装gcware 服务的
Coordinator 上执行备份操作。

集群拓扑结构不能发生改变。拓扑结构包括Coordinator 节点,Data 节点,
distribution,distribution 的各个segment 与datanode 的对应关系。

备份时,
由于gcrcman 工具运行节点获取当前时间作为备份点的备份时间,
因此集群务必保持各节点时间一致,才能保证在不同节点上进行持续备
份。

实例级备份时,
需要使用集群安装用户dbauser
(默认gbase)

执行gcadmin
switchmode readonly,将集群设置为只读状态,备份完毕后,执行gcadmin
switchmode normal,
将集群恢复为正常状态。
否则会报告错误信息,
例如:
gcrcman>backup level 0

获取存储过程输出参数。


样例代码
code
参考6.2.2.4 的code2

函数名称
返回值
返回值类

函数参数
参数含义
Save_para
m_val
返回callproc
函数返回OUT 参
数值
LIST



GBase Python 接口开发手册


- 32 -

南大通用数据技术股份有限公司