Skip to content

Choosing managed tables versus unmanaged tables

In Azure Databricks, tables are either managed—where Databricks controls both the metadata and the underlying data files in the default storage location—or unmanaged (external), where Databricks only manages the metadata while you control the data's storage location. Choosing between them affects how DROP TABLE behaves and how you organize data for sharing or governance across multiple systems.

1 · Learn the must-know

  • Dropping a managed table deletes both its metadata and the underlying data files, so it cannot be recovered unless you have a separate backup.
  • Dropping an unmanaged (external) table only removes the metadata from the metastore; the actual data files remain untouched in their external location.
  • Managed tables store data in the default location under the metastore's or database's managed storage path (e.g., DBFS root or a configured managed storage location), while unmanaged tables use a LOCATION clause pointing to an external path such as ADLS Gen2.
  • Use unmanaged tables when data must persist independently of the table definition, be shared across multiple workspaces/tools, or already exists in a specific storage location you don't want Databricks to control.
  • Use managed tables for simpler lifecycle management, since Databricks handles storage cleanup automatically and they integrate cleanly with Unity Catalog governance features.
  • In Unity Catalog, managed tables benefit from optimized storage and governance features (like Predictive Optimization), whereas external tables require an external location and storage credential to be configured for access.

2 · Check your understanding

Check this objectiveFree · always available

A data engineer runs the following statement in a Unity Catalog schema that has a managed storage location configured: CREATE TABLE sales.transactions (id INT, amount DOUBLE) USING DELTA; (no LOCATION clause is specified). Later, the engineer runs DROP TABLE sales.transactions. What type of table was created, and what happens to the underlying data files after the DROP TABLE runs?

Your objective map0 tried · 0 answered correctly · 77 untouched

What you have tried across DP-750's objectives, not a readiness score.

Set up and configure an Azure Databricks environment15-20% of the exam0 of 13 tried
Secure and govern Unity Catalog objects15-20% of the exam0 of 12 tried
Prepare and process data30-35% of the exam0 of 28 tried
Deploy and maintain data pipelines and workloads30-35% of the exam0 of 24 tried

3 · Keep going