Focus On Oracle

Installing, Backup & Recovery, Performance Tuning,
Troubleshooting, Upgrading, Patching

Oracle Engineered System


当前位置: 首页 » 技术文章 » ASM

通过gDBClone快速的构建开发测试环境

gDBClone是一个脚本,用于为测试和开发环境提供一个简单高效的克隆数据库的方法。gDBClone利用Oracle Cloud File System (ACFS)快照功能来创建的数据库副本(能节省很多空间),并管理测试和开发数据库生命周期。这个关键的技术是在Oracle Database 12.1中引入的,受益于ACFS时间点快照功能,我们可以直接在ACFS文件系统上创建Oracle数据库(11.2.0.4以上)。主要提供下面的功能

    Clone: Creates a clone database (as Primary or as Standby) from a production database copying the DB to the target test and dev cluster
    Snap: Creates sparse snapshots of the DB to be used for test and development
    Convert: Converts a given database to RAC (Real Application Cluster) OneNode, RAC or from non-CDB (non-container database) to a PDB (pluggable database) of a given CDB
    ListDBs: Lists the cloned databases and its snapshots
    DelDB: Deletes cloned databases and/or its snapshots
    ListHomes: Lists the available oracle home

    SYSPwF: Creates an encrypted password file


安装gDBClone

[root@ohs1 ~]# rpm -ivh gDBClone-3.0.2-100.noarch.rpm

warning: gDBClone-3.0.2-100.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID e7004b4d: NOKEY
Preparing...                ########################################### [100%]
   1:gDBClone               ########################################### [100%]

gDBClone-3.0.2.100 has been installed on /opt/gDBClone succesfully!

[root@ohs1 ~]# cd /opt/gDBClone/
[root@ohs1 gDBClone]# ls
gDBClone  lib
[root@ohs1 gDBClone]# 


使用手册

http://download.oracle.com/otn/samplecode/gDBClone-3.0_ReferenceGuide.pdf


Reference
https://www.oracle.com/technetwork/indexes/samplecode/gdbclone-download-2295388.html
http://download.oracle.com/otn/samplecode/gDBClone-3.0_ReferenceGuide.pdf
https://community.oracle.com/docs/DOC-1012967
https://community.oracle.com/servlet/JiveServlet/downloadBody/1012967-102-1-154200/gDBClone-3.0_ReferenceGuide.pdf
https://apex.oracle.com/pls/apex/germancommunities/dbacommunity/tipp/4521/index.html

关键词:gdbclone acfs oracle 

相关文章

Oracle数据库优化方面资料
Oracle Database 19c在优化方面有哪些新特性
Oracle Database 20c云端预览版发布了
Oracle 19c新特性之RAC Automatic Failback Service
Install Oracle RAC Database 19c Step by Step
Oracle DataGuard feature and workshop
关于Java的那些事
Vagrant with oracle
Install Oracle Database 19c on X86
Install oracle products on docker
一图了解Oracle GoldenGate实现Oracle到Oracle复制的前世今生
Exadata最权威最完整的学习资料
Top