• Learn how to seamlessly convert Unity Catalog (UC) external tables to UC managed while minimizing downtime, maintaining table configurations, and preserving table history
• Boost query performance by 20x, reduce costs by 50%+, and unlock advanced features with Unity Catalog managed tables
• Find out how to stay in control of your data’s physical location, perform bulk conversions, handle rollbacks, and plan your journey
The new SET MANAGED command provides a seamless mechanism to convert UC external tables to UC managed tables while minimizing downtime, handling concurrent writes, maintaining table configurations, and, where possible, preserving table history. This article shares best practices and provides a step-by-step guide for using this generally available (GA) command:
With Unity Catalog as the source of truth, managed tables unlock unique capabilities that enhance performance, governance, and ease of use—without vendor lock-in.
Key advantages include:
Converted tables support reads from any third-party client (see here for more details).
The SET MANAGED command makes conversion from external to managed tables easier
Feature | Benefit of SET MANAGED command |
|---|---|
Minimize Downtime | Keep the table online and available for reads using Databricks Runtime 16.1 or above, and minimize downtime to just a few minutes for writes (or, for reads on Databricks Runtime 15.4 or below). |
Preserve Identity | The table's name, permissions, tags, and settings for all tables, and table history (for Delta tables) are all retained. |
Handle Concurrency | The SET MANAGED command safely handles concurrent writes that may occur during the conversion. |
Roll Back | Another command called UNSET MANAGED enables roll back of a converted table back to UC external within 14 days, as a safety net. |
The SET MANAGED command makes table conversion straightforward. In a step-by-step guide, we've outlined key tips to ensure a smooth transition from external to managed tables.
Begin by selecting a couple of Unity Catalog external tables to convert to UC managed first, to familiarize your team with the process, prerequisites, and post-conversion steps.
For example, you can try out this command first on a couple of tables that are exclusively read and written to by Databricks clients (see planning a staged journey).
Check that your ecosystem of table readers and writers are ready for change. For each selected UC external table and its associated workloads, you’ll want to:
Execute the conversion using the following conversion command:
Note: For tables with UniForm enabled, use SET MANAGED TRUNCATE UNIFORM HISTORY.
After the command completes, confirm that the conversion was successful by checking the table's metadata.
In the output of this command, the “Type” property should now display as “MANAGED”. You can also see this same information in the ‘About this table’ section of the Catalog Explorer.

After a successful conversion, complete these final steps to ensure a smooth transition:
A successful conversion of all tables to UC managed is a journey – adopting a phased approach and planning ahead can help ensure a smooth transition:
The following details regarding the conversion command may be useful to know in advance:
To convert hundreds or thousands of Unity Catalog external tables in bulk within a given schema, you can use the following simple SQL script.
Note: This script performs live modifications. It is highly recommended to test it thoroughly in a development environment before running it in production.
Unified Catalog (UC) managed tables reside in customer-managed storage and are accessible through open catalog APIs. If you want more control over how your data is physically stored, you can define a managed storage location at the catalog or schema level – any new managed tables created in that catalog or schema will be automatically organized in that specified location.
For pre-existing external tables, you can set a managed storage location, then use the SET MANAGED command to convert them to UC managed tables. During conversion, the system respects the managed location you’ve defined, giving you control over the physical layout of your data in cloud storage. Please contact your account team to access this feature in Private Preview today.
In just a few short months since Public Preview, hundreds of customers have successfully converted thousands of tables with SET MANAGED.
Everything described here is now GA—try it out today and unlock the performance, governance, and simplicity of Unity Catalog Managed Tables.
