Reference: parameters (GUC)#

oushudb_main_directory#

oushu main directories

Value Range

Default

Set Classifications

String

/data1/oushudb/masterdd

master, system, restart

oushudb_segment_directory#

oushudb segment directory

Value Range

Default

Set Classifications

String

/data1/oushudb/segmentdd

master, system, restart

oushudb_main_temp_directory#

main temporary directories

Value Range

Default

Set Classifications

String

/tmp

master, system, restart

oushudb_segment_temp_directory#

segment temporary directories

Value Range

Default

Set Classifications

String

/tmp

master, system, restart

oushudb_main_port#

oushu main port

Value Range

Default

Set Classifications

0-65546

7432

system

oushudb_segment_port#

oushu segment port

Value Range

Default

Set Classifications

0-65546

40000

system

catalog_url#

配置元数据访问路径, ‘default_nameservice’ 应当在 magma-client.xml 中展开。

Value Range

Default

Set Classifications

String

default_nameservice/vsc_catalog

system

gp_vmem_protect_limit#

每个机器上划分给OushuDB计算节点的内存的90%(DB会一定程度超用,所以不建议配置为100%),单位是MB。

Value Range

Default

Set Classifications

0-INT_MAX/2

8192

session, reload

nvseg_perseg#

查询并行度为VC节点数 * nvseg_perseg,在CPU资源充裕的情况下建议配置为8。

Value Range

Default

Set Classifications

1-128

4

master, session, reload

plan_cache_mode#

控制自定义计划或者通用计划的选择,在实时场景下推荐配置为auto。

Value Range

Default

Set Classifications

auto,force_generic_plan,force_custom_plan

force_custom_plan

master,system,restart

cache_disk_quota_segment#

根据DB临时磁盘大小配置每个计算节点缓存大小,默认512GB。

Value Range

Default

Set Classifications

0-INT32_MAX

512GB

master,system,restart

cache_memory_quota_segment#

缓存服务器内存使用量。使用 HORC 时,建议 10 GB 起步,能够显著加速 hdfs 访问。

Value Range

Default

Set Classifications

0-INT32_MAX

1024

master, session, restart

default_numeric_unconstrained_storage#

控制建表时 NUMERIC 实际存储类型,默认为有限精度(38位精度,15位小数)。如需无限精度,请配置为 NUMERIC。

Value Range

Default

Set Classifications

NUMERIC(M, D), NUMERIC

NUMERIC(38,15)

master, session, reload