Table: oci_nosql_table_metric_storage_utilization_hourly - Query OCI NoSQL Database Tables using SQL
The Oracle Cloud Infrastructure (OCI) NoSQL Database service offers a fully managed NoSQL database for modern application development. It's a non-relational, distributed key-value database service that provides predictable latency for data at any scale. It supports JSON document storage and SQL querying, making it flexible for a wide range of applications and use cases.
Table Usage Guide
The oci_nosql_table_metric_storage_utilization_hourly
table provides insights into the hourly storage utilization metrics of NoSQL Database Tables within OCI. As a database administrator, you can use this table to monitor and analyze the storage usage pattern of your NoSQL tables on an hourly basis. This can help you in capacity planning, detecting unusual activity, and optimizing the performance of your NoSQL databases.
Examples
Basic info
Analyze the settings to understand the storage utilization trends of NoSQL tables over time. This can help in identifying the tables that are consuming more storage, enabling effective resource management.
select name, timestamp, minimum, maximum, average, sum, sample_countfrom oci_nosql_table_metric_storage_utilization_hourlyorder by name, timestamp;
select name, timestamp, minimum, maximum, average, sum, sample_countfrom oci_nosql_table_metric_storage_utilization_hourlyorder by name, timestamp;
Intervals where storage utilization exceeded 20GB average
Determine the intervals when the storage utilization surpassed the average of 20GB. This is useful in identifying periods of high storage usage, which can aid in resource planning and cost management.
select name, timestamp, minimum, maximum, average, sum, sample_countfrom oci_nosql_table_metric_storage_utilization_hourlywhere average > 20order by name, timestamp;
select name, timestamp, minimum, maximum, average, sum, sample_countfrom oci_nosql_table_metric_storage_utilization_hourlywhere average > 20order by name, timestamp;
Schema for oci_nosql_table_metric_storage_utilization_hourly
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
average | double precision | The average of the metric values that correspond to the data point. | |
compartment_id | text | The ID of the compartment. | |
maximum | double precision | The maximum metric value for the data point. | |
metric_name | text | The name of the metric. | |
minimum | double precision | The minimum metric value for the data point. | |
name | text | The name of the NoSQL table. | |
namespace | text | The metric namespace. | |
region | text | The OCI region in which the resource is located. | |
sample_count | double precision | The number of metric values that contributed to the aggregate value of this data point. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
sum | double precision | The sum of the metric values for the data point. | |
tenant_id | text | =, !=, ~~, ~~*, !~~, !~~* | The OCID of the Tenant in which the resource is located. |
tenant_name | text | The name of the Tenant in which the resource is located. | |
timestamp | timestamp with time zone | The time stamp used for the data point. | |
unit | text | The standard unit for the data point. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- oci
You can pass the configuration to the command with the --config
argument:
steampipe_export_oci --config '<your_config>' oci_nosql_table_metric_storage_utilization_hourly