返回首页

gbase数据、南大通用产品文档:GBase8aGCluster 配置参数

更新日期:2024年09月11日

在成功安装GBase 8a MPP Cluster 后,在各个节点机器上的
$GCLUSTER_BASE/config 目录下,gbase_8a_gcluster.cnf 文件是GBase 8a MPP
Cluster 的默认参数文件。
在GBase 8a MPP Cluster 的各个Coordinator 节点下的gbase_8a_gcluster.cnf 参数文
件中,共有下面的参数。
表6- 3Gcluster 参数汇总
编号
参数名称
说明

GBase 8a MPP Cluster 产品手册
6 附录
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
1539
编号
参数名称
说明
1
gcluster_adjust_nodes_before_redist
2
gcluster_count_optimize
3
gcluster_crossjoin_use_hash_distribution
4
gcluster_data_consistent_level
5
gcluster_ddl_parallel_execute
6
gcluster_log_level
7
gcluster_empty_result_set_optimize
8
gcluster_ha_event_monitor
9
gcluster_ha_node_left_event_delay
10
gcluster_hash_join_complex_optimize
11
gcluster_hash_redistribute_groupby_optimize
12
gcluster_hash_redistribute_join_optimize
13
gcluster_insertselect_use_values_optimize
14
gcluster_lock_level
15
gcluster_max_conn_in_pool
16
gcluster_max_thread_in_pool
17
gcluster_query_retry
18
gcluster_serial_exec_query
19
gcluster_single_hash_node_optimize
20
gcluster_special_correlated_optimize
21
gcluster_starschema_join_estimate_optimize
22
gcluster_starschema_optimize
23
gcluster_support_hash_redist_combiner
24
gcluster_union_optimize
25
gcluster_use_conn_pool
26
gcluster_use_new_decimal
27
gcluster_wait_query_cancel_timeout
28
gcluster_hash_redist_threshold_row
29
gcluster_loader_max_data_processors
30
gcluster_rebalancing_update_status_on_drop_table
31
gcluster_async_connect_timeout
32
gcluster_rebalancing_parallel_degree
33
gcluster_parallel_distribution_number
34
gcluster_enable_serial_load
35
gcluster_loader_min_chunk_size
36
gcluster_extend_ident
37
gcluster_kafka_brokers
38
gcluster_assign_kafka_topic_period
39
gcluster_kafka_max_message_size
40
gcluster_kafka_batch_commit_dml_count

GBase 8a MPP Cluster 产品手册
6 附录
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
1540
编号
参数名称
说明
41
gcluster_kafka_local_queue_size
42
gcluster_kafka_consume_batch
43
gcluster_kafka_parallel_commit
44
gcluster_kafka_primarykey_can_be_null
45
_t_gcluster_kafka_null_transform
46
gcluster_random_insert
47
gcluster_kafka_ignore_if_table_not_exist
48
gcluster_connect_net_read_timeout
49
gcluster_connect_net_write_timeout
50
gcluster_support_binary
51
gcluster_kafka_delete_execute_directly
52
gcluster_rebalancing_concurrent_count
53
gcluster_rebalancing_random_table_quick_mode
54
gcluster_rebalancing_step
55
gcluster_node_exec_retry_times
56
gcluster_sql_exec_retry_times
57
gcluster_create_mirror_mode
58
_gcluster_support_outfile_with_table_head_case_sensitive
59
_t_gcluster_dml_drs_enable
Readonly 参数
60
_t_gcluster_user_defined_join_hint
61
_t_gcluster_union_redist_optimize
62
_t_gcluster_union_redist_distinct
63
gcluster_segment_id_replace
64
_t_gcluster_support_cte
65
gcluster_shrink_to_rebalance
66
gcluster_rebalancing_ignore_mirror

javax.naming.Context 是连接配置的上下文接口。
表8-12 对javax.naming.Context 的支持情况
方法名
返回值类型
支持JDBC 4
bind(Name name, Object obj)
void
Yes
bind(String name, Object obj)
void
Yes
lookup(Name name)
Object
Yes
lookup(String name)
Object
Yes
rebind(Name
name,
Object
obj)
void
Yes
rebind(String
name,
Object
obj)
void
Yes
rename(Name oldName, Name
newName)
void
Yes
rename(String
oldName,
String newName)
void
Yes
unbind(Name name)
void
Yes
unbind(String name)
void
Yes

智能大对象的 GBase 8s ESQL/C API 允许应用程序就像访问操作系统文件一样访问
智能大对象。

不适合内存的智能大对象不必被读入文件,
然后从文件中访问;
它可以一次访问一个。
GBase 8s ESQL/C 应用程序通过下表中的 GBase 8s ESQL/C 库函数访问智能大对象。

ESQL/C 函数
描述
请参阅
ifx_lo_alter()
更改现有智能大对象的
存储特征
ifx_lo_alter() 函数
ifx_lo_close()
关闭打开的智能大对象
ifx_lo_close() 函数
ifx_lo_col_info()
检索 LO 特定结构中的
列级别存储特征
ifx_lo_col_info() 函数
ifx_lo_copy_to_file()
将智能大对象复制到操
作系统文件中
ifx_lo_copy_to_file()
函数

GBase 8s ESQL/C 编程指南
南大通用数据技术股份有限公司
- 207 -

ESQL/C 函数
描述
请参阅
ifx_lo_copy_to_lo()
将操作系统文件复制到
打开的智能大对象中
ifx_lo_copy_to_lo() 函

ifx_lo_create()
创建智能大对象的 IO
指针结构
ifx_lo_create() 函数
ifx_lo_def_create_spec()
分配 LO 特定结构并将
它的字段初始化为空值
ifx_lo_def_create_spec(
) 函数
ifx_lo_filename()
返回生成的文件名,
给定
一个 LO 指针结构和一个文
件规范
ifx_lo_filename() 函数
ifx_lo_from_buffer()
将指定数量的字节从用
户定义的缓冲区复制到智能
大对象中
ifx_lo_from_buffer() 函

ifx_lo_open()
打开现有的智能大对象
ifx_lo_open() 函数
ifx_lo_read()
从打开的智能大对象中
读取指定字节数
ifx_lo_read() 函数
ifx_lo_readwithseek()
在打开的智能大对象中
寻找指定位置,
并读取指定的
字节数
ifx_lo_readwithseek()
函数
ifx_lo_release()
释放提交到临时智能大
对象的资源
ifx_lo_release() 函数
ifx_lo_seek()
在打开的智能大对象中
设置下一个读或写的搜索位

ifx_lo_seek() 函数
ifx_lo_spec_free()
释放分配到 LO 特定结
构的资源
ifx_lo_spec_free() 函数
ifx_lo_specget_estbytes()
获取智能大对象的建立
大小(以字节为单位)
ifx_lo_specget_estbytes
() 函数
ifx_lo_specget_extsz()
获取智能大对象的分配
extent 大小
ifx_lo_specget_extsz()
函数
ifx_lo_specget_flags()
获取智能大对象的创建
时间标志
ifx_lo_specget_flags()
函数
ifx_lo_specget_maxbytes()
获取智能大对象的最大
大小
ifx_lo_specget_maxbytes
() 函数
ifx_lo_specset_sbspace()
获取智能大对象的
ifx_lo_specget_sbspace(

GBase 8s ESQL/C 编程指南
南大通用数据技术股份有限公司
- 208 -

ESQL/C 函数
描述
请参阅
sbspace 名称t
) 函数
ifx_lo_specset_estbytes()
设置智能大对象的估计
大小(以字节为单位)
ifx_lo_specset_estbytes
() 函数
ifx_lo_specset_extsz()
设置智能大对象的分配
extent 大小
ifx_lo_specset_extsz()
函数
ifx_lo_specset_flags()
设置智能大对象的创建
时间标志
ifx_lo_specset_flags()
函数
ifx_lo_specset_maxbytes()
设置智能大对象的最大
大小
ifx_lo_specset_maxbytes
() 函数
ifx_lo_specset_sbspace()
设置智能大对象的
sbspace 名称t
ifx_lo_specset_sbspace(
) 函数
ifx_lo_stat()
获取打开的智能大对象
的状态信息
ifx_lo_stat() 函数
ifx_lo_stat_atime()
返回智能大对象的上一
次访问时间
ifx_lo_stat_atime() 函

ifx_lo_stat_cspec()
返回智能大对象的存储
特征
ifx_lo_stat_cspec() 函

ifx_lo_stat_ctime()
返回智能大对象的状态
上一次更改的时间
ifx_lo_stat_ctime() 函

ifx_lo_stat_free()
释放分配到 LO 状态结
构的资源
ifx_lo_stat_free() 函数
ifx_lo_stat_mtime_sec()
返回最后一次修改智能
大对象的时间(以秒为单位)

ifx_lo_stat_mtime_sec()
函数
ifx_lo_stat_refcnt()
返回智能大对象的引用
次数
ifx_lo_stat_refcnt() 函

ifx_lo_stat_size()
返回智能大对象的大小
ifx_lo_stat_size() 函数
ifx_lo_tell()
返回打开智能大对象当
前搜索位置
ifx_lo_tell() 函数
ifx_lo_to_buffer()
将指定数量的字节从智
能大对象复制到用户定义的
缓冲区中
ifx_lo_to_buffer() 函数
ifx_lo_truncate()
将智能大对象截断到特
定的偏移量
ifx_lo_truncate() 函数

GBase 8s ESQL/C 编程指南
南大通用数据技术股份有限公司
- 209 -

ESQL/C 函数
描述
请参阅
ifx_lo_write()
将一个指定数量的字节
写入到一个打开的智能大对
象中
ifx_lo_write() 函数
ifx_lo_writewithseek()
在打开的智能大对象中
寻找指定的位置并写入指定
的字节数
ifx_lo_writewithseek()
函数

GBase 8s ESQL/C 编程指南
南大通用数据技术股份有限公司
- 210 -