MetricsSummary

class oci.recovery.models.MetricsSummary(**kwargs)

Bases: object

Backup performance and storage utilization metrics for the Protected Database.

Methods

__init__(**kwargs) Initializes a new MetricsSummary object with values from keyword arguments.

Attributes

backup_space_estimate_in_gbs Gets the backup_space_estimate_in_gbs of this MetricsSummary.
backup_space_used_in_gbs Gets the backup_space_used_in_gbs of this MetricsSummary.
current_retention_period_in_seconds Gets the current_retention_period_in_seconds of this MetricsSummary.
db_size_in_gbs Gets the db_size_in_gbs of this MetricsSummary.
is_redo_logs_enabled Gets the is_redo_logs_enabled of this MetricsSummary.
minimum_recovery_needed_in_days Gets the minimum_recovery_needed_in_days of this MetricsSummary.
retention_period_in_days Gets the retention_period_in_days of this MetricsSummary.
unprotected_window_in_seconds Gets the unprotected_window_in_seconds of this MetricsSummary.
__init__(**kwargs)

Initializes a new MetricsSummary 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 MetricsSummary.
  • backup_space_estimate_in_gbs (float) – The value to assign to the backup_space_estimate_in_gbs property of this MetricsSummary.
  • unprotected_window_in_seconds (float) – The value to assign to the unprotected_window_in_seconds property of this MetricsSummary.
  • db_size_in_gbs (float) – The value to assign to the db_size_in_gbs property of this MetricsSummary.
  • is_redo_logs_enabled (bool) – The value to assign to the is_redo_logs_enabled property of this MetricsSummary.
  • retention_period_in_days (float) – The value to assign to the retention_period_in_days property of this MetricsSummary.
  • current_retention_period_in_seconds (float) – The value to assign to the current_retention_period_in_seconds property of this MetricsSummary.
  • minimum_recovery_needed_in_days (float) – The value to assign to the minimum_recovery_needed_in_days property of this MetricsSummary.
backup_space_estimate_in_gbs

Gets the backup_space_estimate_in_gbs of this MetricsSummary. 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 MetricsSummary.
Return type:float
backup_space_used_in_gbs

Gets the backup_space_used_in_gbs of this MetricsSummary. 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 MetricsSummary.
Return type:float
current_retention_period_in_seconds

Gets the current_retention_period_in_seconds of this MetricsSummary. Number of seconds backups are currently retained for this database.

Returns:The current_retention_period_in_seconds of this MetricsSummary.
Return type:float
db_size_in_gbs

Gets the db_size_in_gbs of this MetricsSummary. 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 MetricsSummary.
Return type:float
is_redo_logs_enabled

Gets the is_redo_logs_enabled of this MetricsSummary. 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 MetricsSummary.
Return type:bool
minimum_recovery_needed_in_days

Gets the minimum_recovery_needed_in_days of this MetricsSummary. Number of days of redo/archive to be applied to recover database.

Returns:The minimum_recovery_needed_in_days of this MetricsSummary.
Return type:float
retention_period_in_days

Gets the retention_period_in_days of this MetricsSummary. The maximum number of days to retain backups for a protected database.

Returns:The retention_period_in_days of this MetricsSummary.
Return type:float
unprotected_window_in_seconds

Gets the unprotected_window_in_seconds of this MetricsSummary. 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 MetricsSummary.
Return type:float