Oracle 并行相关的初始化参数

php中文网
发布: 2016-06-07 17:29:13
原创
1047人浏览过

Oracle数据库并行操作,特别是在RAC环境,一定程度上能够提升数据库的性能,所以对相关的初始化参数的了解是必要的,这篇文章将根

oracle数据库并行操作,特别是在rac环境,一定程度上能够提升数据库的性能,所以对相关的初始化参数的了解是必要的,这篇文章将根据实际的案例讨论oracle数据库的部分并行参数。

Oracle数据库相关的并行参数:

SQL> show parameter parallel


NAME                                TYPE                  VALUE

------------------------------------ ---------------------- --------------------

fast_start_parallel_rollback        string                LOW

parallel_adaptive_multi_user        boolean                TRUE

parallel_automatic_tuning            boolean                FALSE

parallel_degree_limit                string                CPU

parallel_degree_policy              string                MANUAL

parallel_execution_message_size      integer                16384

parallel_force_local                boolean                FALSE

parallel_instance_group              string

parallel_io_cap_enabled              boolean                FALSE

parallel_max_servers                integer                135

parallel_min_percent                integer                0

 


NAME                                TYPE                  VALUE

------------------------------------ ---------------------- --------------------

parallel_min_servers                integer                0

Hugging Face
Hugging Face

Hugging Face AI开源社区

Hugging Face 135
查看详情 Hugging Face

parallel_min_time_threshold          string                AUTO

parallel_server                      boolean                FALSE

parallel_server_instances            integer                1

parallel_servers_target              integer                64

parallel_threads_per_cpu            integer                2

recovery_parallelism                integer                0

下面是实际Oracle RAC环境下,Oracle并行参数的设置,,我们将优先讨论这些参数:

*.parallel_adaptive_multi_user=FALSE

*.parallel_execution_message_size=16384

*.parallel_max_servers=240

*.parallel_min_servers=0

*.parallel_threads_per_cpu=1

PARALLEL_ADAPTIVE_MULTI_USER

PropertyDescription

Parameter type Boolean

Default value true

Modifiable ALTER SYSTEM

Range of values true | false


^eBVyq:A E0

PARALLEL_ADAPTIVE_MULTI_USER, when set to true, enables an adaptive algorithm designed to improve performance in multiuser environments that use parallel execution. The algorithm automatically reduces the requested degree of parallelism based on the system load at query startup time. The effective degree of parallelism is based on the default degree of parallelism, or the degree from the table or hints, divided by a reduction factor.ITPUB个人空间T(k k(gsnA2i
当PARALLEL_ADAPTIVE_MULTI_USER参数设置为TRUE,启用设计的适当算法,在多用户环境下使用并行执行提升性能。这个算法基于查询开始时的系统负载自动减少请求的并行度。有效的并行度是基于默认的并行度,或者来自表或HINT的并行度,通过减少系数进行分割。

The algorithm assumes that the system has been tuned for optimal performance in a single-user environment.
9^,{G5s4fCDH1W8g3v0算法假定系统在单用户环境下按照最优性能被调整。

Tables and hints use the default degree of parallelism.ITPUB个人空间G8["q^8VxV2B%Sd
表和HINT使用默认的并行度。

ITPUB个人空间g9G(h7]NJ%U

PARALLEL_MAX_SERVERS

PropertyDescription

Parameter type Integer

Default value PARALLEL_THREADS_PER_CPU * CPU_COUNT * concurrent_parallel_users * 5

Modifiable ALTER SYSTEM

Range of values 0 to 3600

Oracle RAC Multiple instances can have different values.


7i(QH&n-O4Q+a0

Note:

This parameter applies to parallel execution in exclusive mode as well as in a Real Application Clusters environment.
最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号