设为首页 加入收藏

TOP

oracle11g创建新的用户和修改最大连接数
2015-07-24 11:49:39 来源: 作者: 【 】 浏览:4
Tags:oracle11g 建新 用户 修改 最大 连接
create user test identified by root;
grant create session,resource to root;
alter user test account unlock;
grant create view to test;
grant any sequece to test;
grant create synonym to ich;--创建别名的权限
drop user test cascade;
连接时用户民不区分大小写
alter system set sec_case_sensitive_logon=false scope=both;
commit;
修改用户密码
alter user system identified by system;?
在用户1中建立的sequece test_seq如果想在用户2中使用(select test_seq.nextval from dual)必须现在用户2中执行select test_seq.nextval from dual;
oracle一个创建用户、创建表空间、授权、建表的完整过程
1. 用sys登录sql plus:

    usename: sys as sysdba

    password: ****

2. 查看最大连接数: select value from V$parameter where name="processes";

3. 查看当前连接数: select count (*) from V$process;

4. 把最大连接数改成300:alter system set processes=300 scope=spfile

5. 重启DB: shutdown immediate;

                 startup;

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇oracle强化练习之单行函数 下一篇OracleRAC环境下如何更新patch(Ro..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Announcing October (2025-12-24 15:18:16)
·MySQL有什么推荐的学 (2025-12-24 15:18:13)
·到底应该用MySQL还是 (2025-12-24 15:18:11)
·进入Linux世界大门的 (2025-12-24 14:51:47)
·Download Linux | Li (2025-12-24 14:51:44)