Oracle

[Oracle] rman datafile, archivelog File format (파일 명명) %

bbugge 2022. 6. 16. 15:35

 // rman set newname format (파일 명명법)

  • %b:  Specifies the file name without the directory that it locates. 
  •  %N:  Specifies the tablespace name 
  • %f:  Specifies the absolute file number of a datafile 
  • %I:  Specifies DBID 
  • %U:  Specifies system generated unique filename 

// as a following format:  data-D-%d_id-%I_TS-%N_FNO-%f

 

 

// archivelog log_archive_format

  • %s: log sequence number
  • %S: log sequence number, zero filled
  • %t: thread number
  • %T: thread number, zero filled
  • %a: activation ID
  • %d: database ID
  • %r: resetlogs ID that ensures unique names are constructed for the archived log files across multiple incarnations of the database