Skip to main content

db_servers

Creates, updates, deletes, gets or lists a db_servers resource.

Overview

Namedb_servers
TypeResource
Idaws.odb.db_servers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
autonomous_virtual_machine_idsarrayThe list of unique identifiers for the Autonomous VMs associated with this database server.
autonomous_vm_cluster_idsarrayThe list of identifiers for the Autonomous VM clusters associated with this database server.
compute_modelstringThe compute model of the database server (ECPU or OCPU). (ECPU, OCPU)
cpu_core_countintegerThe number of CPU cores enabled on the database server.
created_atstring (date-time)The date and time when the database server was created.
db_node_storage_size_in_gbsintegerThe allocated local node storage in GBs on the database server.
db_server_idstringThe unique identifier for the database server. (pattern: <code>[a-zA-Z0-9_~.-]+</code>)
db_server_patching_detailsobjectThe scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
display_namestringThe user-friendly name of the database server.
exadata_infrastructure_idstringThe ID of the Exadata infrastructure the database server belongs to.
max_cpu_countintegerThe total number of CPU cores available.
max_db_node_storage_in_gbsintegerThe total local node storage available in GBs.
max_memory_in_gbsintegerThe total memory available in GBs.
memory_size_in_gbsintegerThe allocated memory in GBs on the database server.
oci_resource_anchor_namestringThe name of the OCI resource anchor for the database server.
ocidstringThe OCID of the database server.
shapestringThe shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
statusstringThe current status of the database server. (AVAILABLE, FAILED, PROVISIONING, TERMINATED, TERMINATING, UPDATING, MAINTENANCE_IN_PROGRESS)
status_reasonstringAdditional information about the current status of the database server.
vm_cluster_idsarrayThe OCID of the VM clusters that are associated with the database server.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_db_serverselectregionReturns information about the specified database server.
list_db_serversselectregionReturns information about the database servers that belong to the specified Exadata infrastructure.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about the specified database server.

SELECT
autonomous_virtual_machine_ids,
autonomous_vm_cluster_ids,
compute_model,
cpu_core_count,
created_at,
db_node_storage_size_in_gbs,
db_server_id,
db_server_patching_details,
display_name,
exadata_infrastructure_id,
max_cpu_count,
max_db_node_storage_in_gbs,
max_memory_in_gbs,
memory_size_in_gbs,
oci_resource_anchor_name,
ocid,
shape,
status,
status_reason,
vm_cluster_ids
FROM aws.odb.db_servers
WHERE region = '{{ region }}' -- required
;