Welcome 微信登录

首页 / 数据库 / MySQL / Oracle 配置 catalog

1: catalog 数据库上创建表空间:
 export Oracle_SID=ORCL
 
create tablespace rmants datafile "/home/oracle/rman/rmants.ora" size 20M;
 
注意:这里面表空间名一定不要叫rman,如果叫rman,接下来操作会报错,因为rman是关键字;
 
2. catalog 数据库上创建用户:
 
SQL>Create user rman identified by rman default tablespace rmants
 
      2temporary  tablespace temp quota unlimited on rmants;
 
SQL>grant recovery_catalog_owner to rman;
 
本次举例子2个数据库在同一台服务器上。
 
接下来进入target数据库1、 [oracle@aoracle admin]$ vi tnsnames.oracatalog =
              (DESCRIPTION =
                      (ADDRESS_LIST =
                      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.190.140)(PORT = 1521))
                )
                  (CONNECT_DATA =
                        (SID = ORCL)
                    )
                )
 
2、[oracle@aoracle ~]$ tnsping catalog
 
看是否能连上。
  • 1
  • 2
  • 下一页
RMAN备份/恢复Oracle临时表相关资讯      Oracle配置  Oracle catalog 
  • 两个Oracle配置问题的解决记录  (06/16/2014 20:06:43)
  • 配置Oracle网络环境  (09/15/2013 06:39:08)
  • RAC中ocr和voting disk位置  (07/01/2012 10:51:38)
  • Oracle配置外部数据库连接(  (03/29/2014 15:09:37)
  • Oracle创建恢复目录(catalog)  (02/23/2013 17:28:19)
  • Oracle 10gR2 Streams删除所有配置  (07/01/2012 10:50:37)
本文评论 查看全部评论 (0)
表情: 姓名: 字数