โ09-07-2025 12:01 AM
Just completed migrating 500TB to Unity Catalog without a single minute of downtime. Here's how:
Anyone else doing UC migration? What patterns worked for you?
P.S. created a full migration toolkitโDM if interested!
โ09-08-2025 03:44 PM
Thanks, @Khaja_Zaffer and @BS_THE_ANALYST!
@Khaja_Zaffer:The toolkit has 5 main components:
Sending you the GitHub link via DM!
@BS_THE_ANALYST: Excellent observation! This isn't typical; most use downtime. The 3 weeks with zero stale data worked because:
# Dual-write pattern every transaction hits both systems write_to_hive(df) + write_to_uc(df) # Atomic operation
The dual-write ensures data is ALWAYS current in both systems. No catch-up needed!
You're right that downtime is simpler (one snapshot, done), but for 24/7 operations, this complexity pays off.
Happy to dive deeper into any specific aspect!
โ09-07-2025 03:26 AM - edited โ09-07-2025 03:27 AM
Hey @ck7007
Thats a good hands on project! what kind of toolkit do you have sir
โ09-07-2025 07:11 AM
@ck7007 I'd love to checkout the toolkit aswell & thanks for sharing this strategy.
I'm curious, is this a typical migration to Unity Catalog? โบ๏ธ.
Also, with it taking 3 weeks, there must be some chance of data not being the "latest"? ๐ค. Curious if that's the benefit of the downtime is that you can get all the latest over?
All the best,
BS
โ09-08-2025 04:45 PM - edited โ09-08-2025 04:46 PM
โ09-08-2025 03:44 PM
Thanks, @Khaja_Zaffer and @BS_THE_ANALYST!
@Khaja_Zaffer:The toolkit has 5 main components:
Sending you the GitHub link via DM!
@BS_THE_ANALYST: Excellent observation! This isn't typical; most use downtime. The 3 weeks with zero stale data worked because:
# Dual-write pattern every transaction hits both systems write_to_hive(df) + write_to_uc(df) # Atomic operation
The dual-write ensures data is ALWAYS current in both systems. No catch-up needed!
You're right that downtime is simpler (one snapshot, done), but for 24/7 operations, this complexity pays off.
Happy to dive deeper into any specific aspect!