返回首页

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

更新日期:2024年09月11日

功能
这个参数用于配置GBase 8a MPP Cluster 保存进程ID 文件的操作系统路径。
错误的pid 文件会导致节点的gcware 不能正常启动或停止服务。
当节点的集群启
动或停止异常时,可以通过这个参数查看相应的pid 文件是否存在,内容是否正
确。
该参数的默认值为:
$GCLUSTER_BASE/log/$GCLUSTER_SID/gclusterd.pid

BIOS 配置推荐
使用海光最新量产BIOS,升级版本(OSSSX237 > OSSSX248)。使用最新版
本BIOS 可解决低版本存在的各类Bug,更利于发挥海光CPU 性能。
BIOS 配置方法如下:
1. BIOS 修改Core Performance Boost 到“Enable”模式
(默认Enabled,HYGON CBS->Core Performance Boost)





南大通用数据技术股份有限公司
29/44
该选项控制是否使用“睿频”,允许CPU 超越基频运行

2. BIOS 修改Global C-State Control 到“AUTO”模式
(默认Disabled,HYGON CBS->Global C-State Control)
控制CPU 闲置时的功耗,允许自动进入CPU 进入省电模式。





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

3. BIOS 修改P-State 到“Normal”模式
(默认Normal,Advanced->CPU Configuration->P-State Control)
控制CPU 的工作状态,可以通过BIOS 中可设置为Normal 和Performance。当设
置为Normal 之后OS 可以使用cpupower 或tuned-adm 工具修改P-State 状态。





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

4. BIOS 修改SMT Mode 到“Enabled”模式
(默认Enabled,Chipset->SMT Mode)
开启超线程技术






南大通用数据技术股份有限公司
32/44
5. BIOS 修改SVM Mode 到“Disabled”模式
(默认Enable,Advanced-> CPU Configuration->SVM Mode)
控制是否开启硬件虚拟化技术

6. BIOS 修改SR-IOV Support 到“Disabled”模式
(默认Enable,Advanced-> PCI Bus Driver Version->SR-IOV Support)
关闭虚拟化网卡直通模式





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

7. BIOS 修改IOMMU 到“Disabled”模式
(默认Enable,HYGON CBS-> NBIO Common Options->NB Configuration->IOMMU)
关闭虚拟化内存直通选项






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

SQLFetch 访存结果集的一行数据。
驱动程序返回使用 SQLBindCol 绑定到存储位置的所有列的数据。
下表描述了 SQLFetch 的 SQLSTATE 和错误值。
SQLSTATE
错误值
错误消息
01000
-11001
General warning
01004
-11003
Data truncated
07006
-11013
Restricted data-type attribute violation
08S01
-11020
Communication-link failure
22002
-11024
Indicator value required but not supplied
22003
-11025
Numeric value out of range

GBase 8s ODBC Driver 程序员指南
南大通用数据技术股份有限公司
- 225 -
SQLSTATE
错误值
错误消息
22005
-11026
Error in assignment
22008
-11027
Datetime field overflow
22012
-11028
Division by zero
24000
-11031
Invalid cursor state
40001
-11037
Serialization failure
S1000
-11060
General error
S1001
-11061
Memory-allocation failure
S1002
-11062
Invalid column number
S1008
-11065
Operation canceled
S1010
-11067
Function-sequence error
S1C00
-11092
Driver not capable
S1T00
-11094
Time-out expired