Home > Database > Mysql Tutorial > body text

使用DBCA模板迁移数据库至RAC环境

WBOY
Release: 2016-06-07 17:40:03
Original
1294 people have browsed it

在前面的几篇文章中,分别介绍了如何使用expdp,传输表空间,rman异机备份以及maa等方式将单实例数据库迁移至rac环境,本文将介绍如何使用dbca工具创建数据库模

  在前面的几篇文章中,分别介绍了如何使用expdp,传输表空间,rman异机备份以及maa等方式将单实例数据库迁移至rac环境,服务器空间,本文将介绍如何使用dbca工具创建数据库模板,进而实现单实例数据库到rac的迁移,这样做的优势是单实例数据库上的所有用户,表空间,索引,视图,触发器,存储过程,香港空间,包等等都可以完美的迁移到rac环境上,但要求单实例数据库的版本和rac的版本要一致,是否可以跨平台,尚未测试,本文在单实例数据库rhel6 64位,rac为centos 4.8 64位,数据库版本均为10.2.0.5

一:在单实例数据库上创建表空间和用户,建测试表

二:在单实例数据库上使用DBCA工具创建带数据文件的模板

 

 

 

三:将产生的模板文件scp到rac数据库实例1上,复制到rac1的相应目录下

四:在rac数据库实例1上使用dbca工具选择模板建库

 

 

 

 

 

五:验证结果

本文出自 “斩月” 博客,谢绝转载!

,网站空间
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!