Refreshing vDB from its parent vDB

  • 1
  • 1
  • Question
  • Updated 1 year ago
  • Answered
Here's our scenario:

- We created vDB from a dsource  to be used as a source in a data template in JetStream
- Then we provisioned the vDB to get a child vDB and used it to create a container in the template
- changes made to the parent vDB, don't reflect on the child vDB

we tried refreshing the container from JetStream, and tried to make a snapshot using the Admin App, but no changed made. 

it seems like the child vDB is taking a snapshot from the dSource instead of taking it from its direct parent vDB. My question: is there a way to make the child vDB take changes from its parent vDB instead of the dSource?

Thanks a lot!
Photo of Abdullah alsuwailem

Abdullah alsuwailem

  • 240 Points 100 badge 2x thumb

Posted 1 year ago

  • 1
  • 1
Photo of Jatinder Luthra

Jatinder Luthra, Employee

  • 2,996 Points 2k badge 2x thumb
Hello Abdullah,
                       Child VDB will always reflect changes from its parent container, whether its dSource or parent VDB. If changes are done on parent VDB, it should reflect on child VDB after refresh.

Could you please confirm below points? I assume this is Oracle
  • Changes are committed on parent VDB
  • Log-Sync is enabled to parent VDB and it is in archive log mode.
  • Try switching log file on parent VDB.
  • Try refresh child VDB from Admin app, and select latest point in time from parent VDB, to validate.

Thanks
Photo of Abdullah alsuwailem

Abdullah alsuwailem

  • 240 Points 100 badge 2x thumb
Just finished a call with someone from Delphix. The only thing that must be done for changes on parent to be reflected on child is taking a parent snapshot. Otherwise, the child will use the latest taken parent snapshot, which in our case was few hours before the changes. 

Thank you Jatindar Luthra for your assistance, and for future reference for those who will find this question, yes the log-sync is enabled and the it's in archive log mode. 
Photo of Jatinder Luthra

Jatinder Luthra, Employee

  • 2,996 Points 2k badge 2x thumb
Thanks Abdullah. Glad it worked.
Photo of Mouhssine SAIDI

Mouhssine SAIDI

  • 4,782 Points 4k badge 2x thumb
Hi Abdullah,

You can automat this action using a hooks on pre-refresh that call the api to force a snapshot on the parent vdb before refriching.

Regards,

Mouhssibe