Reference for Oracle Database Autonomous Recovery Service
This guide lists the predefined objects in OCI Resource Analytics for the Database Autonomous Recovery Service. You can find information about views, entity relationships, subject areas, and sample queries.
Views
This section provides information about views within OCI Resource Analytics Database Autonomous Recovery Service and their columns, data types, keys, and the referred view and column names. The following views are available:
| Name | Description |
|---|---|
| DATABASE_RECOVERY_PROTECTED_DATABASE_DIM_V | This view stores information on protected databases, which are Oracle Cloud Databases whose backups are managed by Database Autonomous Recovery Service. |
| DATABASE_RECOVERY_PROTECTION_POLICY_DIM_V | This view stores information on the details of a protection policy. |
| DATABASE_RECOVERY_SERVICE_SUBNET_DIM_V | This view stores information on the details of a recovery service subnet. |
| DATABASE_RECOVERY_PROTECTED_DATABASE_FACT_V | Fact table for Database Autonomous Recovery Service protected databases. |
The suffixes in the view names specify the view type:
- FACT_V: Fact
- DIM_V: Dimension
Relationship Diagram
This section provides diagrams that define the logical relationship of a fact table with different dimension tables.
The contents of each view and their relationships are listed in the following file: Database Recovery views.
DATABASE_RECOVERY_PROTECTED_DATABASE_FACT_V

Relationships exist among dimensions. Dimensions can be joined directly to each other. This diagram shows the relationship between dimension views.
DATABASE_RECOVERY_SERVICE_SUBNET_DIM_V

Sample Queries
Sample queries for the Database Autonomous Recovery Service.
List the number of protected databases by protection policy.
SELECT
PROTECTION_POLICY_ID,
COUNT(PROTECTED_DATABASE_ID) AS PROTECTED_DATABASE_COUNT
FROM OCIRA.DATABASE_RECOVERY_PROTECTED_DATABASE_FACT_V F
GROUP BY PROTECTION_POLICY_ID; Other References
This section provides other references related to the Database Autonomous Recovery Service.
Database Autonomous Recovery Service Documentation
Oracle Cloud Infrastructure Documentation / API Reference