Table: oci_core_boot_volume_metric_read_ops - Query OCI Core Boot Volume Metrics using SQL
Oracle Cloud Infrastructure's Core Boot Volume is a block storage volume that contains the image used to boot a Compute instance. These Boot Volumes are reliable, high-performance storage volumes that can persistently store data and can be used as boot volumes for instances. They offer consistent, low-latency performance, and a variety of management features, such as backup and restore operations, cloning, and volume expansion.
Table Usage Guide
The oci_core_boot_volume_metric_read_ops
table provides insights into the read operations metrics of Boot Volumes within Oracle Cloud Infrastructure's Core service. As a system administrator or DevOps engineer, explore metric-specific details through this table, including the volume ID, namespace, metric timestamp, and read operation statistics. Utilize it to monitor and analyze the performance of your Boot Volumes, identify any unusual read operation patterns, and ensure optimal performance of your instances.
Examples
Basic info
Explore the performance metrics of boot volumes in your Oracle Cloud Infrastructure environment. This query helps in identifying any unusual activity or performance degradation by analyzing metrics such as minimum, maximum, average, and total read operations over time.
select id, timestamp, minimum, maximum, average, sum, sample_countfrom oci_core_boot_volume_metric_read_opsorder by id, timestamp;
select id, timestamp, minimum, maximum, average, sum, sample_countfrom oci_core_boot_volume_metric_read_opsorder by id, timestamp;
Intervals where volumes exceed 1000 average read ops
Analyze the settings to understand periods where the average read operations surpass a threshold of 1000. This could be useful in identifying potential system overloads or performance bottlenecks.
select id, timestamp, minimum, maximum, average, sum, sample_countfrom oci_core_boot_volume_metric_read_opswhere average > 1000order by id, timestamp;
select id, timestamp, minimum, maximum, average, sum, sample_countfrom oci_core_boot_volume_metric_read_opswhere average > 1000order by id, timestamp;
Intervals where volumes exceed 8000 max read ops
Explore instances where the read operations on boot volumes exceed a certain threshold to monitor system performance and identify potential bottlenecks. This can be useful in optimizing your system configuration for improved efficiency.
select id, timestamp, minimum, maximum, average, sum, sample_countfrom oci_core_boot_volume_metric_read_opswhere maximum > 8000order by id, timestamp;
select id, timestamp, minimum, maximum, average, sum, sample_countfrom oci_core_boot_volume_metric_read_opswhere maximum > 8000order by id, timestamp;
Read, Write, and Total IOPS
Explore the performance of your system by analyzing input/output operations. This query helps to understand the average, maximum, and minimum read/write operations over time, assisting in identifying potential issues or areas for improvement.
select r.id, r.timestamp, round(r.average) + round(w.average) as iops_avg, round(r.average) as read_ops_avg, round(w.average) as write_ops_avg, round(r.maximum) + round(w.maximum) as iops_max, round(r.maximum) as read_ops_max, round(w.maximum) as write_ops_max, round(r.minimum) + round(w.minimum) as iops_min, round(r.minimum) as read_ops_min, round(w.minimum) as write_ops_minfrom oci_core_boot_volume_metric_read_ops as r, oci_core_boot_volume_metric_write_ops as wwhere r.id = w.id and r.timestamp = w.timestamporder by r.id, r.timestamp;
select r.id, r.timestamp, round(r.average) + round(w.average) as iops_avg, round(r.average) as read_ops_avg, round(w.average) as write_ops_avg, round(r.maximum) + round(w.maximum) as iops_max, round(r.maximum) as read_ops_max, round(w.maximum) as write_ops_max, round(r.minimum) + round(w.minimum) as iops_min, round(r.minimum) as read_ops_min, round(w.minimum) as write_ops_minfrom oci_core_boot_volume_metric_read_ops as r, oci_core_boot_volume_metric_write_ops as wwhere r.id = w.id and r.timestamp = w.timestamporder by r.id, r.timestamp;
Schema for oci_core_boot_volume_metric_read_ops
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. | |
id | text | The OCID of the boot volume. | |
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. | |
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_core_boot_volume_metric_read_ops