Postgres Internal Architecture Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 พ.ย. 2024

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

  • @hnasr
    @hnasr  ปีที่แล้ว +13

    Learn the fundamentals of database engineering database.husseinnasser.com

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

    One of the big value I get from your videos, especially this kind of video is the vocabulary around the topic (aka the domain model), and the fact it fleshes out or enriches one intuition; which helps us find a solutions quicker, when you face a narrow issues.

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

    Wow, there are so many fundamental and deep concepts in your video that I feel dumb not to have known most of them, despite working with Postgres for years. Thank you so much.

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

      No one is dumb bro.. its just you have not gone through that side. Keep learning keep growing.

  • @DJ-bo4pz
    @DJ-bo4pz ปีที่แล้ว +24

    Might I suggest that you use some kind of pointer ( mouse cursor ) to point to the items in the presentation as you speak. It would really further improve your presentation. Because as viewers, it is sometimes difficult to predict where exactly focus / intention is. As always, your videos are extremely helpful, thank you so much.

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

      Maybe, but it's fine to me and helps me be more engaged, Also additionally Naseer can flow his thoughts as usual without having to bother about pointers.

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

    Just noticed that you explain much more details in your articles than videos, switching back and forth between video and article 🤓

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

    One the amazing part which I really love about postgres is its Indexing

  • @omerpriel5588
    @omerpriel5588 11 หลายเดือนก่อน

    Thanks, I wanted to know more about Postgres and in the end I got much more knowledge about Architecture from it which is much more valuable.
    Your first video that I watch and I immediately subscribed

  • @rashminpatel3716
    @rashminpatel3716 3 วันที่ผ่านมา

    Excellent stuff !! A great salute to you !!

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

    These are some high quality and high value videos, absolutely love these videos.
    Thanks

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

    Great summary. An improvement I can suggest would be to expand the acronym WAL (Write-Ahead Logging). I had to look that up elsewhere. I guess you could do a whole webcast on it & how it works.

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

    Thank you Hussein! Love your content, from all the tech TH-camrs, i can follow you the best, hope you doing good in life!
    As soon as I found my place in tech, I will donate to you. Keep up the great work!

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

    1st time I heard "I wanna spend some time to talk about oscarous architecture" 🏆😅🏆Great work man btw. Thanks!

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

    still works perfectly . BLESS YOU KIND STRANGER, THANK YOU!

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

    Great info... I always guess what was the 'real' difference and strengths between PostGRE and MySQL/MariaDB...
    now please do the same for MariaDB... and for MS-SQL... and in the end a comparative of use cases and why....

  • @LeisenHillRyan
    @LeisenHillRyan 7 วันที่ผ่านมา

    Thank you - super helpful!

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

    love to support a budding artist, keep it up

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

    On your point about there being lot of TLB cache misses due to Postgres having processes instead of Threads, this is not really the case - There is one TLB per core for most modern processors (Intel - core/AMD - ryzen) and all processes on that core can share that TLB, so there will be no TLB miss due to postgres having multiple processes. Different core processes will face TLB miss but that is true for Threads as well. There is one TLB per process in different processors such as ARM processors used in mobiles where the use case support this as every app's TLB entries are flushed after that app is killed.

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

    great video. thanks so much for your time making this.

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

    Great video, thanks
    Please do MySql architecture video too.

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

    Great video!

  • @ponnethajmal5751
    @ponnethajmal5751 6 วันที่ผ่านมา

    By default, Django creates a new database connection for each user request, resulting in a separate PostgreSQL process being spun up for each connection. Essentially, Django acts as a client to the PostgreSQL backend. Does this approach effectively scale for a web application?

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

    Great stuff as always, your efforts are much appreciated! ❤

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

    One word:
    A W E S O M E !

  • @jbeaudoin11
    @jbeaudoin11 11 หลายเดือนก่อน

    @hnasr Could you do a comparaison with GCP AlloyDB ? To understand the difference and the architectural changes that GCP decided to apply to PG, especially the decoupling of compute from storage. I just don't know if there is enough information out there.

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

    Excellent Video

  • @geghamayvazyan5637
    @geghamayvazyan5637 9 หลายเดือนก่อน

    how do you deep dive into Postgres or any other DB? are there any helpful resources on Postgres particularly you used to understand how it works?

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

    awesome video

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

    as always, amazing explanations

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

    Thank you for the content!

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

    Hey Hussein. Could u do a overview of the hadoop architecture?

  • @zen-ventzi-marinov
    @zen-ventzi-marinov ปีที่แล้ว

    1000 likes : 0 dislikes; perfectly balanced as all things should be

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

      How you know the dislikes?

    • @zen-ventzi-marinov
      @zen-ventzi-marinov ปีที่แล้ว

      @@i_am_dumb1070 "Return TH-cam Dislike" Chrome extension

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

      @@zen-ventzi-marinov bruhh thankyou i wanted that soo badly

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

    26:44
    @Hussein Nasser
    So why don't people use the WAL archives for database redundancy/backups?

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

    Thanks a ton!

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

    I noticed the wal dir has files from 2020. stand alone server. any reason why the system did not clean up older wal files?

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

    Can you please make a same type of video for mysql?

  • @houssamnaji-o7m
    @houssamnaji-o7m 2 หลายเดือนก่อน

    thanks a lot

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

    It's crazy how fork is still the standard mechanism to spawn new processes. It's unnecessarily expensive even with the optimizations and has thread safety issues, plus it's horrible from API perspective. We should use alternatives like posix_spawn for better efficiency, less bugs and easier to use code.

  • @ВадимКлимов-й1щ
    @ВадимКлимов-й1щ 7 หลายเดือนก่อน +1

    Thanks youtube for x2 speed

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

    Less tutorial on how operating systems work and more about how Postgres works, please.

  • @mohanraj-kr9xg
    @mohanraj-kr9xg ปีที่แล้ว

    Pls do the same for Casandra

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

    Thats a 'two blade sword' for me :D

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

    Hussein you fucking rule dude

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

    23:28

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

    😞

  • @Raja-d6w
    @Raja-d6w 2 หลายเดือนก่อน

    I thought carry minati 😂

  • @oscitancy
    @oscitancy ปีที่แล้ว +65

    The number of adverts on this video is crazy. Constant interruptions make it harder for me to absorb the information in the video. Only got half way through then gave up.

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

      @@HowDoYouUseSpaceBar How?

    • @konga8165
      @konga8165 ปีที่แล้ว +11

      Honestly I love TH-cam Premium. I haven’t seen a single ad since it came out.

    • @faithyintii8457
      @faithyintii8457 ปีที่แล้ว +17

      He giving this info out for free isn't he ?

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

      Vanced

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

      TH-cam premium in turkey is $.50 a month

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

    do nothing... stop doing something