2021-01-03
Oracle表属性degree有三个值,1、n、default;为default有官方的说明是什么意思么?
Oracle表属性degree有三个值,1、n、default;为default有官方的说明是什么意思么?
收藏
分享
3条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏
Oracle表属性degree有三个值,1、n、default;为default有官方的说明是什么意思么?
只搜索到官方的这个hint,没有表的default说明
For a statement-level PARALLEL hint:
■ PARALLEL: The statement always is run parallel, and the database computes the degree of parallelism, which can be 2 or greater.
■ PARALLEL (DEFAULT): The same as PARALLEL. The DEFAULT keyword is included for completeness.
■ PARALLEL (AUTO): The database computes the degree of parallelism, which can be 1 or greater. If the computed degree of parallelism is 1, then the statement runs serially.
■ PARALLEL (MANUAL): The optimizer is forced to use the parallel settings of the objects in the statement.
■ PARALLEL (integer): The optimizer uses the degree of parallelism specified by integer.
评论
有用 0跟parallel_degree_policy参数有关,在默认情况下,该参数值为manual,此时如果配置表的degree为default,正常查询(不带hint),也会有并行查询的情况,并行度为cpu
评论
有用 0
墨值悬赏