getFileStatus

getFileStatus(): Integer;

The getFileStatus method of the JadeDbFilePartition class returns the status of physical database partition. This method executes on a persistent server node, and is implemented and executed by the physical database engine.

The status of the database partition is represented by DbFile class constants listed in the following table.

Constant Description Integer Value
Status_DelEncrypted Encrypted file deleted from the control file 9
Status_Deleted Partition deleted from control file 6
Status_InvalidPath Invalid database partition path in control file 7
Status_Missing Partition exists but the file is missing 3
Status_NotAssigned Partition not defined in control file 1
Status_NotCreated Partition deleted or not yet created 2
Status_Offline Partition or file is offline 8
Status_Resident Partition is resident on disk 4
Status_Unmapped Partition is not mapped 5

You can use this method in backup applications to determine the status of database partitions prior to commencing the backup.

An exception is raised if the database partition was not located or there was an error accessing a database partition control file.