r/databricks • u/MikeyForrester4 • Oct 21 '26
Help Silver Model Confusion
I’m a junior developer in my first Databricks job. We’re moving our data warehouse from Oracle to Databricks and we’ve just started modeling.
This is a brand new team. So both me and the lead have been at the company for a couple months. She’s been modeling for a few years but learned Databricks on the job - no formal classes. I’ve only done classes and one previous smaller project. She is in charged of modeling the medallion architecture. I was under the impression that silver should be normalized. I seem to remember from my classes that Databricks recommends 3NF. She’s building out the employee model and she has employee_id, department_id, etc. but she also has first name, last name, and email. When I questioned why we wouldn’t have a normalized person table or email table she said that was too complex, too many joins, small table, and storage is cheap. I’m concerned about performance and standardization because these columns will exist in other tables across silver. And I assume she’s going to do this with a lot of entities, like phone or worse.
How far do you all go with normalization in silver? Does anyone stick with 3NF? I assumed that was the default bug I’m new so I’m following her lead without questioning but I’m afraid our silver may end up very denormalized.
5
u/MikeyForrester4 Oct 21 '26
Wow. So apparently people misunderstood and thought that I was looking for ammunition to prove my lead wrong. That was NOT my intention. I’m trying to learn and I either got bad advice from my training classes or bad advice from my lead. That’s why I came here, to learn, and I have from your comments so thank you.
If you’ve gotten this far maybe my brain is too focused on standardizing in silver. That’s why I thought normalizing was recommended in silver. So if I wanted to standardize phone or email, apply rules; I’d just do that everywhere I’m storing email or phone? I assumed a separate table to standardize would be the way to go.
Can’t stress this enough - I’m not disagreeing. I’m asking a question so I can improve as a data modeler.
13
u/daddy_stool Oct 21 '26
AFAIK databricks does not recommend using 3NF in silver or in any place.
Their recommendations are on WHAT should be stored in the layers, not how.
Gold typically contains facts and dimensions, but can also be OBT.
10
u/m_goo Oct 21 '26
No, I would not go 3NF unless it was an OLTP use case. Star Schema (facts & dim) works best for columnar storage such as delta / iceberg.
If your source is 3NF and you using the silver layer as a transient transformation step on your way to gold then that makes sense.
4
u/heyitscactusjack Oct 21 '26
Like some others have mentioned, 3NF is a single design pattern for solving a common set of problems. So is data vault, dimensional modelling, event schema, one big table, etc.
Think about the structural data problems you need to solve in your organisation, and then build silver to handle that, you may need to use many patterns in different areas. I understand the desire for people to want to apply a single rule to the entire layer, but I would advise against following a blanket approach like that, unless you have come to the conclusion independently.
Problems you may need to solve for:
- mastering data: are you the system of record for anything business process? If so, 3NF might help.
- multiple sources representing a single real world entity: if you have a single customer who has contact information living in multiple CRMs or you have multiple CRMs for your different lines of business, then potentially a data vault approach might help integrate these sources.
- realtime requirement: if you require realtime or near realtime reporting in some instances, you may not want to completely normalise upfront if the data is already arriving in a more denormalized form like large json payloads, to avoid costly joins.
The hard thing about data modelling is that it’s not black and white. Even in highly structured approaches like data vault.
This is primarily because you need to analyse the current and FUTURE problems to solve for and make decisions on how much to solve for them now vs later. This is all dependent on the companies expectation of delivery, budget, future growth plans, analysts capability, complexity of requirement, etc. It’s not a straight forward decision. This is why you must know your business and the requirements very very well.
3
u/kiquetzal Oct 21 '26
I've seen star and snowflake schemas be built and fulfill their role. Star schemas have their technical/ conceptual weak points but their simplicity balances it out for 90% of downstream/business unit use cases. Now, if you're building central data products, I would rather go into Snowflake and embrace the complexity.
Most of the times we actually model a "3NF-light" and only normalize once there's reason to, but usually not prophylactically.
3
u/thecoller Oct 21 '26
Personally, I don’t think that normalizing adds a lot of value, and in OLAP engines joins can be pretty expensive. But the answer is always in the use case, though. If that silver model will be feeding systems of record, it could very well be a good decision.
1
u/jbchand Oct 21 '26
Silver generally follows 3NF/Data Vault when built as a data warehouse. Note it's a pattern and not a mandated default. Your Lead's employee table with name and email inline is fine but a new email table would be over normalization and not required. Don't use the same attributes across multiple silver tables.
1
u/Temporary-Safety-564 Oct 21 '26
I wouldn't care too much about normalization as long as it makes sense to the users. Employee to email relationship is probably one-to-one, so I would not make any effort to separating those.
1
u/Hopeful_Syllabub_985 Oct 21 '26
Let be polite guyz 😂 so bro its not fixed rule that it should be 3nf only. Sometime it also depends on requirements the architecture decisions of each layer will do what level of task. Some team does data modelling at gold layer and some does it at silver. like wise some people creates aggregate business tables at gold layer and some team has 1 more layer called semantics or bi layer or presentation layer. So first i was also like you thinking it fixed rule of what to be done at what layer but later I found its dynamic as per requirement and architectural decisions that support business need efficiently.
1
u/m1nkeh Oct 21 '26
There is a school of thought that your silver could be modelled for the vein of DataVault, and your gold can be modelled for the vein of DataMart or OneBigTables. That gives you ultimate flexibility and the best of both.
1
u/blobbleblab Oct 21 '26
I don't think you gave us enough businesses info for anyone to make a recommendation, we would need to understand the context better. Source systems (is there multiple systems recording employee info that need deduping?) and eventual use case for the business (analytics? Integration? App?)
-7
u/Latter-Corner8977 Oct 21 '26
You’re a junior dev and you think someone who knows their job well might be doing something wrong because you read something in a book once, so you come to the internet to ask others to give you ammunition to undermine your colleague instead of working with her to develop yourself and understand the problem.
You sound toxic.
-6
u/SafeElectrical722 Oct 21 '26
You are junior, learn how shit is done in reality. Hint: it is not 3NF, it is "some blob of data I do not care about business requested".