Focus On Oracle

Installing, Backup & Recovery, Performance Tuning,
Troubleshooting, Upgrading, Patching, Zero-Downtime Upgrade, GoldenGate

Oracle Exadata ,Oracle ODA, Oracle ZDLRA


当前位置: 首页 » 技术文章 » 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 Database 23ai初体验
Oracle GoldenGate 23ai for Oracle和PG发布了
Oracle 23ai发布了
Oracle宣布推出全球分布式自治数据库
Oracle 23c新特性---开发人员
Oracle 23c free FAQ
Oracle 23c free and OCI Base Service
Oracle 21c
基于PDB的Active Data Guard(Oracle 21.7+)
在Oracle数据库中使用REST
OGG from MySQL to Oracle
Oracle数据库容灾之两地三中心实践
Top