cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Should I use DEEP clone or SHALLOW Clone? which is better?

User16869510359
Esteemed Contributor
 
1 ACCEPTED SOLUTION

Accepted Solutions

User16869510359
Esteemed Contributor

It's the use case that decides the use of Shallow clone or DEEP Clone

Data is physically copied to the clone table in the case of a Deep clone. A deep clone is very useful to copy the data and have a backup of the data in another region/env. The typical use case is Back up and disaster recovery.

In the case of the Shallow clone, only the metadata reference is copied. This is more like a view pointing to the data at a point in time.

View solution in original post

1 REPLY 1

User16869510359
Esteemed Contributor

It's the use case that decides the use of Shallow clone or DEEP Clone

Data is physically copied to the clone table in the case of a Deep clone. A deep clone is very useful to copy the data and have a backup of the data in another region/env. The typical use case is Back up and disaster recovery.

In the case of the Shallow clone, only the metadata reference is copied. This is more like a view pointing to the data at a point in time.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.