Skip to main content
How-toLevel: Intermediate

How to set up Unity Catalog

From metastore to three-level namespace: the Unity Catalog setup decisions you do not get to undo later.

TechExplained 5 min readPublished: 5 August 2026Last updated: 17 November 2026
#unity catalog#governance#databricks#how-to
  1. 01

    Decide on your metastore

    The metastore is the top-level securable object in Unity Catalog and it holds your metadata about data and AI assets, plus the permissions that apply to them. You set up one per region and attach the workspaces in that region to it. Multiple workspaces can share the same metastore, and that is exactly the point: your permission model and your lineage then live in one place instead of being redone per workspace.

    Workspaces created after 9 November 2023 are automatically enabled for Unity Catalog by Databricks. If you have an older workspace, do not assume it is already in place.

    Decision
    one metastore per region, not one per team. You separate teams with catalogs, not with metastores. If you work in multiple regions you have multiple metastores, and sharing data between regions becomes an explicit choice you make deliberately.
  2. 02

    Choose your catalog layout

    Below the metastore sits the three-level namespace: catalog.schema.table. The catalog is the first level and therefore where you make your coarsest split. Permissions granted on a catalog are inherited by every schema and table below it, so this choice determines how many individual grants you hand out for the rest of your life.

    There are two common layouts and they do not exclude each other:

    • By environment: dev, tst, prd. Easy to understand, and promotion between environments is a rename rather than a move.
    • By domain: sales, finance, operations. Matches ownership and how people talk about data.
    Decision
    pick one axis as the main split and use the other as the schema. Trying to do both at catalog level gives you sales_dev next to sales_prd and loses the permission inheritance that makes the catalog useful in the first place.
  3. 03

    Pick the right table type per table

    Unity Catalog has three kinds of tables and each has its own reason to exist:

    • Managed tables: the recommendation for most new tables. Databricks manages the lifecycle, the file layout and the optimization. You get cleanup and compaction without writing a policy for it yourself.
    • External tables: for data that already sits somewhere, for data that has to be reached by path from tools outside Databricks, and for file formats managed tables do not support.
    • Foreign tables: for Lakehouse Federation. These are read-only references to data in an external system, so do not count on writing to them.
    Decision
    managed by default, external as an exception with a reason. Making external the default "because we already have the storage" also takes back the maintenance Databricks would otherwise have done.
  4. 04

    Migrate away from the Hive metastore

    If you have an existing workspace, the legacy Hive metastore appears in the three-level namespace as the hive_metastore catalog. It works, which is exactly why it stays. But whatever sits in it falls outside your Unity Catalog permission model and outside your lineage.

    Decision
    put an end date on hive_metastore and measure progress in number of tables. Without a date this becomes the permanent leftover area your audit will start asking about.
  5. 05

    Grant access at the level where it belongs

    Grant permissions as high in the hierarchy as you can and as low as you must. A catalog grant to a security group is one action that carries through to everything below it; the same access as individual table permissions is a hundred actions nobody keeps up with.

    Decision
    groups, not people. And record who owns each catalog, because the owner is the one who can hand out permissions. Without a named owner that lands on the platform team by default, and that does not scale.
  6. 06

    Decide which storage backs the catalog

    OneLake external locations entered Public Preview on 2 November 2026 for Azure Databricks. They let a Unity Catalog catalog place managed data in a dedicated Azure Databricks Storage item in Fabric. Review the compute, Fabric capacity and identity requirements before the pilot. Microsoft Learn.

    ObjectivePath to evaluateAcceptance check
    Govern new managed objects in OneLakeOneLake external location as catalog managed storageCreate a test table and verify the intended identities and readers
    Read existing OneLake data from DatabricksOneLake catalog federationVerify the existing owner's access model and representative queries
    Keep the current storage architectureExisting managed locationRecord the requirement that would justify changing storage

    Start with a dedicated test catalog and one managed table. Verify access through Unity Catalog and the intended Fabric mirror. Keep membership of the storage item's direct security role limited to the connection identity. Test a reader who should have access and one who should be denied. Record any compatibility issue with catalog commits before enabling more consumers.

    Since 13 November 2026, OneLake file events are in Public Preview through a Fabric eventstream. Microsoft documents file events as enabled by default for new locations. Automatic eventstream management requires at least Contributor in Fabric. A provided eventstream requires at least Member in the eventstream workspace. Test delivery with a new file in an isolated location and verify which identity manages the eventstream. Microsoft Learn.

    Decision
    choose the storage route after validating both readers and identity boundaries. Agree on the rollback before any migration of existing objects.

What to do next

Connect Unity Catalog to Microsoft Purview once the layout is settled, so your lineage and classification sit in the same picture as the rest of your estate. See How to connect Azure Databricks to Microsoft Purview.

The process at a glance

Click a step for its key decision

Decision

Decide on your metastore

one metastore per region, not one per team. You separate teams with catalogs, not with metastores. If you work in multiple regions you have multiple metastores, and sharing data between regions becomes an explicit choice you make deliberately.

How to set up Unity Catalog | TechExplained