12
返回列表 发新帖
楼主: gloria

如何增加数据库最大连结数?

[复制链接]
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
11#
 楼主| 发表于 2001-10-14 13:52 | 只看该作者
Thank you waterworld.

I tried in SQL/PLU. First I logined as userA and then in userA's session I logined as userB. From v$session, I first saw userA as a record in it, then it changed to userB, and the result of "count(*) from v$session" is the same.

I don't know if what you say can be taken as in UNIX system, when I login as UserA, I use "su - userB" to change to UserB, after finished what I want to do as UserB, I can use exit to return to UserA. But in Oracle system, I don't know how to see the same scene.

Can you please tell me how I can validate what you said?

使用道具 举报

回复
论坛徽章:
21
ITPUB元老
日期:2005-02-28 12:57:002012新春纪念徽章
日期:2012-02-13 15:11:182012新春纪念徽章
日期:2012-02-13 15:11:182012新春纪念徽章
日期:2012-02-13 15:11:182012新春纪念徽章
日期:2012-02-13 15:11:18马上有车
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有对象
日期:2014-02-19 11:55:142012新春纪念徽章
日期:2012-02-13 15:11:18
12#
发表于 2001-10-14 17:14 | 只看该作者
from metalink,
u can select distinct type from v$session , and background, user, recursive.

Several types of sessions are reported in the V$SESSION view
of Oracle.  The Oracle background processes will create a  
minimum of five sessions -- more depending upon the  
settings for DB_WRITERS, the checkpoint process, archiving,
etc.  Each user logged into the database will create at least
one session for the initial login, and may have one or more
recursive sessions too.  Recursive sessions occur on
certian operations initiated by a user login and will add
another row to V$SESSION for that user.  It is often useful
(or necessary) to determine how many sessions for a given
user are actual logins and how many are recursive.

The TYPE column of V$SESSION can be used to determine how
many sessions are created by background processes, how many
by users and how many by recursive sessions.  it should
contain one of three values: BACKGROUND, USER, and
RECURSIVE.
但是不知道recursive session产生的具体例子。

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
13#
 楼主| 发表于 2001-10-14 17:44 | 只看该作者
Thank you Chao_ping very much!

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表