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_versionfrom aws_rds_db_engine_version;
select engine, engine_version, db_engine_version_description, status, major_engine_versionfrom 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_replicafrom aws_rds_db_engine_versionwhere supports_read_replica;
select engine, engine_version, supports_read_replicafrom aws_rds_db_engine_versionwhere 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, statusfrom aws_rds_db_engine_versionwhere status = 'deprecated';
select engine, engine_version, statusfrom aws_rds_db_engine_versionwhere 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_namesfrom aws_rds_db_engine_versionwhere engine_version = 'specific_engine_version';
select engine, engine_version, supported_feature_namesfrom aws_rds_db_engine_versionwhere 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_onlyfrom aws_rds_db_engine_versionwhere default_only;
select engine, engine_version, create_time, status, db_engine_media_type, default_onlyfrom aws_rds_db_engine_versionwhere default_only;
Schema for aws_rds_db_engine_version
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The AWS Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. | |
arn | text | The ARN of the custom engine version. | |
create_time | timestamp with time zone | The creation time of the DB engine version. | |
custom_db_engine_version_manifest | text | JSON string that lists the installation files and parameters that RDS Custom uses to create a custom engine version (CEV). | |
database_installation_files_s3_bucket_name | text | The name of the Amazon S3 bucket that contains your database installation files. | |
database_installation_files_s3_prefix | text | The Amazon S3 directory that contains the database installation files. If not specified, then no prefix is assumed. | |
db_engine_description | text | The description of the database engine. | |
db_engine_media_type | text | A 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_description | text | The description of the database engine version. | |
db_parameter_group_family | text | = | The name of the DB parameter group family for the database engine. |
default_only | boolean | = | A value that indicates whether only the default version of the specified engine or engine and major version combination is returned. |
engine | text | = | The name of the database engine. |
engine_mode | text | = | Accepts DB engine modes. |
engine_version | text | = | The version number of the database engine. |
exportable_log_types | jsonb | The types of logs that the database engine has available for export to CloudWatch Logs. | |
image | jsonb | The EC2 image. | |
kms_key_id | text | The 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_sets | boolean | = | A value that indicates whether to list the supported character sets for each engine version. |
list_supported_timezones | boolean | = | A value that indicates whether to list the supported time zones for each engine version. |
major_engine_version | text | The major engine version of the CEV. | |
partition | text | The AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov). | |
region | text | The AWS Region in which the resource is located. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
status | text | = | The status of the DB engine version, either available or deprecated. |
supported_feature_names | jsonb | A list of features supported by the DB engine. | |
supported_nchar_character_sets | jsonb | A list of the character sets supported by the Oracle DB engine for the NcharCharacterSetName parameter of the CreateDBInstance operation. | |
supported_timezones | jsonb | A list of the time zones supported by this engine for the Timezone parameter of the CreateDBInstance action. | |
supports_babelfish | boolean | A value that indicates whether the engine version supports Babelfish for Aurora PostgreSQL. | |
supports_certificate_rotation_without_restart | boolean | A value that indicates whether the engine version supports rotating the server certificate without rebooting the DB instance. | |
supports_global_databases | boolean | A value that indicates whether you can use Aurora global databases with a specific DB engine version. | |
supports_log_exports_to_cloudwatch_logs | boolean | A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs. | |
supports_parallel_query | boolean | A value that indicates whether you can use Aurora parallel query with a specific DB engine version. | |
supports_read_replica | boolean | Indicates whether the database engine version supports read replicas. | |
tag_list | jsonb | A list of tags. | |
tags | jsonb | A map of tags for the resource. | |
title | text | Title of the resource. | |
valid_upgrade_target | jsonb | A 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