返回首页

gbase数据、南大通用产品文档:GBase8sISM_DEBUG_LEVEL 环境变量

更新日期:2024年09月11日

在 ON-Bar 环境中使用 ISM_DEBUG_LEVEL 环境变量可以控制记录在 XBSA 消息日志
中的报告详细信息的级别。XBSA 共享库会写入此日志。

value 指定报告详细信息的级别,其中 1 ≤ value ≤ 9。
如果 ISM_DEBUG_LEVEL 未设置、具有空值或具有此范围之外的值,那么缺省详
细信息级别为 1。0 级的详细信息级别会使得所有 XBSA 调试记录无法显示。详细信息
级别为 1 时,将仅报告 XBSA 故障。

SQLPrimaryKeys 返回组成表的主键的列的名称。
驱动程序将此信息返回为结果集。该函数不支持在单个调用中返回多个表的主键。
下表描述了 SQLPrimaryKeys 的 SQLSTATE 和错误值。
SQLSTATE
错误值
错误消息

GBase 8s ODBC Driver 程序员指南
南大通用数据技术股份有限公司
- 235 -

SQLSTATE
错误值
错误消息
01000
-11001
General warning
08S01
-11020
Communication-link failure
24000
-11031
Invalid cursor state
S1000
-11060
General error
S1001
-11061
Memory-allocation failure
S1008
-11065
Operation canceled
S1010
-11067
Function-sequence error
S1090
-11071
Invalid string or buffer length
S1C00
-11092
Driver not capable
S1T00
-11094
Time-out expired
S1C00
-11300
SQL_DEFAULT_PARAM not supported
08S01
-11301
A protocol error has been detected. Current connection is
closed.
S1000
-11310
Create and Drop must be executed within a ServerOnly
Connection
S1000
-11320
Syntax error
S1000
-11323
The statement contained an escape clause not supported by
this database driver

系统要求
硬件平台(无特殊要求,参考统一的规范即可)。
软件平台:RedHat7 以上版本或Suse12 以上版本
安装步骤

GBase 8a MPP Cluster 产品手册
5 数据库管理指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
1415
集群安装步骤请参考章节3 软件安装,以下假设集群已安装完成:
在集群中任意管理节点上执行以下命令:
# export GBASE="$GCLUSTER_HOME/bin/gccli -uroot"
# $GCLUSTER_HOME/bin/gbase_install_mllib
Installing gbmllib plugin...
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/regress/linear.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/regress/logreg.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/utilities/utilities.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/array/array_func.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/kmeans/kmeans.sql
Loading from file:
/opt/gcluster/server/lib/gbase/plugin/mllib/recursive_partitioning/decision_tree.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/stats/correlation.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/sample/sample.sql
Loading from file: /opt/gcluster/server/lib/gbase/plugin/mllib/svm/svm.sql
Loading from file:
/opt/gcluster/server/lib/gbase/plugin/mllib/linalg/matrix_ops.sql
Loading from file:
/opt/gcluster/server/lib/gbase/plugin/mllib/linalg/linalg.sql
即可完成安装。