Metrics¶
- class oci.recovery.models.Metrics(**kwargs)¶
Bases:
objectBackup performance and storage utilization metrics for the protected database.
Methods:
__init__(**kwargs)Initializes a new Metrics object with values from keyword arguments.
Attributes:
Gets the backup_space_estimate_in_gbs of this Metrics.
Gets the backup_space_used_in_gbs of this Metrics.
Gets the current_retention_period_in_seconds of this Metrics.
Gets the db_size_in_gbs of this Metrics.
Gets the is_redo_logs_enabled of this Metrics.
Gets the minimum_recovery_needed_in_days of this Metrics.
Gets the retention_period_in_days of this Metrics.
Gets the unprotected_window_in_seconds of this Metrics.
- __init__(**kwargs)¶
Initializes a new Metrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
backup_space_used_in_gbs (float) – The value to assign to the backup_space_used_in_gbs property of this Metrics.
backup_space_estimate_in_gbs (float) – The value to assign to the backup_space_estimate_in_gbs property of this Metrics.
unprotected_window_in_seconds (float) – The value to assign to the unprotected_window_in_seconds property of this Metrics.
db_size_in_gbs (float) – The value to assign to the db_size_in_gbs property of this Metrics.
is_redo_logs_enabled (bool) – The value to assign to the is_redo_logs_enabled property of this Metrics.
retention_period_in_days (float) – The value to assign to the retention_period_in_days property of this Metrics.
current_retention_period_in_seconds (float) – The value to assign to the current_retention_period_in_seconds property of this Metrics.
minimum_recovery_needed_in_days (float) – The value to assign to the minimum_recovery_needed_in_days property of this Metrics.
- property backup_space_estimate_in_gbs¶
Gets the backup_space_estimate_in_gbs of this Metrics. The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
- Returns
The backup_space_estimate_in_gbs of this Metrics.
- Return type
float
- property backup_space_used_in_gbs¶
Gets the backup_space_used_in_gbs of this Metrics. Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- Returns
The backup_space_used_in_gbs of this Metrics.
- Return type
float
- property current_retention_period_in_seconds¶
Gets the current_retention_period_in_seconds of this Metrics. Number of seconds backups are currently retained for this database.
- Returns
The current_retention_period_in_seconds of this Metrics.
- Return type
float
- property db_size_in_gbs¶
Gets the db_size_in_gbs of this Metrics. The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
- Returns
The db_size_in_gbs of this Metrics.
- Return type
float
- property is_redo_logs_enabled¶
Gets the is_redo_logs_enabled of this Metrics. The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
- Returns
The is_redo_logs_enabled of this Metrics.
- Return type
bool
- property minimum_recovery_needed_in_days¶
Gets the minimum_recovery_needed_in_days of this Metrics. Number of days of redo/archive to be applied to recover database.
- Returns
The minimum_recovery_needed_in_days of this Metrics.
- Return type
float
- property retention_period_in_days¶
Gets the retention_period_in_days of this Metrics. The maximum number of days to retain backups for a protected database.
- Returns
The retention_period_in_days of this Metrics.
- Return type
float
- property unprotected_window_in_seconds¶
Gets the unprotected_window_in_seconds of this Metrics. This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
- Returns
The unprotected_window_in_seconds of this Metrics.
- Return type
float