steampipe plugin install oci

Table: oci_nosql_table_metric_storage_utilization - Query OCI NoSQL Tables using SQL

Oracle NoSQL Database is a scalable, low-latency key-value database for real-time big data workloads. It is designed to provide highly reliable, flexible, and available data storage across a configurable set of systems. This database supports SQL-like query capabilities and transactional consistency, making data easy to manage and analyze.

Table Usage Guide

The oci_nosql_table_metric_storage_utilization table provides insights into storage utilization metrics of Oracle NoSQL tables. As a database administrator, you can leverage this table to monitor and manage the storage usage of your NoSQL tables. It helps you identify tables that are nearing their storage capacity, allowing you to take proactive measures to ensure optimal performance and avoid potential issues.

Examples

Basic info

Analyze the storage utilization of your NoSQL tables to understand usage patterns over time. This can help you optimize resource allocation and manage costs more effectively.

select
name,
timestamp,
minimum,
maximum,
average,
sum,
sample_count
from
oci_nosql_table_metric_storage_utilization
order by
name,
timestamp;
select
name,
timestamp,
minimum,
maximum,
average,
sum,
sample_count
from
oci_nosql_table_metric_storage_utilization
order by
name,
timestamp;

Intervals where storage utilization exceeded 20GB average

Determine the periods where your storage usage exceeded an average of 20GB. This is useful to identify potential resource overutilization and optimize your storage management.

select
name,
timestamp,
minimum,
maximum,
average,
sum,
sample_count
from
oci_nosql_table_metric_storage_utilization
where
average > 20
order by
name,
timestamp;
select
name,
timestamp,
minimum,
maximum,
average,
sum,
sample_count
from
oci_nosql_table_metric_storage_utilization
where
average > 20
order by
name,
timestamp;

Schema for oci_nosql_table_metric_storage_utilization

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
averagedouble precisionThe average of the metric values that correspond to the data point.
compartment_idtextThe ID of the compartment.
maximumdouble precisionThe maximum metric value for the data point.
metric_nametextThe name of the metric.
minimumdouble precisionThe minimum metric value for the data point.
nametextThe name of the NoSQL table.
namespacetextThe metric namespace.
regiontextThe OCI region in which the resource is located.
sample_countdouble precisionThe number of metric values that contributed to the aggregate value of this data point.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
sumdouble precisionThe sum of the metric values for the data point.
tenant_idtext=, !=, ~~, ~~*, !~~, !~~*The OCID of the Tenant in which the resource is located.
tenant_nametextThe name of the Tenant in which the resource is located.
timestamptimestamp with time zoneThe time stamp used for the data point.
unittextThe 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