xtt.properties

简介: Reduce Transportable Tablespace Downtime using Incremental Backups(Doc ID 1389592.1)Properties file for xttdriver.

Reduce Transportable Tablespace Downtime using Incremental Backups

(Doc ID 1389592.1)

Properties file for xttdriver.pl

Properties to set are the following:

tablespaces

platformid

srcdir

dstdir

srclink

dfcopydir

backupformat

stageondest

storageondest

backupondest

cnvinst_home

cnvinst_sid

asm_home

asm_sid

parallel

rollparallel

getfileparallel

metatransfer

destuser

desthost

desttmpdir

See documentation below and My Oracle Support Note 1389592.1 for details.

Tablespaces to transport

========================

tablespaces

-----------

Comma separated list of tablespaces to transport from source database

to destination database.

Specify tablespace names in CAPITAL letters.

tablespaces=TS1,TS2

Source database platform ID

===========================

platformid

----------

Source database platform id, obtained from V$DATABASE.PLATFORM_ID

platformid=2

Parameters required for Prepare Phase method dbms_file_transfer

===============================================================

srcdir

------

Directory object in the source database that defines where the source

datafiles currently reside.

Feb 2015: Ver2: We support multiple SOURCEDIR's.

NOTE: Number of entries in srcir and dstdir should match.

The srcdir to dstdir mapping can either be N:1 or N:N i.e. there can be

multiple source dirs and the files will be written to a single destination

directory, or files from a particular source dir can be written to a

particular destination directory

Example [N:1, allowed]

======================

srcdir=SRC1,SRC2

dstdir=DST

In this case the files from SRC1, SRC2 will be written to DST

Example [N:N, allowed]

======================

srcdir=SRC1,SRC2

dstdir=DST1,DST2

In this case the files from SRC1 will be written to DST1, SRC2 to DST2.

Example [N:M, not allowed]

==========================

srcdir=SRC1,SRC2,SRC3

dstdir=DST1,DST2

This is not allowed and will result in error.

srcdir=SOURCEDIR1,SOURCEDIR2

dstdir

------

Directory object in the destination database that defines where the

destination datafiles will be created.

Feb 2015: Ver2: We support multiple DESTDIR's.

SOURCEDIR1 will map to DESTDIR1 and SOURCEDIR2 to DESTDIR2 and so on

Refer to above parameter for more examples

dstdir=DESTDIR1,DESTDIR2

srclink

-------

Database link in the destination database that refers to the source

database. Datafiles will be transferred over this database link using

dbms_file_transfer.

srclink=TTSLINK

Source system file locations

============================

dfcopydir

---------

This parameter is used only when Prepare phase method is RMAN backup.

Location where datafile copies are created during the "-p prepare" step.

This location must have sufficient free space to hold copies of all

datafiles being transported.

This location may be an NFS-mounted filesystem that is shared with the

destination system, in which case it should reference the same NFS location

as the stageondest property for the destination system.

dfcopydir=/stage_source

backupformat

------------

Location where incremental backups are created.

This location may be an NFS-mounted filesystem that is shared with the

destination system, in which case it should reference the same NFS location

as the stageondest property for the destination system.

backupformat=/stage_source

Destination system file locations

=================================

stageondest

-----------

Location where datafile copies are placed by the user when they are

transferred manually from the souce system. This location must have

sufficient free space to hold copies of all datafiles being transported.

This is also the location from where datafiles copies and incremental

backups are read when they are converted in the "-c conversion of datafiles"

and "-r roll forward datafiles" steps.

This location may be a DBFS-mounted filesystem.

This location may be an NFS-mounted filesystem that is shared with the

source system, in which case it should reference the same NFS location

as the dfcopydir and backupformat properties for the source system.

stageondest=/stage_dest

storageondest

-------------

This parameter is used only when Prepare phase method is RMAN backup.

Location where the converted datafile copies will be written during the

"-c conversion of datafiles" step. This is the final location of the

datafiles where they will be used by the destination database.

storageondest=+DATA

backupondest

------------

Location where converted incremental backups on the destination system

will be written during the "-r roll forward datafiles" step.

NOTE: If this is set to an ASM location then define properties

asm_home and asm_sid below. If this is set to a file system

location, then comment out asm_home and asm_sid below

backupondest=+RECO

Database home and SID settings for destination system instances

===============================================================

cnvinst_home, cnvinst_sid

-------------------------

Database home and SID of the incremental convert instance that

runs on the destination system.

Only set these parameters if a separate incremental convert home is in use.

cnvinst_home=/u01/app/oracle/product/11.2.0.4/xtt_home

cnvinst_sid=xtt

asm_home, asm_sid

-----------------

Grid home and SID for the ASM instance that runs on the destination

system.

NOTE: If backupondest is set to a file system location, then comment out

both asm_home and asm_sid.

asm_home=/u01/app/11.2.0.4/grid

asm_sid=+ASM1

Parallel parameters

===================

parallel

--------

Parallel defines the channel parallelism used in copying (prepare phase),

converting.

Note: Incremental backup creation parallelism is defined by RMAN

configuration for DEVICE TYPE DISK PARALLELISM.

If undefined, default value is 8.

parallel=3

rollparallel

------------

Defines the level of parallelism for the -r roll forward operation.

If undefined, default value is 0 (serial roll forward).

rollparallel=2

getfileparallel

---------------

Defines the level of parallelism for the -G operation

If undefined, default value is 1. Max value supported is 8.

This will be enhanced in the future to support more than 8

depending on the destination system resources.

getfileparallel=4

metatransfer

---------------

If passwordless ssh is enabled between the source and the destination, the

script can automatically transfer the temporary files and the backups from

source to destination. Other parameters like desthost, desttmpdir needs to

be defined for this to work. destuser is optional

metatransfer=1

destuser

---------

The username that will be used for copying the files from source to dest

using scp. This is optional

destuser=username

desthost

--------

This will be the name of the destination host.

desthost=machinename

desttmpdir

---------------

This should be defined to same directory as TMPDIR for getting the

temporary files. The incremental backups will be copied to directory pointed

by stageondest parameter.

desttmpdir=/tmp

dumpdir

---------

The directory in which the dump file be restored to. If this is not specified

then TMPDIR is used.

dumpdir=/tmp

using scp. This is optional

destuser=username

END

目录
相关文章
|
人工智能 Shell 编译器
C/C++编译工具:makefile | AI工程化部署
Makefile是一种用于管理和组织源代码的工具,通常用于构建和编译软件项目。它由一系列规则组成,每个规则指定如何生成一个或多个目标文件。Makefile也包括变量和注释,使得用户能够灵活地配置和定制构建过程。【1月更文挑战第3天】
365 3
|
SQL 弹性计算 关系型数据库
转 PostgreSQL 认证考试(商业版本EDB enterpriseDB认证考试) 指南
标签 PostgreSQL , 认证 , edb 背景 转一篇华军写的认证指南。想考PG认证的小伙伴可以参考。 原文 https://yq.aliyun.com/articles/464038 1. 背景 因为工作的原因,需要考一个PostreSQL技术认证。经过一些准备,终于在今年的3月和5月参加并通过了EnterpriseDB的Associate和Professional认证
3601 0
转 PostgreSQL 认证考试(商业版本EDB enterpriseDB认证考试) 指南
|
机器学习/深度学习 人工智能 运维
自动化运维之路:从脚本到工具的演进
在IT运维领域,效率和准确性是衡量工作成效的关键指标。随着技术的发展,自动化运维逐渐成为提升这两个指标的重要手段。本文将带领读者了解自动化运维的演变历程,从最初的简单脚本编写到现今复杂的自动化工具应用,展示如何通过技术提升运维效率。文章不仅介绍理论和实践案例,还提供了代码示例,帮助读者理解自动化运维的实际应用场景。
|
前端开发 JavaScript
宏任务和微任务在浏览器渲染过程中的执行顺序
宏任务和微任务是浏览器事件循环中的两种任务类型。宏任务包括整体代码块、setTimeout等,微任务有Promise.then、MutationObserver等。每个宏任务执行完毕后,会先执行完所有微任务,再进行下一轮渲染或执行下一个宏任务。
|
运维 数据安全/隐私保护 网络协议
【网络建设与运维】2024年河北省职业院校技能大赛中职组“网络建设与运维”赛项例题(六)
【网络建设与运维】2024年河北省职业院校技能大赛中职组“网络建设与运维”赛项例题(六)
【网络建设与运维】2024年河北省职业院校技能大赛中职组“网络建设与运维”赛项例题(六)
HTML标签之文字滚动效果(跑马灯效果)
HTML标签之文字滚动效果(跑马灯效果)
|
JavaScript 前端开发 API
vue中nextTick函数和react类似实现
vue中nextTick函数和react类似实现
441 0
|
机器学习/深度学习 搜索推荐 UED
推荐系统专题 | MiNet:跨域CTR预测
推荐系统专题 | MiNet:跨域CTR预测
636 0
推荐系统专题 | MiNet:跨域CTR预测
|
存储 前端开发 JavaScript
【Web 前端】如何找到所有 HTML select 标签的选中项?
【5月更文挑战第2天】【Web 前端】如何找到所有 HTML select 标签的选中项?
|
算法 数据可视化 Java
Gephi快速入门
Gephi快速入门
2126 0