getFileStatus(): Integer;
The getFileStatus method of the DbFile class returns the status of dropped physical database file during the backup process. The status of the database file is represented by DbFile class constants listed in the following table.
Constant | Description | Integer Value |
---|---|---|
Status_Deleted | File deleted from control file | 6 |
Status_InvalidPath | Invalid database file path in control file | 7 |
Status_Missing | File defined in the schema but does not exist in the database | 3 |
Status_NotAssigned | File not defined in control file | 1 |
Status_NotCreated | File deleted or not yet created | 2 |
Status_Offline | File is offline | 8 |
Status_Resident | File is resident on disk | 4 |
Status_Unmapped | File in RPS database that is not part of the RPS mapping | 5 |
You can use this method in backup applications to determine the status of database files prior to commencing the backup or to determine the status of database files returned in the droppedFiles parameter array passed to JadeDatabaseAdmin class backupAllDbFiles and backupDbFiles methods.
This method executes on a persistent server node, and is implemented and executed by the physical database engine.