Caleb - Your theatrics were adorable and make these videos entertaining!
@MariuszKlinikowski6 жыл бұрын
Yes, you're saving some space with natural keys, but surrogate keys, like just number (integer) are faster during comparisons. Like you need to compare 4 bytes of integer versus 10-11 for string "CelebCurry\0". Databases grows big, so it's more and more important to use numbers, because actualy indexes are usually smaller with integers than strings. :) Anyway - good videos.
@TheSkepticSkwerl5 жыл бұрын
TBH i think it comes down to the size. I bet Facebook would be best with user names. But a smaller database, say a few million, would be better with id's
@PravinJanjal927 жыл бұрын
Your explanation is the best!
@codebreakthrough10 жыл бұрын
Should you use Surrogate Keys or Natural Keys? Watch this video to find out! buff.ly/V1CEvh
@ScottDamery9 жыл бұрын
Would you say that you should use Natural Keys for User interfaces and 3rd party services. Use Surrogate for internal db keys. I am looking at creating a trigger that creates a surrogate key when the columns for a natural key change...because I am also creating a type 2 scd table.
@cassondrad22803 жыл бұрын
Thanks Caleb, Great way of breaking it down for better understanding.
@Andrew3000827 жыл бұрын
Your videos are very helpful to me for doing my homework. Thank you!
@VelevGeorgi8 жыл бұрын
regardless this kid looks pretty much high at the beginning of this video I like the way explanation. Nice and simple
@Cheece7777 жыл бұрын
Hey Caleb, awesome video series, really helped me understand the basics of Database management systems. However... Seriously do you only have t-shirts with stars and stribes?! :D
@davygriffiths85817 жыл бұрын
Hi Caleb, thanks for your videos. V helpful. I'm a bit confused around the difference between Natural and Surrogate key. A natural key is basically a collection of columns that if concatenated would yield unique rows in table, which is effectively the same as adding a unique ID as a proxy for those columns. Wouldn't you always need to know what the natural key would be to establish a surrogate key? Thanks
@codebreakthrough7 жыл бұрын
+davy Griffiths Hi! You can just add a surrogate 🔑 if you do not have enough data to make a natural one.
@PravinJanjal927 жыл бұрын
Surrogate key is the best! Only limited to the application and it will not deal with the client in real business world
@Ejun0 Жыл бұрын
Hi Caleb, you got to go back to the chalk board or white board. These videos are great and love your humor throughout them! Much love from NC
@VeraxMusic6 жыл бұрын
What was that noise at 3:16?
@sajadsh82604 жыл бұрын
thank you , very good
@s-w2 жыл бұрын
Wow, this video has surrogacy ads on it, cause I'm obviously interested in surrogacy lol.
@AssassinLab3 жыл бұрын
Very cool video but i thing that you need a little social culture. DB & developering is not all in your live.
@tibretin7 жыл бұрын
Sorry Caleb, at speed 0.5 you are on drug bro. Make me laughs...sorry, I'm out. Keep up the good work