In Oracle Analytics you can model Analytic Views in Autonomous Data Warehouse into Oracle Analytics and visualize the data.
Overview to Connecting to Analytic Views
In Oracle Analytics, you can model analytic views from Autonomous Data Warehouse and visualize the data. Analytic views accelerate analytical queries against data stored in Oracle tables and views. Analytic views allow you to easily add aggregations and calculations to data that can be queried with relatively simple SQL.
You must include the analytics views in a semantic model, and then upload the semantic model to Oracle Analytics. After you upload the semantic model, you can visualize the dimensions, measures, and custom calculated measures in Oracle Analytics visualization workbooks.
What You Need
- Oracle Autonomous Data Warehouse, 18c or later
- Oracle SQL Developer, 19.x or later
- Oracle Analytics Cloud, latest update
- Oracle Analytics Client Tools (Model Administration Tool), latest update (minimum version 6.0)
Create and Upload a Semantic Model based on an Analytic View
Create and upload a semantic model based on an analytic view in a Oracle Autonomous Data Warehouse so that you can visualize the data.
- Optional: Use SQL Developer to identify and validate the analytic views in your Oracle Autonomous Data Warehouse data source that you'd like to visualize in Oracle Analytics.For example, if you're using SQL Developer, right-click the analytic view and select Validate Analytic View. Make sure that the analytic view is valid before you proceed.
- To include your analytic views in a new semantic model that you can upload to Oracle Analytics:
- In Model Administration Tool, click File, then New Repository.
- At the Repository Information page, specify a Name and Password.
- At the Select Data Source page:For Connection Type, select Oracle Analytic Views.For Data Source Name, copy in the Oracle Autonomous Data Warehouse connection URL from the
tnsnames.orafile. In your Oracle Autonomous Data Warehouse instance, extract the
tnsnames.orafile from the
wallet.zipfile. Copy the text description string, including the brackets as shown.For User name and Password, specify the credentials for your Oracle Autonomous Data Warehouse instance.
- At the Select Metadata Objects page, move the analytic views you want to visualize from the Data source view list to the Repository View list.
- To include analytic views in an existing semantic model in Oracle
- In Model Administration Tool, open the semantic model using the In the Cloud mode.
- Click File, then Import Metadata.
- Follow the inline instructions to connect to Oracle Autonomous Data Warehouse and import the metadata.
- In the Physical pane, verify that you can see the analytic views that you want to visualize.
- Drag the analytic views from the Physical pane to the Presentation pane.
- Upload the semantic model containing the analytic views to Oracle
To upload the semantic model .rpd file, overwriting the existing semantic model (if any):
- In Oracle Analytics, click Console, then Snapshots.
- From the Page menu, select Replace Data Model.
- In the Replace Data Model page, select your new semantic model file, then click Replace.
To upload changes to an existing semantic model that you opened using the In the Cloud mode, publish the semantic model to Oracle Analytics Cloud. In Model Administration Tool, click File, then Cloud, then Publish.You're now ready to visualize the data from the analytic views.
Connect to Analytic Views in Oracle Autonomous Data Warehouse
Connect to analytic views to visualize data in Oracle Autonomous Data Warehouse.
- In Oracle Analytics, on the Home page, click Create and then click Dataset.
- Click Local Subject Area.
- Select a subject area that's based on an analytic view.
- Select the facts and measures that you want to analyze and add to a new
dataset.You can now visualize data in this dataset.