请教两个参数的具体说明和区?

[复制链接]
查看11 | 回复6 | 2006-4-28 13:53:48 | 显示全部楼层 |阅读模式
环境: win2k+oracle 9.2
问题;  数据库的两个参数processes和open_cursors的具体含义是什么,区别在哪里?
附: 可以认为open_cursors是java中一个connection上所能创建的最大statement数目吗,可以认为porcesses是oracle所能接收最的session数目吗,谢谢大家?
回复

使用道具 举报

千问 | 2006-4-28 13:53:48 | 显示全部楼层
PROCESSES
specifies the maximum number of operating system user processes that can simultaneously connect
to Oracle. Its value should allow for all background processes such as locks, job queue processes,
and parallel execution processes.

OPEN_CURSORS
specifies the maximum number of open cursors (handles to private SQL areas) a session can have at
once. You can use this parameter to prevent a session from opening an excessive number of cursors.
This parameter also constrains the size of the PL/SQL cursor cache which PL/SQL uses to avoid having
to reparse as statements are reexecuted by a user.
回复

使用道具 举报

千问 | 2006-4-28 13:53:48 | 显示全部楼层
最初由 Toms_zhang 发布
[B]PROCESSES
specifies the maximum number of operating system user processes that can simultaneously connect
to Oracle. Its value should allow for all background processes such as locks, job queue processes,
and parallel execution processes.

OPEN_CURSORS
specifies the maximum number of open cursors (handles to private SQL areas) a session can have at
once. You can use this parameter to prevent a session from opening an excessive number of cursors.
This parameter also constrains the size of the PL/SQL cursor cache which PL/SQL uses to avoid having
to reparse as statements are reexecuted by a user. [/B]

谢谢你,请问"operating system user processes "具体指的是什么?如果在服务器上用sql*plus连接到oracle,应该算是一个,是吗?如果在客户端上用sql*plus连接到oracle,也应该算一个吗?
回复

使用道具 举报

千问 | 2006-4-28 13:53:48 | 显示全部楼层
open_cursors:
说明: 指定一个会话一次可以打开的游标 (环境区域) 的最大数量, 并且限制 PL/SQL 使用的 PL/SQL
游标高速缓存的大小, 以避免用户再次执行语句时重新进行语法分析。请将该值设置得足够高,
这样才能防止应用程序耗尽打开的游标。
值范围: 1 - 操作系统限制值。
默认值: 64
回复

使用道具 举报

千问 | 2006-4-28 13:53:48 | 显示全部楼层
processes:
说明: 指定可同时连接到一个 Oracle Server 上的操作系统用户进程的最大数量。该值应允许执行所有后台进程, 如:
作业队列 (SNP) 进程和并行执行 (Pnnn) 进程。
值范围: 6 到根据操作系统而定的一个值。
默认值: 由 PARALLEL_MAX_SERVERS 确定
回复

使用道具 举报

千问 | 2006-4-28 13:53:48 | 显示全部楼层
最初由 ah-mol 发布
[B]processes:
说明: 指定可同时连接到一个 Oracle Server 上的操作系统用户进程的最大数量。该值应允许执行所有后台进程, 如:
作业队列 (SNP) 进程和并行执行 (Pnnn) 进程。
值范围: 6 到根据操作系统而定的一个值。
默认值: 由 PARALLEL_MAX_SERVERS 确定 [/B]

谢谢你,请问"operating system user processes "具体指的是什么?如果在服务器上用sql*plus连接到oracle,应该算是一个,是吗?如果在客户端上用sql*plus连接到oracle,也应该算一个吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行