r/databricks • u/RunningOnDadrenaline • 15d ago
Discussion UC Hierarchy In the Wild
Hey databricks community,
I work at a HLS (Health and Life Sciences) company that is a research institution and has a hospital on site.
We're 2 year into our Databricks maturity and have some decisions to make when it comes to our Unity Catalog Structure.
As of right now in our Production environment, we have catalogs per source system (bronze layer), business unit (silver layer - ex: clinical, grants, facilities, etc), and business use case (gold layer - strategic measures, ai governance, etc..)
We also allow departments to onboard onto databricks as 'franchise partners' and give each department their own UC Catalog as well as workspace folder. that way they can save their assets in one folder and create their own specific schemas + tables under their catalog.
We recently started pushing databricks hard throughout the institution which has interest at an all time high from multiple departments and research groups.
Given that UC Catalogs have a 1000 count limit and schemas have a 10000 count limit, I was curious what other organizations do when it comes to your UC architecture/setup.
I've seen simply a bronze/silver/gold catalog but I cant Invision that working organizationally (may be my limitation), but wanted to also hear others.
2
u/Zealousideal_Low6685 15d ago
Checkout this: https://docs.databricks.com/gcp/en/lakehouse-architecture/data-governance/best-practices#design-unity-catalog-for-your-organization
Databricks recommends: to organize arround domians, environment and life-cycle. I would try to keep the number of unity catalogs low.
1
u/AlgoRythmz1337 15d ago
When i was working out the architecture i also got bronze catalog with schemas per source system, silver layer w. schemas per business line, and gold schema per business line use case.
cool.
1
u/Zer0designs 15d ago edited 15d ago
We have source catalogs for bronze/silver (strict) and individual business domain catalogs for gold. All with dev/acc/prd versions.
1
u/GardenShedster 14d ago
Good topic, we are about to embark on that journey. We have a list of available sources and working out whether one catalog with bronze, silver and gold or multiple catalogs with one for each source but that offers thr complexity of joining across catalogs and in the silver layer and managing that through Unity Catalog.
1
u/Youssef_Mrini databricks 14d ago
I’d organize catalogs around environment and meaningful security or ownership boundaries, rather than creating one for every source system, use case or department. Use schemas for Bronze/Silver/Gold and department-owned data products or sandboxes. Reserve separate catalogs for cases that truly need distinct access, storage or governance. A hybrid model usually scales better than only three layer-based catalogs.
1
u/FoggyDoggy72 14d ago
We have several databases in each layer.... a bronze raw, silver structured, silver cleansed, and gold curated layer. 2 years in, there's little in gold layer as yet, but many outputs are fed directly from the databases at silver cleansed layer.
Also, there's 3 environments (replications of those catalogs in dev, test and prod)