ITPub博客

首页 > Linux操作系统 > Linux操作系统 > LOG_FILE_NAME_CONVERT(转)

LOG_FILE_NAME_CONVERT(转)

原创 Linux操作系统 作者:tochar 时间:2007-07-26 00:00:00 0 删除 编辑

LOG_FILE_NAME_CONVERT

Parameter type

String

Syntax

LOG_FILE_NAME_CONVERT = [(]'string1' , 'string2' , 'string3' , 'string4' , ...[)]

Where:

  • string1 is the pattern of the primary database filename
  • string2 is the pattern of the standby database filename
  • string3 is the pattern of the primary database filename
  • string4 is the pattern of the standby database filename

You can use as many pairs of primary and standby replacement strings as required. You can use single or double quotation marks. The parentheses are optional.

Following are example settings that are acceptable:

LOG_FILE_NAME_CONVERT=('/dbs/t1/','/dbs/t1/s_','dbs/t2/ ','dbs/t2/s_')

Default value

None

Parameter class

Static

Range of values

Character strings

LOG_FILE_NAME_CONVERT converts the filename of a new log file on the primary database to the filename of a log file on the standby database. If you add a log file to the primary database, you must add a corresponding file to the standby database.

If you specify an odd number of strings (the last string has no corresponding replacement string), an error is signalled during startup. If the filename being converted matches more than one pattern in the pattern/replace string list, the first matched pattern takes effect. There is no limit on the number of pairs that you can specify in this parameter (other than the hard limit of the maximum length of multivalue parameters).

When the standby database is updated, this parameter converts the log file name on the primary database to the log file name on the standby database. The file must exist on the standby database and must be writable or the recovery process will halt with an error.

The first string is the pattern found in the log file names on the primary database. The second string is the pattern found in the log file names on the standby database.

You should also use LOG_FILE_NAME_CONVERT to rename the logfiles in the clone controlfile when setting up the clone database during tablespace point-in-time recovery.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9078678/viewspace-45100/,如需转载,请注明出处,否则将追究法律责任。

下一篇: LOG_PARALLELISM(转)
请登录后发表评论 登录
全部评论

注册时间:2007-12-11

  • 博文量
    118
  • 访问量
    787015