Forum Discussion

info-assets's avatar
info-assets
New Member
4 years ago
Solved

Hashed Primary Keys for Idempotence

One of the major trends in data warehousing right now is the avoidance of integer surrogate keys because the eliminate idempotence (i.e. you have to reload the tables to regeneate them).  As an alternative, and especially in Snowflake, Redshift, and BigQuery, people are increasingly using a hash of the natural keys in order to join data warehouse tables.

 

Does anyone know how hashed keys perform on large tables (e.g. 1 billion row fact, 1 million row dimension) in Power BI?  

 

I know that Power BI builds a hash-integer lookup table itself, which takes up memory.  I'm wondering how much it takes up, and what effect this has on load and user performance? 

 

Thanks!

2 Replies