models.storage_efficiency_tile module¶
-
class
models.storage_efficiency_tile.
StorageEfficiencyTile
(data_in_bytes=None, data_in_bytes_samples=None, data_in_deduped_bytes=None, data_in_deduped_bytes_samples=None, dedupe_ratio=None, dedupe_ratio_samples=None, duration_days=None, interval_seconds=None, logical_used_bytes=None, logical_used_bytes_samples=None, physical_used_bytes=None, physical_used_bytes_samples=None, storage_reduction_ratio=None, storage_reduction_samples=None)[source]¶ Bases:
object
Implementation of the ‘StorageEfficiencyTile’ model.
StorageEfficiencyTile gives tile information for the storage saved because of compression and dedupe done on the cluster.
- Attributes:
- data_in_bytes (long|int): Specifies the size of data brought into the
cluster. This is the usage before data reduction if we ignore the zeroes and effects of cloning.
- data_in_bytes_samples (list of Sample): Specifies the samples taken
for Data brought into the cluster in bytes in ascending order of time.
- data_in_deduped_bytes (long|int): Specifies the size of data after
compression and or dedupe operations just before the data is replicated to other nodes as per RF or Erasure Coding policy.
- data_in_deduped_bytes_samples (list of Sample): Specifies the samples
taken for morphed data in bytes in ascending order of time.
- dedupe_ratio (float): Specifies the current dedupe ratio on the
cluster. It is the ratio of DataInBytes to DataInDedupedBytes.
- dedupe_ratio_samples (list of Sample): Specifies the samples for data
reduction ratio in ascending order of time.
- duration_days (int): Specifies the duration in days in which the
samples were taken. For this tile, it is 7 days.
- interval_seconds (int): Specifies the interval between the samples in
seconds. For this tile, it is 1 day which is 86400 seconds.
- logical_used_bytes (long|int): Specifies the size of logical data
currently represented on the cluster.
- logical_used_bytes_samples (list of Sample): Specifies the samples
taken for logical data represented in bytes in ascending order of time.
- physical_used_bytes (long|int): Specifies the size of physical data
currently consumed on the cluster.
- physical_used_bytes_samples (list of Sample): Specifies the samples
taken for physical data consumed in bytes in ascending order of time.
- storage_reduction_ratio (float): Specifies the current storage
reduction ratio on the cluster. It is the ratio of LogicalUsedBytes to PhysicalUsedBytes.
- storage_reduction_samples (list of Sample): Specifies the samples for
storage reduction ratio in ascending order of time.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.