返回首页

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

更新日期:2024年09月11日

GBA-01BR-0060
错误码
错误标识
错误显示信息
GBA-01BR-0060

Get FTD File Path error
错误出现原因
获取全文索引ftd 路径错误
分析与建议
检查全文索引路径是否正确

以下是 onparams 命令的示例:
onparams -a -d rootdbs -s 1000 # adds a 1000-KB log file to rootdbs
onparams -a -d rootdbs -i # inserts the log file after the current log
onparams -d -l 7 # drops log 7
onparams -p -d dbspace1 -s 3000 # resizes and moves physical-log to dbspace1

GBase 8s 管理员参考
南大通用数据技术股份有限公司 - 386 -
onparams -b -g 6 -n 3000 -r 2 -x 2.0 -m 1.0 # adds 3000 buffers of size
6K bytes each with 2 LRUS with maximum dirty of 2% and minimum dirty of 1%

优化器GUC 参数的Hint
功能描述
设置本次查询执行内生效的查询优化相关GUC 参数。hint 的推荐使用场景可以参考各
guc 参数的说明,此处不作赘述。
语法格式
set(param value)
参数说明

param 表示参数名。

value 表示参数的取值。

目前支持使用Hint 设置生效的参数有

布尔类:
enable_bitmapscan

enable_hashagg

enable_hashjoin

enable_indexscan

enable_indexonlyscan

enable_material

enable_mergejoin

enable_nestloop

enable_index_nestloop、enable_seqscan、enable_sort、enable_tidscan

整形类:
query_dop

浮点类:
cost_weight_index、
default_limit_rows、
seq_page_cost、
random_page_cost、
cpu_tuple_cost、
cpu_index_tuple_cost、cpu_operator_cost、effective_cache_size

GBase 8c V5 开发者手册
南大通用数据技术股份有限公司
577

枚举类型:
try_vector_engine_strategy

设置不在白名单中的参数,
参数取值不合法,
或hint 语法错误时,
不会影响查询执
行的正确性。使用explain(verbose on)执行可以看到hint 解析错误的报错提示。

GUC 参数的hint 只在最外层查询生效——子查询内的GUC 参数hint 不生效。

视图定义内的GUC 参数hint 不生效。

CREATE TABLE … AS … 查询最外层的GUC 参数hint 可以生效。