TableUsageSummary¶
- class oci.nosql.models.TableUsageSummary(**kwargs)¶
Bases:
objectTableUsageSummary represents a single usage record, or slice, that includes information about read and write throughput consumed during that period as well as the current information regarding storage capacity. In addition the count of throttling exceptions for the period is reported.
Methods:
__init__(**kwargs)Initializes a new TableUsageSummary object with values from keyword arguments.
Attributes:
Gets the max_shard_size_usage_in_percent of this TableUsageSummary.
Gets the read_throttle_count of this TableUsageSummary.
Gets the read_units of this TableUsageSummary.
Gets the seconds_in_period of this TableUsageSummary.
Gets the storage_in_g_bs of this TableUsageSummary.
Gets the storage_throttle_count of this TableUsageSummary.
Gets the time_started of this TableUsageSummary.
Gets the write_throttle_count of this TableUsageSummary.
Gets the write_units of this TableUsageSummary.
- __init__(**kwargs)¶
Initializes a new TableUsageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
seconds_in_period (int) – The value to assign to the seconds_in_period property of this TableUsageSummary.
read_units (int) – The value to assign to the read_units property of this TableUsageSummary.
write_units (int) – The value to assign to the write_units property of this TableUsageSummary.
storage_in_g_bs (int) – The value to assign to the storage_in_g_bs property of this TableUsageSummary.
read_throttle_count (int) – The value to assign to the read_throttle_count property of this TableUsageSummary.
write_throttle_count (int) – The value to assign to the write_throttle_count property of this TableUsageSummary.
storage_throttle_count (int) – The value to assign to the storage_throttle_count property of this TableUsageSummary.
max_shard_size_usage_in_percent (int) – The value to assign to the max_shard_size_usage_in_percent property of this TableUsageSummary.
time_started (datetime) – The value to assign to the time_started property of this TableUsageSummary.
- property max_shard_size_usage_in_percent¶
Gets the max_shard_size_usage_in_percent of this TableUsageSummary. The percentage of allowed per-shard usage for the table shard with the highest usage.
- Returns
The max_shard_size_usage_in_percent of this TableUsageSummary.
- Return type
int
- property read_throttle_count¶
Gets the read_throttle_count of this TableUsageSummary. The number of times reads were throttled due to exceeding the read throughput limit.
- Returns
The read_throttle_count of this TableUsageSummary.
- Return type
int
- property read_units¶
Gets the read_units of this TableUsageSummary. Read throughput during the sampling period.
- Returns
The read_units of this TableUsageSummary.
- Return type
int
- property seconds_in_period¶
Gets the seconds_in_period of this TableUsageSummary. The length of the sampling period.
- Returns
The seconds_in_period of this TableUsageSummary.
- Return type
int
- property storage_in_g_bs¶
Gets the storage_in_g_bs of this TableUsageSummary. The size of the table, in GB.
- Returns
The storage_in_g_bs of this TableUsageSummary.
- Return type
int
- property storage_throttle_count¶
Gets the storage_throttle_count of this TableUsageSummary. The number of times writes were throttled because the table exceeded its size limit.
- Returns
The storage_throttle_count of this TableUsageSummary.
- Return type
int
- property time_started¶
Gets the time_started of this TableUsageSummary. The time stamp of this usage record.
- Returns
The time_started of this TableUsageSummary.
- Return type
datetime
- property write_throttle_count¶
Gets the write_throttle_count of this TableUsageSummary. The number of times writes were throttled due to exceeding the write throughput limit.
- Returns
The write_throttle_count of this TableUsageSummary.
- Return type
int
- property write_units¶
Gets the write_units of this TableUsageSummary. Write throughput during the sampling period.
- Returns
The write_units of this TableUsageSummary.
- Return type
int