steampipe plugin install aws

Table: aws_rds_db_engine_version - Query AWS RDS DB Engine Versions using SQL

Amazon Relational Database Service (RDS) supports various database engines, allowing you to run different versions of these engines. Understanding the specific features, capabilities, and limitations of each engine version is crucial for database administration and optimization.

The aws_rds_db_engine_version table in Steampipe provides comprehensive information on the different database engine versions available in Amazon RDS. This includes details such as the engine type, version number, status (e.g., whether the version is still supported), and specific attributes like supported feature names, character sets, and whether the engine version supports read replicas or global databases.

Utilizing this table, database administrators and DevOps engineers can make informed decisions regarding database engine upgrades, compatibility checks, and feature utilization. The schema includes attributes critical for understanding each engine version's capabilities and limitations.

Important notes:

  • For improved performance, this table supports optional quals. Queries with optional quals are optimised to use RDS Engine Version filters. Optional quals are supported for the following columns:
    • engine
    • engine_version
    • db_parameter_group_family
    • list_supported_character_sets
    • list_supported_timezones
    • engine_mode
    • default_only
    • status

Examples

List all available engine versions

This query provides a list of all database engine versions available in your AWS environment, including their status and major version number. This is useful for identifying potential upgrades or assessing version availability.

select
engine,
engine_version,
db_engine_version_description,
status,
major_engine_version
from
aws_rds_db_engine_version;
select
engine,
engine_version,
db_engine_version_description,
status,
major_engine_version
from
aws_rds_db_engine_version;

Identify engines supporting read replicas

Discover which database engine versions support read replicas. This information is crucial for planning high availability and read scalability.

select
engine,
engine_version,
supports_read_replica
from
aws_rds_db_engine_version
where
supports_read_replica;
select
engine,
engine_version,
supports_read_replica
from
aws_rds_db_engine_version
where
supports_read_replica;

Engines with deprecation status

Find out which engine versions are deprecated. This can help in planning for necessary upgrades to maintain support and compatibility.

select
engine,
engine_version,
status
from
aws_rds_db_engine_version
where
status = 'deprecated';
select
engine,
engine_version,
status
from
aws_rds_db_engine_version
where
status = 'deprecated';

Supported features by engine version

List the features supported by a specific engine version. Adjust 'specific_engine_version' to your engine version of interest. This query aids in understanding the capabilities of a given engine version.

select
engine,
engine_version,
supported_feature_names
from
aws_rds_db_engine_version
where
engine_version = 'specific_engine_version';
select
engine,
engine_version,
supported_feature_names
from
aws_rds_db_engine_version
where
engine_version = 'specific_engine_version';

List default engine version of engines

List only default engine version of engines.

select
engine,
engine_version,
create_time,
status,
db_engine_media_type,
default_only
from
aws_rds_db_engine_version
where
default_only;
select
engine,
engine_version,
create_time,
status,
db_engine_media_type,
default_only
from
aws_rds_db_engine_version
where
default_only;

Schema for aws_rds_db_engine_version

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
account_idtext=, !=, ~~, ~~*, !~~, !~~*The AWS Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
arntextThe ARN of the custom engine version.
create_timetimestamp with time zoneThe creation time of the DB engine version.
custom_db_engine_version_manifesttextJSON string that lists the installation files and parameters that RDS Custom uses to create a custom engine version (CEV).
database_installation_files_s3_bucket_nametextThe name of the Amazon S3 bucket that contains your database installation files.
database_installation_files_s3_prefixtextThe Amazon S3 directory that contains the database installation files. If not specified, then no prefix is assumed.
db_engine_descriptiontextThe description of the database engine.
db_engine_media_typetextA value that indicates the source media provider of the AMI based on the usage operation. Applicable for RDS Custom for SQL Server.
db_engine_version_descriptiontextThe description of the database engine version.
db_parameter_group_familytext=The name of the DB parameter group family for the database engine.
default_onlyboolean=A value that indicates whether only the default version of the specified engine or engine and major version combination is returned.
enginetext=The name of the database engine.
engine_modetext=Accepts DB engine modes.
engine_versiontext=The version number of the database engine.
exportable_log_typesjsonbThe types of logs that the database engine has available for export to CloudWatch Logs.
imagejsonbThe EC2 image.
kms_key_idtextThe Amazon Web Services KMS key identifier for an encrypted CEV. This parameter is required for RDS Custom, but optional for Amazon RDS.
list_supported_character_setsboolean=A value that indicates whether to list the supported character sets for each engine version.
list_supported_timezonesboolean=A value that indicates whether to list the supported time zones for each engine version.
major_engine_versiontextThe major engine version of the CEV.
partitiontextThe AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov).
regiontextThe AWS Region in which the resource is located.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
statustext=The status of the DB engine version, either available or deprecated.
supported_feature_namesjsonbA list of features supported by the DB engine.
supported_nchar_character_setsjsonbA list of the character sets supported by the Oracle DB engine for the NcharCharacterSetName parameter of the CreateDBInstance operation.
supported_timezonesjsonbA list of the time zones supported by this engine for the Timezone parameter of the CreateDBInstance action.
supports_babelfishbooleanA value that indicates whether the engine version supports Babelfish for Aurora PostgreSQL.
supports_certificate_rotation_without_restartbooleanA value that indicates whether the engine version supports rotating the server certificate without rebooting the DB instance.
supports_global_databasesbooleanA value that indicates whether you can use Aurora global databases with a specific DB engine version.
supports_log_exports_to_cloudwatch_logsbooleanA value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.
supports_parallel_querybooleanA value that indicates whether you can use Aurora parallel query with a specific DB engine version.
supports_read_replicabooleanIndicates whether the database engine version supports read replicas.
tag_listjsonbA list of tags.
tagsjsonbA map of tags for the resource.
titletextTitle of the resource.
valid_upgrade_targetjsonbA list of engine versions that this database engine version can be upgraded to.

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)" -- aws

You can pass the configuration to the command with the --config argument:

steampipe_export_aws --config '<your_config>' aws_rds_db_engine_version