首页 电脑 电脑学堂 查看内容

oracle中创建恢复目录

2011-8-23 10:25 522 0

摘要: 一,创建rmants表空间,同时创建rman用户并配置其默认表空间 create tablespace rmants datafile 'D:oracleproduct10.1.0 man...
关键词: nbsp rman rmants catalog 用户 tablespace create 空间 权限 配置

一,创建rmants表空间,同时创建rman用户并配置其默认表空间 create tablespace rmants datafile 'D:\oracle\product\10.1.0 man mants01.dbf' size 50M   create user rman identified by rman default tablespace rmants;   二,给rman用户授予相关权限   grant connect to rman;  //赋予连接至数据库的权限   alter user rman quota unlimited on rmants;  //赋予rman在rmants表空间上的使用   grant recovery_catalog_owner to rman; //将catalog角色授权予用户rman   三,在系统(windows)命令提示符下进入rman进行相关配置   rman catalog rman/rman@wm  //登录rman   create catalog tablespace rmants; //创建catalog   connect target sys  //切换至sys用户登录   register database;  //往数据库中注册   exit   此时恢复目录已创建完成 本文出自 “网络” 博客,请务必保留此出处http://none5zj.blog.51cto.com/3413052/646523
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部