SpinTheMic
Pro

Explain it in 60 seconds

Deep clone vs shallow clone

Data Engineering · Databricks · Experienced

What is the difference between deep clone and shallow clone in Delta Lake, and when would you use each?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Deep clone copies data files and metadata into a new table.
  • Shallow clone copies only metadata and references source files.
  • Deep clones are independent and good for backups, DR and migrations.
  • Shallow clones are cheap and good for quick testing.
  • Shallow clones break if the source files are vacuumed.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics