This data source provides the list of Managed Database Table Statistics in Oracle Cloud Infrastructure Database Management service.
Gets the number of database table objects grouped by different statuses such as Not Stale Stats, Stale Stats, and No Stats. This also includes the percentage of each status.
data "oci_database_management_managed_database_table_statistics" "test_managed_database_table_statistics" {
#Required
managed_database_id = oci_database_management_managed_database.test_managed_database.id
}
The following arguments are supported:
managed_database_id
- (Required) The OCID of the Managed Database.The following attributes are exported:
table_statistics_collection
- The list of table_statistics_collection.The following attributes are exported:
items
- The list of table statistics statuses.
count
- The number of objects aggregated by status category.percentage
- The percentage of objects with a particular status.type
- The valid status categories of table statistics.