BR
Valid For
Extract (Oracle only)
Description
Use the BR parameter to control the Bounded Recovery (BR) feature. This feature currently supports Oracle databases.
Default
BR BRINTERVAL 4H, BRDIR BRSyntax
BR
[, BRDIR directory]
[, BRINTERVAL number {M | H}]
[, BRKEEPSTALEFILES]
[, BROFF]
[, BROFFONFAILURE]
[, BRRESET]
[, BRFSOPTION {MS_SYNC | MS_ASYNC}]-
BRDIRdirectory -
Specifies the relative or full path name of the parent directory that will contain the
BRdirectory. TheBRdirectory contains the Bounded Recovery checkpoint files, and the name of this directory cannot be changed. The default parent directory for theBRdirectory is a directory namedBRin the root directory that contains the Oracle GoldenGate installation files.Each Extract group within a given Oracle GoldenGate installation will have its own sub-directory under the directory that is specified with
BRDIR. Each of those directories is named for the associated Extract group.For
directory, do not use any temporary file system or directory that contains the stringtemportmp(case-independent) that may be cleaned up (like /tmp) on a system startup. -
BRINTERVALnumber{M | H} -
Specifies the time between Bounded Recovery checkpoints. This is known as the Bounded Recovery interval. This interval is an integral multiple of the standard Extract checkpoint interval, as controlled by the
CHECKPOINTSECSparameter. However, it need not be set exactly. Bounded Recovery will adjust any legalBRINTERVALparameter internally as it requires.The minimum interval is 20 minutes. The maximum is 96 hours. The default interval is 4 hours.Note:
BRINTERVALshould only be changed after consulting with Oracle Support. -
BRKEEPSTALEFILES -
Causes old Bounded Recovery checkpoint files to be retained. By default, only current checkpoint files are retained. Extract cannot recover from old Bounded Recovery checkpoint files. Retain old files only at the request of an Oracle support analyst.
-
BROFF -
Turns off Bounded Recovery for the run and for recovery. Consult Oracle before using this option. In most circumstances, when there is a problem with Bounded Recovery, it turns itself off.
-
BROFFONFAILURE -
Disables Bounded Recovery after an error. By default, if Extract encounters an error during Bounded Recovery processing, it reverts to normal recovery, but then enables Bounded Recovery again after recovery completes.
BROFFONFAILUREturns Bounded Recovery off for the runtime processing. -
BR BRRESET -
BRRESETis a start up option that forces Extract to use normal recovery for the current run, and then turn Bounded Recovery back on after the recovery is complete. Its purpose is for the rare cases when Bounded Recovery does not revert to normal recovery if it encounters an error. Bounded Recovery is enabled during runtime. Consult Oracle Support before using this option. To use this option, you must start Extract from the command line.To run Extract from the command line in Microservices Architecture, use the following syntax:
extract BR BRRESET
To run Extract from the command line in Classic Architecture, use the following syntax:
extract [paramfile {paramfile-directory | pfile-name}.prm] [reportfile {reportfile-directory | rfile-name}.rpt] BR BRRESETNote:
BRRESEToption can only be specified on the command line and is not valid within a parameter file. -
BR BRFSOPTION {MS_SYNC | MS_ASYNC} -
Performs synchronous/asynchronous writes of the mapped data in Bounded Recovery. Consult Oracle Support before using this option.
Example
BR BRDIR /user/checkpt/br specifies that the Bounded Recovery checkpoint files will be created in the /user/checkpt/br directory.