Database Design 33 - Cardinality

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2014
  • Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
    🐍 Python Course - calcur.tech/python-courses
    ✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
    ~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
    ✉️ Newsletter - calcur.tech/newsletter
    📸 Instagram - / calebcurry
    🐦 Twitter - / calebcurry
    🔗 LinkedIn - / calebcurry
    ▶️ Subscribe - calcur.tech/subscribe
    👨🏻‍🎓 Courses - www.codebreakthrough.com
    ~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
    ↪ My Amazon Store - www.amazon.com/shop/calebcurry
    🅿 Patreon - calcur.tech/patreon-calebcurry
    🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
    Ⓟ Paypal - paypal.me/calcur
    🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
    🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
    📈 Buy Bitcoin - calcur.tech/crypto
    Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 60

  • @vmaloy9030
    @vmaloy9030 3 ปีที่แล้ว +4

    thank you so much for this Caleb. Remote Learning with this courses has been a struggle and this video (and im sure more) saved me.

  • @rajibtammydasgupta2068
    @rajibtammydasgupta2068 8 ปีที่แล้ว

    Perfect descriptions - really helped with my database homework

  • @gwenfuri4584
    @gwenfuri4584 2 ปีที่แล้ว +1

    Thank YOU! You definitely explained it in a way I can understand!

  • @ashleykirsch5147
    @ashleykirsch5147 8 ปีที่แล้ว +1

    This helped so much!! Thank you!

  • @gijshazerswoude9101
    @gijshazerswoude9101 9 ปีที่แล้ว +7

    Love the chalkboard! Thanks for the video, very helpfull.

    • @mr.almezeini647
      @mr.almezeini647 3 ปีที่แล้ว +1

      dude is so nerdy he uses old technology.
      that... THAT is one savage nerd right dey :D

  • @arnold9448
    @arnold9448 8 ปีที่แล้ว +8

    I didn't even noticed you stuttered! ;) Thanks for your clear explanation

  • @devikamujgule6888
    @devikamujgule6888 หลายเดือนก่อน +1

    king this was brilliant. This was so helpful!!! you didnt even stutter btw

  • @heyitsvolga
    @heyitsvolga 3 ปีที่แล้ว +16

    better than my professor explaining for an entire week lol

  • @bassam9115
    @bassam9115 8 ปีที่แล้ว +1

    Helped quite a bit, thanks

  • @bigmax1839
    @bigmax1839 8 ปีที่แล้ว +4

    good video dude keep it up its not half as bad as you think

  • @soldadopreciso
    @soldadopreciso 5 ปีที่แล้ว

    Thanks Caleb ,greetings from Galapagos, Ecuador

  • @emberafterglow4916
    @emberafterglow4916 4 ปีที่แล้ว +3

    New Shirt, I love it! Live Free!!

  • @77ownage
    @77ownage 3 ปีที่แล้ว

    So, in the logical schema, you don't include intermediary relations? And if that is the case, does that mean in the 'card_holder' to 'card' relationship we can also express a 'many-to-many'?

  • @popwar6294
    @popwar6294 8 ปีที่แล้ว +3

    Thanks for the help friend, AIS is killing me

  • @jasemabdullah8429
    @jasemabdullah8429 3 ปีที่แล้ว

    Thanks for clear and nice explanation

  • @stonermountain9147
    @stonermountain9147 3 ปีที่แล้ว

    Thanks for sharing mate

  • @garimavohra1482
    @garimavohra1482 8 ปีที่แล้ว

    Are there any java video lectures done by you?

  • @oliverchris5404
    @oliverchris5404 2 ปีที่แล้ว

    Bro you tremendously helped me❤️❤️❤️❤️❤️🙏🏽🙏🏽🙏🏽🙏🏽🙏🏽, God bless you

  • @harryb1210
    @harryb1210 2 ปีที่แล้ว

    Just wanted to add for those of you who are reading database systems: sixth edition Pearson as part of either a business analytics class or for data science. The book definition is speaking about the mathematical concept.
    If you need understand the difference between the two and are still struggling head over to stack overflow and type in the book definition. Someone answered it already. It helped me.

  • @demon0192
    @demon0192 4 ปีที่แล้ว

    Thank you!

  • @vio4jesus
    @vio4jesus ปีที่แล้ว

    In fact Mr. Caleb, when you get a credit card you get an account for that card. Modern accounting originated with the Knight Templar, and the purpose of the account is to allow multiple family members transact on or against the held money /goods.

  • @huytranxuan5976
    @huytranxuan5976 6 ปีที่แล้ว

    Thank you so much

  • @darthbleen984
    @darthbleen984 7 ปีที่แล้ว

    yoo catch you there man!!!

  • @cybergenius4692
    @cybergenius4692 5 ปีที่แล้ว

    what about zero to many?

  • @dboijahskush1251
    @dboijahskush1251 8 ปีที่แล้ว +8

    hey you should do a software engineering .. your great at explaining these things compared to some of my professors...

    • @BEKBLAXX
      @BEKBLAXX 8 ปีที่แล้ว +2

      This is a part of software engineering. Software engineering is a huge topic...

    • @Menelyagor12
      @Menelyagor12 7 ปีที่แล้ว

      yehhh and?

  • @alexcurran6460
    @alexcurran6460 7 ปีที่แล้ว +5

    cheers pal. way more help than my lecturer tbh

    • @RM-tj7lv
      @RM-tj7lv 7 ปีที่แล้ว +1

      haha unfortunately I know exactly what you mean

  • @richardbolas
    @richardbolas 2 ปีที่แล้ว

    this man is a god at teaching

  • @saadrana234
    @saadrana234 7 ปีที่แล้ว

    thanks bro

  • @MrDovanele
    @MrDovanele 4 ปีที่แล้ว +1

    it's like watching matrix movie that had CRT embedded monitors as "advanced" technology... tech changed so much

  • @justingrove5190
    @justingrove5190 4 ปีที่แล้ว +1

    Man, I wish you were my professor

  • @PerscillaBrowne
    @PerscillaBrowne 9 ปีที่แล้ว

    great video

  • @8Bitz
    @8Bitz 3 ปีที่แล้ว +1

    Sweet new AMERICA shirt!

  • @nmkone2207
    @nmkone2207 5 ปีที่แล้ว +5

    You were great even in 2019.

    • @Itacho333
      @Itacho333 4 ปีที่แล้ว

      2014*

    • @maliraza3696
      @maliraza3696 3 ปีที่แล้ว

      2021 still his videos are relevant.

  • @thomastafese9470
    @thomastafese9470 ปีที่แล้ว

    Watching this in 2022. U were so young then.

  • @alsimmons5566
    @alsimmons5566 9 ปีที่แล้ว +25

    This is not Cardinality you have explained Relationships. Cardinality is the next step where you document the min and max number of entity occurrences associated with one occurrence of the related entity. Ex. (1,4) would be placed under your connectivity diagram on the many side an (0,1) on the one side.

    • @clarianken4223
      @clarianken4223 8 ปีที่แล้ว

      sir this is what I want to know. can you tell me more? please.

    • @voodoochili12
      @voodoochili12 7 ปีที่แล้ว +2

      Al Simmons, can you please elaborate on the difference between Relationships and Cardinality? Everything I have read suggests that Cardinality and table 'Relationships' are interchangeable and your comment makes them sound only tangentially different. Can you explain what you mean by 'Cardinality is the next step'? What is the first step - defining the relationship? Isn't the relationship implied by the Cardinality? Thanks!

    • @duvipearson6251
      @duvipearson6251 6 ปีที่แล้ว

      Good thing i read the comments section.... smh

    • @AhmedHadiPADI_scuba_instructor
      @AhmedHadiPADI_scuba_instructor 6 ปีที่แล้ว

      @Al Simmon, is your comment a valid feedback or just "boring philosophy" ??? you can at least answer people you confused.

    • @Drewbernetes
      @Drewbernetes 6 ปีที่แล้ว +5

      It would be useful if people did elaborate on their comments.
      My understanding of cardinality is new but is as follows - hopefully it'll help some people (though I'm still progressing my learning for DBA):
      Things can have a high and low cardinality. Something like a boolean has a low cardinality as it has, not including null, 2 available options - true & false.
      Something with a high cardinality has a large range of options and is, by rule of thumb, more unique. ID being a perfect example as it increments and has a unique value.
      So a way you can use this to improve performance is by configuring an index to use the high cardinality value first and then use the low cardinality on the where clause.
      Imagine a DB that contains video parts that are to be processed into one single video and the ones that have been processed. You have a script that every minute checks the DB and processes the videos that require it.
      To improve the read of the data you could do:
      CREATE INDEX ON tbl (id) WHERE media_processed = FALSE
      This would allow the database to pull all of the unprocessed videos quicker than if for example you just did a select by the media_processed value as with that scenario every record would have to be checked for the true or false value.

  • @mh5854
    @mh5854 3 ปีที่แล้ว

    Thnx

  • @ShravanDwarka
    @ShravanDwarka 4 ปีที่แล้ว +1

    The sound of chalk on blackboard

  • @adamland9219
    @adamland9219 5 ปีที่แล้ว

    Shaggy is that you?

  • @jordydemeyere5029
    @jordydemeyere5029 2 ปีที่แล้ว

    Why does he sound like Greg from succession, LOL. Thanks for the video tho.

  • @ChoosingDana11
    @ChoosingDana11 3 หลายเดือนก่อน

    Omg this is 9 years ago!
    I was going to ask if we could be friends you are really cute

  • @robloxvempor
    @robloxvempor 2 ปีที่แล้ว

    God😎

  • @gerryattrik4410
    @gerryattrik4410 8 ปีที่แล้ว +1

    I have a big crush on you.

  • @docnoob8978
    @docnoob8978 6 ปีที่แล้ว

    high on weed

  • @dubainini7190
    @dubainini7190 2 ปีที่แล้ว

    yooo

  • @syedhaq12
    @syedhaq12 6 ปีที่แล้ว +1

    Thanks for your efforts and time. But thats not the right explaination.

  • @gexanxavian
    @gexanxavian ปีที่แล้ว

    thanks bro