[Fusion] How to Retrieve the Clone Date of an Oracle Fusion Instance Using SQL?

 


In the world of Oracle Fusion Cloud, managing environments like production, test, or development instances is crucial for IT administrators and developers. One common task is determining the "clone date" or the last refresh date of an instance—essentially, when the environment was last cloned or refreshed from another source (e.g., Production-to-Test). This information helps track data freshness, audit changes, and plan maintenance.

If you're familiar with on-premises Oracle systems like E-Business Suite (EBS), you might be used to querying views like v$database for reset logs. However, Oracle Fusion Cloud operates as a SaaS model, limiting direct database access. Fear not! There's still a way to fetch this via SQL, typically through tools like BI Publisher (BIP) or other reporting interfaces with backend access.

In this blog post, we'll walk through the SQL query to get the clone date, explain how it works, and compare it to traditional methods. Whether you're a Fusion admin troubleshooting an issue or just curious about environment metadata, this guide has you covered.

The key table here is ask_deployed_provision_configs, which holds provisioned environment details. The last_update_date column typically captures the completion time of the most recent refresh.


Here's the straightforward SQL to retrieve the last update date:

SELECT last_update_date FROM ask_deployed_provision_configs;


How It Works

  • Table Explanation: ask_deployed_provision_configs stores configuration data for deployed environments. It's part of the Oracle Fusion middleware schema.
  • Key Column: last_update_date is a timestamp indicating when the configuration was last modified, which aligns with refresh/clone operations.
  • Potential Output: This might return multiple rows if there are various configs. To get the most recent one, modify it like this:

            
SELECT MAX(last_update_date) AS latest_clone_date FROM ask_deployed_provision_configs;


Comparison to On-Premises Oracle Systems

If you're coming from an on-premises Oracle Database or EBS, the equivalent query is simpler and targets system views:

SELECT resetlogs_time FROM v$database;

This gives the time when the database was last reset (often during cloning). However, in Fusion Cloud, you can't directly query v$database due to the managed SaaS architecture—hence the reliance on application-level tables like ask_deployed_provision_configs.


Comments

All Categories

Call Fusion BIP Report2 Change Password1 Code Combinations2 Compute Instance2 CTE1 Customer1 Data Aggregation2 Database5 Date Conversion1 DB Adapter2 Decryption1 Development1 EBS4 Encryption1 ESS Jobs3 Examine1 FBDI3 Fusion APIs1 Fusion BIP7 GIT2 GL3 GL Journals1 GL_DAILY_CONVERSION_TYPES1 GL_DAILY_RATES1 ICS1 Identity Domain1 Integrations1 Java1 Journal Import1 Keys1 Legal Entity1 LookupTypeLOV1 LOV1 LOVs1 MultiPartAPIs1 Networking1 NVL2 NVL in OIC2 OCI11 OCI Billing1 OCI Compute5 OCI Cost Management1 OCI Events Service1 OCI Free Tier3 OCI Notifification Service1 OCI Security3 OIC4 OIC Mapper2 Oracle26 Oracle ADF17 Oracle APEX1 Oracle Apps59 Oracle Apps R126 Oracle ATP1 Oracle BIP8 Oracle Cloud12 Oracle Cloud Free Tier1 Oracle cloud Infrastructure9 Oracle Cloud Security2 Oracle Cloud VM1 Oracle DB4 oracle ebs5 Oracle ERP4 Oracle ERP Adapter2 Oracle ERP Cloud7 Oracle financials2 Oracle Forms1 Oracle Fusion57 Oracle Fusion BIP4 Oracle Fusion ERP17 Oracle Fusion Financials18 Oracle Integration Cloud3 Oracle OAF17 Oracle OCI14 Oracle OIC22 Oracle SOA 12c10 Oracle SQL17 Oracle VBCS1 Oracle VBS2 Oracle Visual Builder Cloud Service1 Oracle Visual Builder Studio2 Oracle Workflow Notifications1 Others10 Payables2 Payables Import1 Properties1 R121 Register BIP as ESS Job1 Reset Password1 Responsibility1 REST4 Security List1 Site Map1 SOAP2 SOAP API2 SOAP UI3 SQL16 SQL Functions3 SQL Queries14 SQL Query8 SQL Tips3 SSH1 TCA1 Value Sets1 VBCS1 Virtual Machine2 Virtual Machines1 XML1 XSLT1
Show more