加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Oracle

发布时间:2020-12-12 13:21:37 所属栏目:百科 来源:网络整理
导读:一、解决oracle进程数问题 select count(*) from v$process --当前的连接数 ? select value from v$parameter where name = ‘processes‘ --数据库允许的最大连接数??? 修改最大连接数 : ? alter system set processes = 300 scope = spfile; ? ? 重启数据

一、解决oracle进程数问题

select count(*) from v$process --当前的连接数 ?

select value from v$parameter where name = ‘processes‘ --数据库允许的最大连接数???

修改最大连接数: ?

alter system set processes = 300 scope = spfile; ?

?

重启数据库: ?

shutdown immediate; ?

startup; ?

??

--查看当前有哪些用户正在使用数据 ?

SELECT osuser,a.username,cpu_time/executions/1000000||‘s‘,sql_fulltext,machine ??

from v$session a,v$sqlarea b ?

where a.sql_address =b.address order by cpu_time/executions desc;??

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读