steampipe plugin install oci

Table: oci_mysql_configuration_custom - Query OCI MySQL Custom Configurations using SQL

The Oracle Cloud Infrastructure (OCI) MySQL Database Service is a fully managed database service that enables organizations to deploy cloud-native applications using the world's most popular open source database. It is developed, managed, and maintained by the same team that develops MySQL, ensuring up-to-date features, compatibility, and enhancements. A custom configuration in OCI MySQL Database Service allows users to customize various MySQL system variables to suit their specific requirements.

Table Usage Guide

The oci_mysql_configuration_custom table provides insights into custom configurations within OCI MySQL Database Service. As a database administrator or developer, explore configuration-specific details through this table, including the configuration's ID, name, description, shape name, and various MySQL variables. Utilize it to uncover information about specific custom configurations, such as their variable settings, the MySQL version they're compatible with, and their associated compartment ID.

Examples

Basic info

Uncover the details of custom MySQL configurations in your Oracle Cloud Infrastructure, including their display names, IDs, descriptions, lifecycle states, and creation times. This can help you manage and monitor your custom configurations more effectively.

select
display_name,
id,
description,
lifecycle_state as state,
time_created
from
oci_mysql_configuration_custom;
select
display_name,
id,
description,
lifecycle_state as state,
time_created
from
oci_mysql_configuration_custom;

List deleted configurations

Explore which custom MySQL configurations have been deleted in your Oracle Cloud Infrastructure. This is useful for tracking changes and maintaining the security and efficiency of your database systems.

select
display_name,
id,
description,
lifecycle_state as state,
time_created
from
oci_mysql_configuration_custom
where
lifecycle_state = 'DELETED';
select
display_name,
id,
description,
lifecycle_state as state,
time_created
from
oci_mysql_configuration_custom
where
lifecycle_state = 'DELETED';

Schema for oci_mysql_configuration_custom

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
compartment_idtext=The OCID of the compartment in Tenant in which the resource is located.
defined_tagsjsonbDefined tags for resource. Defined tags are set up in your tenancy by an administrator. Only users granted permission to work with the defined tags can apply them to resources.
descriptiontextUser-provided data about the configuration.
display_nametext=The display name of the configuration.
freeform_tagsjsonbFree-form tags for resource. This tags can be applied by any user with permissions on the resource.
idtext=The OCID of the configuration.
lifecycle_statetext=The current state of the configuration.
parent_configuration_idtextThe OCID of the configuration from which this configuration is derived.
regiontextThe OCI region in which the resource is located.
shape_nametext=The name of the associated shape.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
tagsjsonbA map of tags for the resource.
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.
time_createdtimestamp with time zoneThe date and time the configuration was created.
time_updatedtimestamp with time zoneThe date and time the configuration was last updated.
titletextTitle of the resource.
typetextThe configuration type, DEFAULT or CUSTOM.
variablestextUser controllable service variables of the configuration.

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_mysql_configuration_custom