Skip to main content

Oracle Virtual Pluggable Database Snapshots Take Over Fifteen Minutes to Complete and Report Missing Archivelogs (KBA5832)



KBA# 5832

Applicable Delphix Versions

Click here to view the versions of the Delphix engine to which this article applies
Major Release All Sub Releases




Troubleshooting Oracle VCDB snapshots taking over fifteen minutes and reporting missing archivelogs

Delphix currently (as of ensures that a Virtual Container Database (VCDB) and Virtual Pluggable Database (VPDB) are provisioned with log_archive_dest_X  database parameters (typically log_archive_dest_1) being set to a Delphix supplied NFS mounted file system.  During the provision process Delphix allows the setting of log_archive_dest_X to be another non-Delphix file system, however Delphix will establish a second destination and link this to the Delphix file system.  This results in the VCDB creating archivelogs in both locations.   

The Database Administrator of the VCDB can disable archiving to the Delphix mount point by altering the relevant log_archive_dest_X parameter.  This results in archiving occurring into the non-Delphix file system only.  This is currently not a supported configuration.  

Having the VCDB archivelog creation configured in this way results in snapshots being created for the VPDB that cannot be provisioned from as archivelogs are reported as missing for the snapshot.

This knowledge base article examines what is put in place to produce this behaviour and how you overcome the missing logs reported for the snapshot and more importantly how you avoid the missing logs and 15 minute snapshot times altogether. 


The Oracle Database Administrator (DBA) has made changes to the Oracle VCDB parameters influencing the creation of archivelogs and stopped archive logs from being created in the Delphix NFS mounted file system typically used to hold these logs.  The DBA has set the creation of archivelogs to be a file system location outside of Delphix supplied mount points.

The following changes in a VCDB/VPDB pair will lead to the behavior appearing.

  • Disable archiving in the VCDB to the NFS mount point.
    SQL> show parameter log_archive_dest
    NAME               TYPE        VALUE
    ------------------ ------ ------------------------------
    log_archive_dest   string
    log_archive_dest_1 string location=/u01/app/oracle/product/12.2.0/dbhome_1/dbs/
    log_archive_dest_2 string location=/mnt/provision/VCDBARC1/archive/ MANDATORY
  • The reset command is one way to disable this archiving, there are others not documented here, like editing parameter files and removing the values.
    SQL> alter system reset log_archive_dest_2;
  • Enable creation of archive logs to a non-Delphix file system location (if it wasn't set already during the provision process).
    SQL> alter system set log_archive_dest_1='location=/u01/app/oracle/product/18c/archives/';
  • The Delphix OS User does not have read permissions for this directory location.  In the example below only the Oracle Home owner can read and write in the archive location.
    [oracle@oelsiasm1 18c]$ pwd
    [oracle@oelsiasm1 18c]$ ls -ld archives
    drwx------. 2 oracle oinstall 4096 May 8 09:04 archives
  • Once this configuration is in place a subsequent snaspsync will look to have hung and no progress will be seen after initiating log sync for the VPDB.


  • The Job will eventually complete, however it will take a little over fifteen minutes to do so.



  • Looking at the snapshot just captured for the VPDB will report missing archivelogs.


  • A warning is also produced regarding logsync being unable to fetch the archivelogs from the VCDB.




There are two parts to resolving this behaviour permanently in VCDB's.

  1. TO RESOLVE THE MISSING ARCHIVELOGS reported for the snapshots reporting archivelogs missing the following process is to be performed for each snapshot.
    1. The snapshot(s) captured where the warning around missing archivelogs is reported cannot be provisioned from in this state and the timeflow repair tool must be used to retrieve this missing logs from the target hosts file system.
    2. This will pull the missing logs from the target host into the engine and clear the missing logs error.
  2. TO RESOLVE THE ONGOING SNAPSHOT PROBLEMS that result from configuring a VCDB to archive logs only to a file system location that is not a Delphix mount point establishing an archivelog destination that resides in Delphix mount points must be performed. 
    1. Log into the VCDB invoking the SYSDBA privilege
      sqlplus / as sysdba
    2. Execute the parameter change to set an archivelog destination to be the original archive location supplied for the VCDB when it was created.
      SQL> alter system set log_archive_dest_1='location=/mnt/provision/VCDBARC1/archive/ MANDATORY';