61 DBMS_DNFS
The DBMS_DNFS
package provides an interface to assists in creating a database using files in the backup set.
This chapter contains the following topics:
See Also:
61.2 Summary of DBMS_DNFS Subprograms
The DBMS_DNFS package includes the CLONEDB_RENAMEFILE procedure.
Table 61-1 DBMS_DNFS Package Subprograms
Subprogram | Description |
---|---|
Renames datafiles that were pointing to the backup set to the actual file name in cloned database. |
61.2.1 CLONEDB_RENAMEFILE Procedure
This procedure is used to rename datafiles that were pointing to the backup set to the actual file name in cloned database.
The srcfile
is the file name that represents the data file in the backup image copy or a read-only storage snapshot. The destfile
destination file path must point to a NFS volume where cloneDB datafiles will be created. When the procedure is run successfully, the control file record is updated with the new datafile name.
Syntax
DBMS_DNFS.CLONEDB_RENAMEFILE ( srcfile IN VARCHAR2, destfile IN VARCHAR2);
Parameters
Table 61-2 CLONEDB_RENAMEFILE Procedure Parameters
Parameter | Description |
---|---|
|
Source datafile name in the control file |
|
New datafile name |