---
title: Database
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Database
---

# Database

An OCI Database resource represents a managed Oracle Database system running on Oracle Cloud Infrastructure. It provides details about a specific database within a DB system, including its configuration, lifecycle state, storage, and deployment type. It helps users understand and manage their database instances in the cloud.

```
oci.database_summary
```

## Fields

| Title                                            | ID   | Type       | Data Type                                                                                                                                                                                                                                                                                                                                                                         | Description |
| ------------------------------------------------ | ---- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                             | core | string     |
| character_set                                    | core | string     | The value to assign to the character_set property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                        |
| cloud_account_id                                 | core | string     | The identifier of the related cloud account. The concept of an account might have different names in different cloud providers. AWS is calling it account, GCP calls it project and Azure uses the term subscription.                                                                                                                                                             |
| cloud_account_name                               | core | string     | The name of the account this resource belongs to.                                                                                                                                                                                                                                                                                                                                 |
| cloud_provider                                   | core | string     | The name of the cloud provider.                                                                                                                                                                                                                                                                                                                                                   |
| cloud_tags                                       | core | hstore     |
| compartment_id                                   | core | string     | The value to assign to the compartment_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                       |
| connection_strings                               | core | json       | The value to assign to the connection_strings property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                   |
| created_at                                       | core | timestamp  | Time when the resource has been created.                                                                                                                                                                                                                                                                                                                                          |
| data_guard_group                                 | core | json       | The value to assign to the data_guard_group property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                     |
| database_engine                                  | core | string     | The engine of the database.                                                                                                                                                                                                                                                                                                                                                       |
| database_management_config                       | core | json       | The value to assign to the database_management_config property of this DatabaseSummary.                                                                                                                                                                                                                                                                                           |
| database_software_image_id                       | core | string     | The value to assign to the database_software_image_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                           |
| database_status                                  | core | string     | The current status of the database, indicating its operational state.                                                                                                                                                                                                                                                                                                             |
| database_version                                 | core | string     | The version of the database engine being used.                                                                                                                                                                                                                                                                                                                                    |
| db_backup_config                                 | core | json       | The value to assign to the db_backup_config property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                     |
| db_home_id                                       | core | string     | The value to assign to the db_home_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                           |
| db_name                                          | core | string     | The value to assign to the db_name property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                              |
| db_system_id                                     | core | string     | The value to assign to the db_system_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                         |
| db_unique_name                                   | core | string     | The value to assign to the db_unique_name property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                       |
| db_workload                                      | core | string     | The value to assign to the db_workload property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                          |
| encryption_key_location_details                  | core | json       | The value to assign to the encryption_key_location_details property of this DatabaseSummary.                                                                                                                                                                                                                                                                                      |
| endpoint                                         | core | string     | The connection endpoint or URL used to access the database.                                                                                                                                                                                                                                                                                                                       |
| freeform_tags                                    | core | hstore     | The value to assign to the freeform_tags property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                        |
| id                                               | core | string     | The value to assign to the id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                                   |
| instance_type                                    | core | string     | The instance type defining the hardware configuration of the database server.                                                                                                                                                                                                                                                                                                     |
| is_cdb                                           | core | bool       | The value to assign to the is_cdb property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                               |
| key_store_id                                     | core | string     | The value to assign to the key_store_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                         |
| key_store_wallet_name                            | core | string     | The value to assign to the key_store_wallet_name property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                |
| kms_key_id                                       | core | string     | The value to assign to the kms_key_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                           |
| kms_key_version_id                               | core | string     | The value to assign to the kms_key_version_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                   |
| last_backup_duration_in_seconds                  | core | int64      | The value to assign to the last_backup_duration_in_seconds property of this DatabaseSummary.                                                                                                                                                                                                                                                                                      |
| last_backup_timestamp                            | core | timestamp  | The value to assign to the last_backup_timestamp property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                |
| last_failed_backup_timestamp                     | core | timestamp  | The value to assign to the last_failed_backup_timestamp property of this DatabaseSummary.                                                                                                                                                                                                                                                                                         |
| lifecycle_details                                | core | string     | The value to assign to the lifecycle_details property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                    |
| lifecycle_state                                  | core | string     | The value to assign to the lifecycle_state property of this DatabaseSummary. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "BACKUP_IN_PROGRESS", "UPGRADING", "CONVERTING", "TERMINATING", "TERMINATED", "RESTORE_FAILED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. |
| name                                             | core | string     | The name of this resource.                                                                                                                                                                                                                                                                                                                                                        |
| ncharacter_set                                   | core | string     | The value to assign to the ncharacter_set property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                       |
| patch_version                                    | core | string     | The value to assign to the patch_version property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                        |
| pdb_name                                         | core | string     | The value to assign to the pdb_name property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                             |
| region_id                                        | core | string     | The region this resource resides within.                                                                                                                                                                                                                                                                                                                                          |
| resource_type                                    | core | string     | The name of the resource type.                                                                                                                                                                                                                                                                                                                                                    |
| sid_prefix                                       | core | string     | The value to assign to the sid_prefix property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                           |
| source_database_point_in_time_recovery_timestamp | core | timestamp  | The value to assign to the source_database_point_in_time_recovery_timestamp property of this DatabaseSummary.                                                                                                                                                                                                                                                                     |
| storage_size_details                             | core | json       | The value to assign to the storage_size_details property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                 |
| tags                                             | core | hstore_csv |
| tenancy_ocid                                     | core | string     | The OCID of the tenancy containing the resource.                                                                                                                                                                                                                                                                                                                                  |
| time_created                                     | core | timestamp  | The value to assign to the time_created property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                         |
| updated_at                                       | core | timestamp  | Time when the resource has been updated the last time.                                                                                                                                                                                                                                                                                                                            |
| vault_id                                         | core | string     | The value to assign to the vault_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                             |
| vm_cluster_id                                    | core | string     | The value to assign to the vm_cluster_id property of this DatabaseSummary.                                                                                                                                                                                                                                                                                                        |
| volume_encrypted                                 | core | bool       | Specifies whether the storage volume is encrypted for security.                                                                                                                                                                                                                                                                                                                   |
| volume_iops                                      | core | int64      | The number of I/O operations per second (IOPS) the volume can handle.                                                                                                                                                                                                                                                                                                             |
| volume_size_gib                                  | core | int64      | The size of the storage volume assigned to the database, measured in GiB.                                                                                                                                                                                                                                                                                                         |
| volume_throughput                                | core | int64      | The throughput performance of the volume, measured in B/s.                                                                                                                                                                                                                                                                                                                        |
| zone_id                                          | core | string     | The zone this resource resides within.                                                                                                                                                                                                                                                                                                                                            |
