What is STAR schema | Star vs Snowflake Schema | Fact vs Dimension Table

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • In data modeling, star and snowflake are two popular ways of modeling your data. In this video, I will explain you following concepts in a very simple manner,
    What is star schema?
    What is snowflake schema?
    Difference between star and snowflake schema
    What is fact table?
    What is dimension table?
    Fact vs Dimension table
    Power BI course that covers all above concepts in depth: codebasics.io/...
    Do you want to learn technology from me? Check codebasics.io/... for my affordable video courses.
    Need help building software or data analytics/AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    🎥 Codebasics Hindi channel: / @codebasicshindi
    #️⃣ Social Media #️⃣
    🔗 Discord: / discord
    📸 Dhaval's Personal Instagram: / dhavalsays
    📸 Codebasics Instagram: / codebasicshub
    🔊 Facebook: / codebasicshub
    📱 Twitter: / codebasicshub
    📝 Linkedin (Personal): / dhavalsays
    📝 Linkedin (Codebasics): / codebasics
    🔗 Patreon: www.patreon.co...

Комментарии • 203

  • @montycardman2535
    @montycardman2535 Год назад +244

    i sometimes wonder how much universities would be better off if they employed the best youtube teachers as professors instead of the professors they currently employ. just had a 2 hour confusing lecture on this topic. this video explained it in 6 minutes

    • @riaswamy4778
      @riaswamy4778 Год назад +2

      Yup true you said

    • @mohammedabdeen9841
      @mohammedabdeen9841 Год назад +2

      I totally agree

    • @temptedtrevor8498
      @temptedtrevor8498 Год назад +2

      Some universities do have good professors but again there are more universities than the number of good teacher available. And these youtubers teach online cause they like their own schedule and environment. You can't expect every Online Educator to sign up for an university job.

    • @randall.o8995
      @randall.o8995 Год назад +1

      This guy explained my 14w of lectures crystal clear in just under 7m damn

    • @shathusjansivaneswaran9758
      @shathusjansivaneswaran9758 11 месяцев назад

      Certainly, with "Aliens" included:
      I couldn't agree more. My lecture explained it in a way that only stereotypical aliens can understand this concept. But this RUclipsr explains it in a way that even a 5-year-old can grasp the ideas of Star and Snowflake schemas.

  • @AjayPrashar
    @AjayPrashar 11 месяцев назад +15

    I have heard of these star and snowflake schema concepts before as well as implemented them for many years without really grasping key foundational concepts. This explanation really cleared up the key concepts for me. As an added bonus I finally grasped concepts behind Normalized and Denormalized. I finally get it. Thank you.

  • @akshaydushyanth9720
    @akshaydushyanth9720 11 месяцев назад +13

    To be frank many of our college professors who were Phd holders and getting paid 20lpa just for taking 2 hours of class per day never made an attempt to reach their concepts to last benchers also, they had a superiority complex of having Phd certificate so if any student didnt understand their way of explaining things they made us to feel that we arent fit for engineering. Glad that youtubers are becoming our best teachers now.

    • @0777deep
      @0777deep 6 месяцев назад +1

      Bhai kya bola tune, sahi hai bhai!

    • @just_be_abhinav
      @just_be_abhinav 5 месяцев назад

      dude this is in your engineering?
      i am in bba and i am also having same topics in business analytics

  • @equiwave80
    @equiwave80 Год назад +9

    This is the best video I have seen for difference between the Star and Snowflake Schema.
    The easiest and clearest way to explain this topic.
    Thanks for all your efforts!!!👍🙏

  • @kstar_kz
    @kstar_kz 7 месяцев назад +3

    I find this video a great explanation of the STAR and the SNOWFLAKE schemas! Thanks for creating a valuable content!

  • @petebell271
    @petebell271 4 месяца назад

    MASTER DATA MANGEMENT (customer , Vendors), sometimes after 20 years of experience we forget the THEORY , although we have the practical knowledge ( good to brush)

  • @ChristianeRhelyJoselleA.Bacani
    @ChristianeRhelyJoselleA.Bacani Месяц назад

    Excellent, I thought the last example is an example of Galaxy Schema (Constellations of facts used to connect different or same dimensions) but good visualization!

  • @MarcoBarretoBittner
    @MarcoBarretoBittner День назад

    Excellently explained! Thank you very much!

  • @liveyourlife998
    @liveyourlife998 2 месяца назад

    Beautiful explanation brother.. I missed a Job opportunity because I dint know the answer for this 😢

  • @killersongs7906
    @killersongs7906 Год назад +6

    sir i had just read this same topic a few days ago but now you have cleared all my doubts completely, thanks

  • @abhijithvm3166
    @abhijithvm3166 9 месяцев назад +1

    I really enjoyed this video because the content in this video is very amaze. I am aspiring data analyst so every day i spent some time for learning new skills depends upon the analytics and talking about this video its very good because with in 6 minute teaching me whole thing related to star and snow schema and data modeling also. I really enjoyed this video and i recommending this video if you really want to know more about the schema, Database, Data modeling and normalization.

  • @inpacc
    @inpacc 3 месяца назад

    Very brief question, is the definition of the type of a data model between star or snowflake simply defined by at least one dimension table having a "secondary" dimension table? For example, if you delete that dim_market table it makes the data model to use a star schema now, instead of snowflake. Is that right?

  • @limjuroy7078
    @limjuroy7078 2 месяца назад

    Thank you for your SUPER CLEAR explanation ❤

  • @DaveSnoddy73
    @DaveSnoddy73 Год назад

    thank you , avery useful and enjoyable video to watch, thanks again from a 5(0) year old child ....

  • @jace743
    @jace743 3 месяца назад

    Succinct and extremely informative. Thank you for this!

  • @shashankjoshi8250
    @shashankjoshi8250 5 месяцев назад

    Good Explanation Sir! Just a quick question, are you gujarati ?

  • @Ragada7877
    @Ragada7877 14 дней назад

    very very useful and clear, thanks very much for sharing!

  • @drtrewenstein
    @drtrewenstein 6 месяцев назад +1

    Fantastic, I tried to learn from text book but couldn't quite grasp it. You made it very simple thank you

  • @lamo2real
    @lamo2real 2 месяца назад

    thank you very much for explaining it on such a fundamental level, very easy to grasp

  • @joseluiscabrera1417
    @joseluiscabrera1417 4 месяца назад

    Thank you so much, my friend. Great explanation!

  • @amitpatel9670
    @amitpatel9670 Год назад

    Man seriously.. Never thought it is that simple. I read some articles but didnt understand anything.

  • @rohansingh1584
    @rohansingh1584 14 дней назад

    Lots of people saying this is best video and lab lab honestly this is not best video you can find better video than this people are just come to seek attention for their comments lol yrr

  • @vial2811
    @vial2811 2 месяца назад

    Jeez, you really explained it like to a 5 years-old. Thanks so much

  • @saurabhruikar1131
    @saurabhruikar1131 2 месяца назад

    Does that mean extended star schema is nothing but snowflake schema?

  • @ismailbiomax
    @ismailbiomax 5 месяцев назад

    Thank you for the tutorial could you please share the csv file example

  • @anakapallisuneetha
    @anakapallisuneetha Месяц назад

    What an explanation bro mind blowing... Now how simple is this

  • @bennguyen4409
    @bennguyen4409 День назад

    Simple and concise! Thank you so much!

  • @zerobars3
    @zerobars3 2 месяца назад

    Great Explanations simple and easy to understand. Thanks

  • @iiN1GH7M4R3ii
    @iiN1GH7M4R3ii Год назад +2

    Thank you Dhaval for another very informtive video, you are unmatched in the world of data analytics!

  • @abhijitdas8617
    @abhijitdas8617 10 месяцев назад +2

    People complicate data modelling so much that many get scared of this term. You have explained in such a clear way in short time which is commendable. Unfortunately many university professors waste ample time without achieving anything.

  • @Official-Khronic
    @Official-Khronic Год назад

    Indians are just superior, I went from hating the accent to loving it kekw

  • @akhildharimisetty2767
    @akhildharimisetty2767 3 дня назад

    This is the clear explanation i came across till now in RUclips

  • @vishalchauhan9832
    @vishalchauhan9832 Год назад +1

    wow amazing , so simple to understand. crystal clear explanation ! Thank you so much Subscribed !

  • @erigelavani4162
    @erigelavani4162 6 месяцев назад +1

    Thanks sir for explaining in better way and with better example

  • @minato.namekaze.47
    @minato.namekaze.47 5 месяцев назад +1

    Explained better than ChatGPT! Excellent 😁👍🏼

  • @DougSiemon-b2h
    @DougSiemon-b2h 11 месяцев назад +2

    Good job on this video. I'm a senior data engineer and found this easier to explain than what was in my head Lol. I think how you described how the snowflake schema can evolve from a star schema was spot on. One suggestion would be to compliment the ease of how these tables are refreshed and maintained over time (you did this a bit with your product table) and how modeling these up front impacts everything around it such as ETL, API calls in a web form, how a search might be conducted, etc. Nice work!! A+++++

  • @jupitervibe3825
    @jupitervibe3825 9 месяцев назад +1

    Thank you so much Sir. I am glad I found this first before seeing any other confusing videos unlike others here. Very nice explanation 👌

  • @SantsharanKataria
    @SantsharanKataria Год назад +1

    @codebasics
    Does my Fact table must have Foreign keys to access each dimension tables?

    • @none-kz4qc
      @none-kz4qc Год назад

      yes it will have FK from the dimension table

  • @andrewt3593
    @andrewt3593 2 месяца назад

    Thank you for the overview! I learned a lot from this video.

  • @hb3393
    @hb3393 Месяц назад

    Excellent video, very succinct and no nonsense thank you sir

  • @elmirahadidian5051
    @elmirahadidian5051 5 месяцев назад

    it was the best best best ever describing the models , thankkkkkkkkkkkkks alot.

  • @Nopalxha
    @Nopalxha 3 часа назад

    I dont know if its reall that simple😅

  • @007hariharan
    @007hariharan Год назад +5

    Well explained. I got goosebumps when Dhaval said "Folks it is as simple as that ..." 4:05. Great job . Loved your content.

    • @VEGASNARSI
      @VEGASNARSI Год назад

      Same here. … awesome explanation.. a big thumbs Up sir 👍🏻

  • @RajeshwarUma
    @RajeshwarUma Год назад

    could you send that powerbi file then we can understand very easily

  • @MeetShah-pr7mm
    @MeetShah-pr7mm 4 месяца назад

    Such an insightful explanation that too in simple terms

  • @FAAAx2
    @FAAAx2 Год назад

    Months of classes at university in 6 minutes. My teacher sucks so hard

  • @kaltoumrachdi2086
    @kaltoumrachdi2086 Год назад

    thank u soooooooooooooooooooooooooooooooooooooooooooooo much for explaining

  • @edjosephalejandro2696
    @edjosephalejandro2696 4 месяца назад

    Thank you this was very helpful

  • @nasouhalolabi3905
    @nasouhalolabi3905 8 месяцев назад

    frankly it's not rocket science 😂😂😂😂😂😂😂😂

  • @alemayehudesta2744
    @alemayehudesta2744 4 месяца назад

    Came here from the "SQL for data science" course

  • @DataNgineering
    @DataNgineering 9 месяцев назад

    Not quite what I was looking for. But thanks

  • @kaveghasemzade8751
    @kaveghasemzade8751 6 месяцев назад

    I really enjoyed the way you explaiend those :)

  • @dipti2075
    @dipti2075 Год назад +1

    Hi sir , your videos are really good. Please make a playlist for data engineering concepts . Love from Odisha ❤️❤️

  • @swanandkulkarni1095
    @swanandkulkarni1095 Год назад +1

    You art of breaking complex things into simple is awesome.
    Superb explained. Thanks.

  • @balive053
    @balive053 Год назад +1

    Love the explanation. Very clear and good example. Thanks very much!

  • @praveenkumar-sk8nx
    @praveenkumar-sk8nx 8 месяцев назад

    Which tool are using to design. Data model

  • @SivaV-v2y
    @SivaV-v2y 2 месяца назад

    Short and Crisp explanation.

  • @bijayphoto1447
    @bijayphoto1447 Месяц назад

    I had understood crisp clear about these concepts. Thanks to you man❤

  • @thenuchellappen4688
    @thenuchellappen4688 Год назад +2

    Nobody can match the way how you are teaching/clarifying a new topic to the beginners. ❤️ Please do more such videos 👍

  • @VISHNUARAVIND-w1b
    @VISHNUARAVIND-w1b Год назад

    can also explain ACID transactions?

  • @OkayestOfDads
    @OkayestOfDads 4 месяца назад

    Great explanation and visuals.

  • @mmmwatching
    @mmmwatching 5 месяцев назад

    Very helpful, thank you!

  • @turnerkirk5265
    @turnerkirk5265 13 дней назад

    FANTASTIC VIDEO! I've been trying to find a simple explanation of what Fact / Dimension tables are for a week now and I just kept finding super long and overly complicated descriptions of database architecture. This is so well done. I now understand what Fact / Dimension tables and Star Schemas are! thank you

  • @KrishnaConcious9888
    @KrishnaConcious9888 Год назад +1

    Can't be any simpler explanation than this, Thank You

  • @jupallipraveenkumar-nn9ef
    @jupallipraveenkumar-nn9ef 4 месяца назад

    thank you so much for information

  • @RiyaKakar
    @RiyaKakar 4 месяца назад

    I really could not understand the snowflake schema but this video did its job. I am clear now. Thankyou, appreciate it. We need more of these videos.

  • @saiuppuluri1063
    @saiuppuluri1063 5 месяцев назад

    Very thoughtfully explained, making it easy to grasp even for data engineering newbies

  • @Yuvans22
    @Yuvans22 Год назад +1

    Very great explanation, I was in confusion all these days , but you have clarified it for good. Thanks heaps

  • @ayushshukla5945
    @ayushshukla5945 3 дня назад

    best explanation sir

  • @corsim5997
    @corsim5997 9 дней назад

    Not only you explained star schema, you also did it with normalization. Thankyou very much. It was very clear and easy to understand.

  • @sripree
    @sripree 3 месяца назад

    Amazing video. Very simple and easy. I am 5 years old and I understood the concept completely.😅

  • @Sudha-n8c
    @Sudha-n8c 21 день назад

    You explained so good.

  • @fernandoroque2374
    @fernandoroque2374 5 месяцев назад

    Excelent explanation professor! Thank you for the great work! A huge hug from Brazil

  • @shaikusman536
    @shaikusman536 Год назад

    Awsome content Dhaval....Thanks brother...Hope you are keeping well Now..............Respect from Bangalore...

  • @Dhruv4work
    @Dhruv4work 3 месяца назад

    thankyou so much sir
    .

  • @_RajRanjanOjha
    @_RajRanjanOjha 3 месяца назад

    This was one of the best method to explain. The diagram and visualization was perfect. Thank you sir..

  • @GAURAVSHEKHAWAT
    @GAURAVSHEKHAWAT 2 месяца назад

    Excellent an dsimple!

  • @timohubsch4281
    @timohubsch4281 23 дня назад

    Fantastic explanation!

  • @rizwanfarooq2739
    @rizwanfarooq2739 Месяц назад

    thank you 50 year old

  • @safkaify7875
    @safkaify7875 4 месяца назад

    Best video I have seen on this topic. PLEASE keep up the good work so others (like me) can benefit from your simple way of explaining concepts.

  • @GiGi-dd5cr
    @GiGi-dd5cr Месяц назад

    You have no idea how helpful this was! You explained that so well, thank you!

  • @neeraajsharma
    @neeraajsharma Год назад

    This is not wholesome , transaction systems have Normalised tables and datawarehouses may have denomalized (start/snowflake etc schema), there might be multiple transaction table we join it and create few fact tables, to avoid join on the fly while reporting in warehouse or may aggregate as well..(source: i am db engineer for last 12 years)

  • @omarcruz6326
    @omarcruz6326 2 месяца назад

    Hello !
    This is probably the best video I have seen in my life about this topic.
    Excellent ! 👌

  • @muhammetmuslu4429
    @muhammetmuslu4429 10 месяцев назад

    very good explanation.thank you.

    • @codebasics
      @codebasics  10 месяцев назад

      I am happy this was helpful to you.

  • @abhishekgpa7948
    @abhishekgpa7948 7 месяцев назад

    superb explanation

  • @PostFrontier
    @PostFrontier 4 месяца назад

    This video is incredible. Completely simplified the concept for my understanding. And being able to see the concepts you're explaining helps greatly as well. Thank you for making this.

  • @akapurvis1173
    @akapurvis1173 2 месяца назад

    Totally awesome.👍🏾

  • @ghostrider-hk5jm
    @ghostrider-hk5jm 8 месяцев назад

    Thank you sir. Very good explanation with simple examples

  • @akeemadedigba8279
    @akeemadedigba8279 2 месяца назад

    Great explanation.

  • @tim-duncan2137
    @tim-duncan2137 8 месяцев назад

    nice explanation sir!

  • @BuyantugsLuvsankhuu
    @BuyantugsLuvsankhuu Год назад

    Awesome, very clear and simple explanation. Up until know, Data Modeling concept is ambiguity for me, now I understood full. it's data conversion process from raw data to normalized one!

  • @The_Bold_Statement
    @The_Bold_Statement 5 месяцев назад

    fantastic explaination

  • @SantoshRokaya-wb9or
    @SantoshRokaya-wb9or 4 месяца назад

    Such an excellent way to explain the things..Thank you sir!!

  • @learn_ai_with_us
    @learn_ai_with_us 3 месяца назад

    waaao...amazing..very simple explanation..hatts off

  • @adedoyinkudehinbu5039
    @adedoyinkudehinbu5039 3 месяца назад

    This was beautifully I explained. I subscribed in an instant!

  • @0777deep
    @0777deep 6 месяцев назад

    Superb man! Superb .

  • @munyinting487
    @munyinting487 9 месяцев назад

    Omg, that makes it so so so much clearer that chatgpt also can't explain well. Thanks!

  • @tushararora6665
    @tushararora6665 9 месяцев назад

    amazing amazing amazing!!

  • @sarwarcseju
    @sarwarcseju 11 месяцев назад

    very nicely explained. Thank you for sharing.

  • @nethravathi2845
    @nethravathi2845 Год назад

    This video helped me a lot, thank you so much for wonderful explanation , it means a lot 🙏🙏🙏🙏🙏