View the Warehouse Refresh Statistics
Using an additional mechanism, you can view the details of data refresh in the warehouse and the tables that got changed.
The following three drill down tables contain information that you can use for data refresh details. To view these tables, you can use tools such as SQL Developer and connect to the Autonomous AI Lakehouse associated with your Fusion Data Intelligence instance as OAX_USER. These tables will be populated for your instance after the feature is available. The tables retain values for about 6 months and then archived.
This capability is available in a phased rollout.
| Table | What does it contain? | When is it updated? |
|---|---|---|
| FDI_REFRESH_SUMMARY | Summary of each data refresh including scheduled time, completion time and published record count. One row for each refresh. | Updated when the refresh goes In-progress and when the refresh completes (includes post-processing). |
| FDI_REFRESH_STAGES | Contains completion time for refresh stages. One row for each stage. | Updated at completion of each stage for Priority, Primary, Secondary, as applicable. |
| FDI_REFRESH_FACTORS | Factors affecting each refresh. One row for each factor, as applicable. | Updated if there are any factors that affected the refresh. Supported factors are source is in maintenance and customer High service ADW sessions. |
Table Schema Details
Following are the schema details of these tables:
| Column | Data Type | Values |
|---|---|---|
| REFRESH_ID | VARCHAR2 | Unique ID to join with other tables |
| SOURCE_TYPE_CODE | VARCHAR2 | All supported sources such as FUSION, NETSUITE, BIP, EBS, and SALESFORCE.
|
| REFRESH_TYPE | VARCHAR2 |
|
| NUM_STAGES | NUMBER | 1 to 4 (Stages refer to the number of priority refresh requests and the post publish stage. For details of different stages, see Schedule Incremental Data Refreshes).
The following examples show the value for NUM_STAGES and the names of those stages populated in the FDI_REFRESH_STAGES table:
|
| STATUS | VARCHAR2 | IN PROGRESS, COMPLETED |
| SCHEDULED_TIME | TIMESTAMP | - |
| COMPLETION_TIME | TIMESTAMP | - |
| PUBLISHED_REC_COUNT | NUMBER | - |
| Column | Data Type | Values |
|---|---|---|
| REFRESH_ID | VARCHAR2 | Unique ID to join with other tables |
| STAGE_NAME | VARCHAR2 | Names of stages in the scheduled incremental refresh. See Schedule Incremental Data Refreshes.
The following examples show the values in NUM_STAGES column of the FDI_REFRESH_SUMMARY table and the corresponding values in this column:
|
| COMPLETION_TIME | TIMESTAMP | - |
| Column | Data Type | Values |
|---|---|---|
| REFRESH_ID | VARCHAR2 | Unique ID to join with other tables |
| FACTOR_CODE | VARCHAR2 |
|
| FACTOR_DETAILS | VARCHAR2 | Additional details for the factor such as minutes or number of sessions. For example, the number of minutes if FACTOR_CODE is SOURCE_MAINTENANCE and the number of sessions if FACTOR_CODE is CUSTOMER_HIGH_ADW_SERVICE. |
- View Refresh Summary for the Last 1 Day using this query:
SELECT * FROM FDI_REFRESH_SUMMARY WHERE COMPLETION_TIME > SYSDATE - 1; - View Stage Details for a Specific Refresh using this query:
SELECT * FROM FDI_REFRESH_STAGES WHERE REFRESH_ID = <REFRESH_ID>; - View Impacted Refresh Factors by Refresh ID using this query:
SELECT * FROM FDI_REFRESH_FACTORS WHERE REFRESH_ID = <REFRESH_ID>;
View Changed Tables
To view the tables that got changed, you can use the FDI_REFRESHED_DATASETS table. It shows the warehouse tables refreshed and the time-stamp at which they are refreshed.
- View all the datasets that are refreshed using this query:
SELECT table_name, to_char(last_refresh_time,'DD-MON-YYY HH24:MI:SS') as last_refresh_datetime FROM fdi_refreshed_datasets; - View all the datasets refreshed during last 2 days using this query:
SELECT * FROM fdi_refreshed_datasets WHERE last_refresh_time > sysdate - 2; - View all the datasets refreshed during last 1 hour using this query:
SELECT * FROM fdi_refreshed_datasets where last_refresh_time > sysdate-INTERVAL '1' HOUR;