Make sure your LOGRETAIN is ON. If not issue.
确保LOGRETAIN被设为ON,如果不是,请发出下面命令。
You can turn on archive logging by setting LOGRETAIN to on.
通过将logretain设为ON,可以打开归档日志记录。
If logretain is set to "no" and userexit is set to "no", logs are not retained.
如果logretain设置成“No”并且userexit也设置成“No”,就不会保留日志。
Logretain (default: OFF) - Indicates either circular or archive logging to be used.
logretain(默认值是OFF)——表示使用循环日志还是存档日志。
If LOGRETAIN is not already set to RETAIN, you may set it with the following command.
如果LOGRETAIN没有被设置为RETAIN,则可以使用以下命令设置它。
For example, to set logretain to on, issue the command update db CFG using logretain on.
例如,要将logretain设置为on,应该发出命令updatedbcfgusing logretain on。
If you have changed the LOGRETAIN value to RETAIN, the database will be in backup pending state.
如果将logretain值更改为RETAIN,数据库就处于备份暂挂状态。
You do not require userexit to be enabled when the logretain configuration parameter is enabled.
当启用了logretain配置参数时,就不需要启用userexit。
You do not require logretain to be enabled when the userexit configuration parameter is enabled.
当启用了userexit配置参数时,就不需要启用logretain。
Archive logging can be turned on by setting the database configuration parameter LOGRETAIN to on.
通过将数据库配置参数LOGRETAIN设置为ON可启用归档日志。
For the replication element of this tutorial to work, the DB2 database must be in logretain mode.
为了使本教程的复制组件能够工作,DB 2数据库必须使用logretain模式。
With circular logging, if the logretain or the userexit parameter are set to no, log files are reused.
使用循环日志记录时,如果logretain或userexit参数被设置成no,就会重用日志文件。
Once logretain is turned on, you need to do a full offline, or you will receive "Backup Pending" error.
打开logretain后,需要进行一次全面脱机,否则将接收到“Backup Pending”错误。
Note that setting the archlogmeth1 parameter to LOGRETAIN will trigger the logretain parameter to RECOVERY.
注意,将 archlogmeth1参数设置为LOGRETAIN 就会导致 logretain 参数被更新为RECOVERY。
If this parameter is enabled, log retention logging is performed regardless of how the logretain parameter is set.
如果启用了该参数,无论logretain参数如何设置,都会执行日志保留记录。
When the logretain configuration parameter is set to "RECOVERY", the log files will remain in the active log path.
当logretain配置参数设置成“RECOVERY”时,日志文件将保留在活动日志路径中。
In order to turn to the archive log mode, simply issue the command db2 update db CFG for icmnlsdb using logretain on.
为转换到归档日志模式,只需运行命令db2updatedbcfgfor icmnlsdb using logretain on即可。
To turn on LOGRETAIN through the Control Center, highlight the database and right click to modify the configuration parameters.
要通过ControlCenter打开LOGRETAIN,需要高亮显示该数据库,然后右击它来修改配置参数。
When logretain is set to "Capture", the Capture program calls the PRUNE LOGFILE command to delete log files when the Capture program completes.
当logretain设置成“Capture”时,在Capture程序完成时,它会调用PRUNELOGFILE命令来删除日志文件。
The active log path is important when using either the userexit configuration parameter or the logretain configuration parameter to allow roll-forward recovery.
当使用userexit配置参数或logretain配置参数以允许前滚恢复时,活动日志路径非常重要。
The database configuration parameter LOGRETAIN must be set to RECOVERY prior to splitting the mirror if it is intended to be initialized as standby or mirror database.
如果打算将镜像初始化为备用数据库或镜像数据库,那么在分割镜像之前,必须将数据库配置参数LOGRETAIN设置为RECOVERY。
LOGRETAIN - Setting the value LOGRETAIN will automatically change the value for the parameter, LOGRETAIN to RECOVERY, which indicates archive logging mode will be used.
LOGRETAIN——设置logretain值会自动地将参数LOGRETAIN的值改为RECOVERY,这表示使用存档日志模式。
If logretain is set to "recovery" or userexit is set to "Yes" (see below), the active log files will be retained and become online archive log files for use in roll-forward recovery.
如果logretain设置成“Recovery”或者userexit设置成“Yes”(请参阅下一节),将保留活动日志文件,而且这些文件将变成联机归档日志文件,以便在前滚恢复中使用。
If logretain is set to "recovery" or userexit is set to "Yes" (see below), the active log files will be retained and become online archive log files for use in roll-forward recovery.
如果logretain设置成“Recovery”或者userexit设置成“Yes”(请参阅下一节),将保留活动日志文件,而且这些文件将变成联机归档日志文件,以便在前滚恢复中使用。
应用推荐