Surrogate
Key
Ø 4-byte integer key
(can hold more than 2 billion positive integers)
(can hold more than 2 billion positive integers)
Ø Primary key for Dimensional Table
Ø Internally assigned and meaningless
4 insures uniqueness
4 always known
Ø Used in conjunction with business keys
4 business key is often mnemonic; for
example, OTA used for Ottawa office
4 surrogate key is numeric; for example,
000128
Ø Surrogate keys are never used in
reports. They are used to link dimension tables to fact tables.
Ø Play a vital role in maintaining SCD in
Data Warehousing
Advantages
of using Surrogate Key
Ø Reduce space in big fact tables
Ø Play a vital role in maintaining SCD in
Data Warehousing
Ø It allows duplicate natural key entry in
the table in case of SCD
Ø This allows the database to query the
single key column faster than it could multiple columns.
Ø Search is faster on numbers which is
very important for huge data in a data warehouse.
Ø Flexibility for changing requirements
Ø Attributes that uniquely identify an
entity might change. So attributes initially chosen will no longer be natural
key for the table. Surrogate keys avoid problems from choosing a natural key
that later turns out to be incorrect.
Surrogate Keys Exp
Surrogate Key Exp
Thanks for the informative article. This is one of the best resources I have found in quite some time.
ReplyDeleteInformatica Training in Chennai
Informatica Training Center Chennai
German Classes in Chennai
IELTS Coaching in Chennai
spoken english coaching centre in chennai
Japanese Classes in Chennai
ielts training centre in chennai
Spoken English Classes in Chennai
spanish classes in chennai
content writing course in chennai
Informatica Training in Tambaram
Informatica Training in OMR
Great Article Artificial Intelligence Projects
DeleteProject Center in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai Project Centers in Chennai
I am glad to post a worthy article about the German Language Course and IELTS Coaching from KCR consultants, this may change your career growth and language skill.
ReplyDeleteCLICK HERE
CLICK HERE
Thank you for this. How did you link the Member Surr Key to the Policy Surr Key in the fact table?
ReplyDelete