PostgreSQL in 100 Seconds

Поділитися
Вставка
  • Опубліковано 26 лип 2023
  • Try Postgres with Neon bit.ly/neon-fireship right now. Postgres is one of the most popular open-source SQL databases. It is an object-relational database that supports a wide range of datatypes and design patterns. Learn the basics in this fast intro tutorial.
    #programming #database #100SecondsOfCode
    💬 Chat with Me on Discord
    / discord
    🔗 Resources
    Postgres Docs www.postgresql.org/docs/
    Futuristic Databases • 15 futuristic database...
    SQL in 100 Seconds • SQL Explained in 100 S...
    🔥 Get More Content - Upgrade to PRO
    Upgrade at fireship.io/pro
    Use code YT25 for 25% off PRO access
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - What is Postgres?
    - Postgres quickstart tutorial
    - Postgres vs MySQL
    - Postgres vs SQLite
    - Postgres vs Oracle
    - What makes postgres different?
    - What is an object-relational database?
  • Наука та технологія

КОМЕНТАРІ • 701

  • @Fireship
    @Fireship  10 місяців тому +328

    Neon has been my goto Postgres host recently. Get a free database here bit.ly/neon-fireship

    • @shelby255
      @shelby255 10 місяців тому +23

      cap

    • @fgclue
      @fgclue 10 місяців тому +3

      are you telling fireship that his favorite postgresql host, inst his favorite postgresql host??

    • @PascalxSome
      @PascalxSome 10 місяців тому +14

      Don't need autoscaling for my 5 individually started projects, that have each five tables with 10 entries each, and never will be touched again x)

    • @bobsmithy3103
      @bobsmithy3103 10 місяців тому +1

      I've kinda been procrastinating from learning postgres, you guys got any good resource recommendations?

    • @Ashwin_1198
      @Ashwin_1198 10 місяців тому +2

      dont lie

  • @h_maina
    @h_maina 10 місяців тому +1650

    Before now, I would absolutely swear that there's already a 100 seconds of Postgres by fireship. Guess this is due to the level of expectations I have for jeff.

    • @fgclue
      @fgclue 10 місяців тому +9

      same

    • @fabiandrinksmilk6205
      @fabiandrinksmilk6205 10 місяців тому +60

      I was also a bit confused, but I think it's because he has covered it before in his databases rundown videos where he compares different databases or goes through them one by one. I'm glad he's making seperate videos for them though.

    • @theworldismine7788
      @theworldismine7788 10 місяців тому +36

      I also have expectations for a Django in 100 seconds video
      I wish it happens 😁

    • @h_maina
      @h_maina 10 місяців тому +2

      @@theworldismine7788 I second this!

    • @redpillsatori3020
      @redpillsatori3020 10 місяців тому +6

      #MandelaEffect

  • @amdgg1
    @amdgg1 10 місяців тому +439

    I genuinely had no idea you could define types (objects) in Postgres. Always learning something in these

    • @dingdongmus
      @dingdongmus 10 місяців тому +14

      Yeah I thought it was just sql for mac

    • @Stonium
      @Stonium 10 місяців тому +9

      @@dingdongmus LOL

    • @muhdiversity7409
      @muhdiversity7409 10 місяців тому +1

      OO = Bad.

    • @isurujn
      @isurujn 9 місяців тому +1

      Same! That was a total 🤯 moment for me.

    • @poulet_malassis7607
      @poulet_malassis7607 9 місяців тому +11

      @@muhdiversity7409 Your comment = Worse.

  • @7heMech
    @7heMech 10 місяців тому +1765

    I'm surprised he still has content to make after so many videos.

    • @fgclue
      @fgclue 10 місяців тому +2

      yea

    • @varadrane7
      @varadrane7 10 місяців тому +402

      He will never run out of content because front end frameworks exist.

    • @CyberKnightProbably
      @CyberKnightProbably 10 місяців тому +34

      The world of computer science is a mysterious place.

    • @fgclue
      @fgclue 10 місяців тому +50

      @@varadrane7 true, like every week there's 3 new js or ts frameworks

    • @vikingthedude
      @vikingthedude 10 місяців тому +8

      He still hasn’t done clojure

  • @vulpo
    @vulpo 10 місяців тому +341

    Clarification: Michael Stonebraker created Postgres in 1985 as the successor to Ingres (which was a proprietary commercial DB). However, it did not use SQL as its query language. It used a variation of the QUEL query language called POSTQUEL. This may have stymied its adoption somewhat. It did not have a SQL interpreter until the mid-1990s after which it was renamed PostgreSQL in 1996 to emphasize that it did support SQL.

    • @brucewayne2480
      @brucewayne2480 10 місяців тому +3

      Thanks for the info

    • @sfermigier
      @sfermigier 10 місяців тому +12

      The "Postgres + SQL" version was actually called "Postgres95" and released in 1994, according to the "Brief History of PostgreSQL" page in the official docs. It was renamed to "PostgreSQL" in 1996 for obvious reasons. When I started using Postgres in 1997 or 1998, the doc was severely lagging, and still called it "Postgres95".

    • @fred.flintstone4099
      @fred.flintstone4099 10 місяців тому +10

      Michael Stonebreaker then went on to create the databases Aurora (commercialized through StreamBase), C-Store (commercialized through Vertica) and H-Store (commercialized as VoltDB), and SciDB.

    • @EddieDemon
      @EddieDemon 10 місяців тому +2

      Explains why old folk call it Postgres.

    • @MelkMan7
      @MelkMan7 10 місяців тому +1

      Thanks for Googling this for us 👍

  • @fgclue
    @fgclue 10 місяців тому +174

    It's great that all the Fireship videos about a software I'm using only get published when I need them

    • @aryushgupta8680
      @aryushgupta8680 10 місяців тому

      for how long have you been using this software?

    • @buriburihighmon6385
      @buriburihighmon6385 10 місяців тому +1

      lmao got the video suggestion while I was writing a query in the pgadmin

  • @kenfreeman8888
    @kenfreeman8888 10 місяців тому +110

    Your visual of an actual table with architectural columns on top crossed by oars (for "rows") is one of the most helpful things. Spreadsheets finally make sense. Thank you for that!

    • @motherlove8366
      @motherlove8366 10 місяців тому +3

      Talking about spreadsheets, I believe google doc allows you to use sql to get data from spreadsheets if you define specific table locations

  • @truthmatters7573
    @truthmatters7573 10 місяців тому +64

    That blew my mind. I had no idea it had all these amazing features !

  • @Kevin-kf9ct
    @Kevin-kf9ct 10 місяців тому +90

    Blows every other SQL database out of the water. And PostGIS is a whole thing in itself

    • @biomorphic
      @biomorphic 10 місяців тому +5

      This is not true, it really depends by the use case.

    • @anthonysteinerv
      @anthonysteinerv 10 місяців тому +7

      For mf that only store data in databases yeah, for actual ppl with knowledge on databases, then no.

    • @hmmm....1910
      @hmmm....1910 10 місяців тому +12

      ​@@anthonysteinervcould you elaborate? Why is it not good as other sql databases?

    • @aguy278
      @aguy278 10 місяців тому +6

      @@hmmm....1910 Speed, for one. Which is critical.
      People that see videos like this and are blind to real use cases all look like "But MongoDB is webscale" guy to me.

    • @neutralenull
      @neutralenull 10 місяців тому +11

      @@aguy278 Speed is not speed. You need to eleborate, write speed, read speed, query speeds... That is one of the many strenghts of postgres to be easy customisable. You need sharding, easy peasy use something like timescale. Need fast lookup for geodata, postgis it is.

  • @rohitaug
    @rohitaug 10 місяців тому +409

    The more videos I watch, the more I realize how little university actually teaches us. PostgreSQL seems so awesome, why did we only write stuff like "SELECT * FROM TABLE"?

    • @jazzymichael
      @jazzymichael 10 місяців тому +65

      That's SQL, which is still used by postgres. The examples in this video are using an ORM that creates those queries under the hood.

    • @nahuelpiguillem2949
      @nahuelpiguillem2949 10 місяців тому +9

      They only teach Microsoft sql server, why so blind uni?

    • @bryceblankinship
      @bryceblankinship 10 місяців тому +109

      @@jazzymichael that is not true at all. he is using psql syntax to query a postgres database directly. no ORM is being used.

    • @wigglesworthmcgubbins5837
      @wigglesworthmcgubbins5837 10 місяців тому +74

      @@nahuelpiguillem2949 The idea is to teach you the general theory. Postgres is great, but plenty of places don't use it. Better to teach SQL that at least somewhat resembles what you'll use everywhere, than focus too much on a single implementation just to come out to the real world where it's completely irrelevant a lot of the time. MSSQL may not be feature-rich in comparison to Postgres, but its syntax is close enough to other popular choices that learning it doesn't force you into a bubble

    • @plaintext7288
      @plaintext7288 10 місяців тому +18

      Why learn what variables and constants are when you can write react?

  • @benniestudiospiano
    @benniestudiospiano 10 місяців тому +5

    You literally made this video exactly when I needed it. Thank you so much!😀

  • @45g4rerf45f45
    @45g4rerf45f45 10 місяців тому +30

    As for custom types, Postgres also allows to easily define own custom operators ("User-Defined Operators" in documentation).

    • @harrywang4769
      @harrywang4769 10 місяців тому +2

      operator overloading is the devil

    • @Keisuki
      @Keisuki 10 місяців тому +4

      @@harrywang4769 Operator overloading is lovely... But not in the database

    • @lawrencedoliveiro9104
      @lawrencedoliveiro9104 10 місяців тому +1

      Not sure why I would want to use custom structured data types in a DBMS. That breaks normalization.

    • @45g4rerf45f45
      @45g4rerf45f45 10 місяців тому

      @@lawrencedoliveiro9104 This is the best for simple structured types when it makes no sense to give them an id. Think about complex numbers, colors, maybe money (value + currency), time (value + timezone), jsonb etc. I don't have experience with PostGIS but it probably also has custom types for shapes like polygons. Then, it makes sense to define custom operators for them, and then custom indexing.

  • @aryushgupta8680
    @aryushgupta8680 10 місяців тому

    This semester I'm going to learn about this.
    Thanks you Fireship for the good intro about Postgre SQL😁

  • @SoCalledIvan
    @SoCalledIvan 10 місяців тому

    Thank you. I appreciate the content and the time you spent on making it.

  • @realrk95
    @realrk95 10 місяців тому +69

    Tbh the most powerful database. I use it for high traffic applications and mongo/fauna for initial development. PS - Hasura is like magic for postgre.

    • @fgclue
      @fgclue 10 місяців тому

      true

    • @vincentjohnflorio
      @vincentjohnflorio 10 місяців тому +2

      I like it because it feels like a cool hybrid being able to do MySQL stuff like when I worked in WordPress, but also document-like transactions because of its JSON and JSONB abilities.

    • @F38U
      @F38U 10 місяців тому +2

      and its open source

    • @biomorphic
      @biomorphic 10 місяців тому +2

      The most powerful database is Oracle, if you can afford it. PostgreSQL is the most feature rich ORDBMS, and it has also a lot of NoSQL support, so to speak. You can use MongoDB for high traffic applications as well, I don't see why you transition from one to another, since they are very different.

    • @adhamsalama4336
      @adhamsalama4336 10 місяців тому +5

      I used Postgresql before but I had no idea we can create custom types and use inheritance! 😮

  • @tammodirksen1408
    @tammodirksen1408 10 місяців тому +1

    I just love this channel. He always manages to pack a short video with usable visual information and it always gets me excited about the technology. And it never lacks humor.

  • @snailedlt
    @snailedlt 9 місяців тому +11

    Suggestions for the 100 seconds of code series:
    - Payload CMS ( A free and open-source, highly customizable code-first Content Management System )
    - -Zig-
    - Vite
    - Vercel
    - Turborepo
    - FastAPI
    - Django
    - Edge Computing

    • @snailedlt
      @snailedlt 9 місяців тому

      Zig was covered fast!

    • @Famelhaut
      @Famelhaut 2 місяці тому

      Also vite

  • @RealCaptainAwesome
    @RealCaptainAwesome 10 місяців тому

    Thank you. I am working on a personal project and this will help quite a bit.

  • @markanthonyponce9484
    @markanthonyponce9484 10 місяців тому

    Another quality minutes of content. Thank you Fireship!

  • @serdar_k
    @serdar_k 10 місяців тому

    Your timing is impeccable! I was looking for a database host for my Strapi project!

    • @candylook50
      @candylook50 7 місяців тому

      What is a strap project?

  • @fellowabhi
    @fellowabhi 10 місяців тому +2

    About damn time, just started a project with it and this notification was a heaven send cuz it's my first time with the 🐘

  • @samuelperez5211
    @samuelperez5211 10 місяців тому +8

    I was just learning about it yesterday lol, you read my mind

    • @fgclue
      @fgclue 10 місяців тому

      same

  • @jl_117
    @jl_117 6 місяців тому

    0:00 I love the epic intros to these videos. the visuals and that music

  • @GeordiLaForgery
    @GeordiLaForgery 7 місяців тому

    Fascinating always wondered about postgres thanks

  • @YeasinRafio
    @YeasinRafio 10 місяців тому +12

    How come he always makes the content just when I need it the most.

  • @tadtakuma
    @tadtakuma 10 місяців тому

    Cool to have one of these about a topic I actually know something about for once

  • @JosephHenryDrawing
    @JosephHenryDrawing 10 місяців тому +1

    Wow I didn't know that postgres was object oriented, still learning this is crazy!

  • @_Mackan
    @_Mackan 10 місяців тому

    Damn, I've been using postgres for ages and I learnt a ton of new stuff, lfg

  • @atalatal
    @atalatal 10 місяців тому +1

    Thanks, added to my Resume!

  • @captainkite
    @captainkite 10 місяців тому

    This 100s videos are just gold.

  • @1_PieceOfCode
    @1_PieceOfCode 10 місяців тому

    I love watching this for fun now; when I really need to understand PostgreSQL, I will know exactly where to return.

  • @mohammedgazi786
    @mohammedgazi786 10 місяців тому +1

    I am glad you made this video

  • @driedpotatoes
    @driedpotatoes 10 місяців тому +9

    Whenever you think you need a new special purpose database, first check if postgres already does it

    • @romannasuti25
      @romannasuti25 10 місяців тому +1

      Funnily enough, this also applies to Postgres’s own problems: Need to scale out or a better way to handle failovers? YugabyteDB literally lifts most of the storage-agnostic part of PSQL and staples it on top of an ACID distributed K/V store. It’s so compatible that frameworks like Django literally can’t tell they’re not talking to normal PostgreSQL (things literally only break when you try to use certain extensions like PostGIS because they don’t have GiST indexing yet).

  • @JohnnyMayHymn
    @JohnnyMayHymn 10 місяців тому

    ooh, I was looking at it like Oracle DB-lite, now I can take your transcript and make yet another TODO list, thank you!

  • @choonyongtan5671
    @choonyongtan5671 10 місяців тому +2

    It's crazy he still has content for his videos

  • @johnvandenberg1448
    @johnvandenberg1448 10 місяців тому

    Great video, actually learned something new about Pg 🎉

  • @NogCube
    @NogCube 10 місяців тому

    Just when it's needed! 🔥🔥🔥

  • @starship9874
    @starship9874 10 місяців тому +5

    WE NEED a video about Googles Web Integrity API, which will most likely block Adblockers in any chromium based browser, it got merged into the chromium repo yesterday

  • @prajwalabraham9146
    @prajwalabraham9146 10 місяців тому

    After all these years, You finally made a video on Postgres.

  • @mrrolandlawrence
    @mrrolandlawrence 8 місяців тому

    postgres is awesome & i love stored procedures / functions.

  • @stixels
    @stixels 10 місяців тому +1

    This is literally the first video I searched for when I was learning PostgreSQL and Prisma and I was so surprised it didn't exist before.

    • @candylook50
      @candylook50 7 місяців тому

      What is prisma?

    • @stixels
      @stixels 7 місяців тому

      @@candylook50 It's an ORM that helps model your postgres database. He actually has a video on prisma in 100 seconds.

  • @esteban-alvino
    @esteban-alvino 2 місяці тому

    It is a great video , informative and enterteined , citus interesting and other extensions worth the time to look at them I guess

  • @errap9523
    @errap9523 10 місяців тому

    I hope this 100 seconds videos not to stop

  • @brianevans4
    @brianevans4 10 місяців тому +42

    I've used postgres quite a lot, but I had no idea that object syntax was possible or inheritance on tables.
    I guess I mostly stuck to the sql standard features, interesting to see those

    • @biomorphic
      @biomorphic 10 місяців тому

      Bro, PostgreSQL has had support for user-defined composite types, which are essentially lightweight object types, since version 7.1 which was released in 2001. However, more full-featured and robust object-relational capabilities were introduced in version 8.0.
      Oracle, instead, introduced some initial object-oriented capabilities like support for inheritance and REFs (object references) in 1992, and later on with version 8 in 1997.
      You really need to catch up with the world.

    • @aka5
      @aka5 10 місяців тому +5

      ​@@biomorphicrelational DBs == the world

    • @mandokir
      @mandokir 10 місяців тому

      They are not _good_ features.

    • @-boiadeiro-
      @-boiadeiro- 10 місяців тому

      Same. And what's interesting is orm like hibernate don't utilize this features, it generates basic tables for entities, then uses standard sql select's and joins, feels weird...

    • @fred.flintstone4099
      @fred.flintstone4099 10 місяців тому +1

      You can also create columns with the datatype JSON and then use JSON functions to query those columns.

  • @gytisbl
    @gytisbl 10 місяців тому +1

    great NEON ad. Enjoyed it! :D

  • @TomDoesTech
    @TomDoesTech 10 місяців тому

    Neon is really good, great sponsorship for the video!

  • @Robin_Goodfellow
    @Robin_Goodfellow 10 місяців тому +17

    We use PostGres for a project at work. There's some mapping involved, so PostGIS proved really useful for that. Also, the JSON data type is great. If there are parts of your application that change really quickly, it can be much faster to put complex data in a JSON column rather than change the table schema every few weeks. Just make sure all of your data doesn't end up in there.

    • @candylook50
      @candylook50 7 місяців тому

      What does PostGIS do?

    • @Robin_Goodfellow
      @Robin_Goodfellow 7 місяців тому +1

      @@candylook50 It adds some GIS related functions to the database, like the ability to measure distances according to particular map projections, or check if a coordinate point is within some defined region.

  • @ann_uken
    @ann_uken 9 місяців тому

    Awesome explanation!

  • @jackbrabham
    @jackbrabham 10 місяців тому

    Postgres is so cool that makes databases exciting to learn

  • @philamonhemstreet8632
    @philamonhemstreet8632 10 місяців тому

    Plus put the sponsorship disclosure at the front of you next amazing video! Thanks!

  • @smallant.
    @smallant. 10 місяців тому +2

    Just started using Supabase. This vid came at the best time.

  • @koketso_dithipe
    @koketso_dithipe 10 місяців тому +2

    It's almost like you knew I was looking to learn a new DB technology

  • @YeasinRafio
    @YeasinRafio 10 місяців тому +17

    Perfect! I was just thinking of learning postgres :)

    • @fgclue
      @fgclue 10 місяців тому +1

      same

    • @F38U
      @F38U 10 місяців тому +2

      tbf you learn more about postgres working with postgres than trying to learn postgres

    • @F38U
      @F38U 10 місяців тому +1

      also, basically all your sql works

    • @YeasinRafio
      @YeasinRafio 10 місяців тому

      @@F38U thx for the suggestion buddy

    • @paprikar
      @paprikar 10 місяців тому

      same bro

  • @AnandSukumaranNair
    @AnandSukumaranNair 9 місяців тому

    Well explained in 100s 👏🏻

  • @blurtblaxter2708
    @blurtblaxter2708 8 місяців тому +3

    I built an entire ERP from scratch for my business, and now the database is already 2 GB and has 30 tables. The database is in MySQL because I couldn’t for the life of me understand PostgreSQL and I found your MySQL video very easy to understand. I always wished I did it all in PostgreSQL because I can see the limitations of MySQL.
    Now, when my ERP has thousands of lines of code and hundreds of columns, you post a PostgreSQL video… I’m not sure if I want to watch and risk remaking my entire database and backend.

  • @vinitgurjar957
    @vinitgurjar957 10 місяців тому

    Loved this video 😍 As I use PSQL

  • @YeasinRafio
    @YeasinRafio 10 місяців тому

    Bro can read my mind, uploads postgres in 100 secs just when I am interested in

  • @toxaq
    @toxaq 10 місяців тому +24

    Ok, don’t use hstore or JSON types. hstore was the original key value type in v9.2 and was quickly replaced by JSON. JSON was then replaced by JSONB (a binary version which basically enables full document features). For me some of the amazing things about Postgres is the ability to use it to run queries that return full JSON which you can pipe out of an API. The JSON functions are super powerful and with CTE you can make amazing and insanely fast things.

    • @romannasuti25
      @romannasuti25 10 місяців тому +1

      Hasura abuses the hell out of that JSON output feature, and while it’s awesome it does put more strain on a component that doesn’t scale horizontally. I guess there’s nothing stopping you from just using Yugabyte instead and saying “f**k it”

    • @jamesfoo8999
      @jamesfoo8999 8 місяців тому

      @@romannasuti25 yeah careful putting your app functionality into the DB. Like everything it depends on the scenario

    • @candylook50
      @candylook50 7 місяців тому

      Is histore called as H when shortened? I’ce heard it at work but I don’t get what it does.

  • @ibendover4817
    @ibendover4817 10 місяців тому +1

    Hade a case of the mandela effect thinking I already watched a PostgreSQL video from this channel. Was surprised to see this was recently posted.

  • @atemrandyasong5710
    @atemrandyasong5710 10 місяців тому +1

    Jeff you took me out on Tables, Columns and Rows 😂😂.
    Like how did you take those literally 😂

  • @cm3462
    @cm3462 5 місяців тому

    Awesome as usual

  • @MongoVFR
    @MongoVFR 10 місяців тому +1

    This guy is a mind reader, I was just googling about Postgres the other day 😂

  • @DuncanBassBoost
    @DuncanBassBoost 10 місяців тому

    damn I was just using it as any other regular SQL database but it has so many more features, I'll have to take a closer look at it

  • @calebvaccaro
    @calebvaccaro 9 місяців тому

    I needed this

  • @TheIronMan9
    @TheIronMan9 10 місяців тому

    Thanks for this video on PostgreSQL. Please make a video on Scala programming language.

  • @azhagurajaallinall126
    @azhagurajaallinall126 5 місяців тому

    Thank you for this 😊
    Though i thought in past about "why DataBase handling is in limitted structure,syntax & why not/how to implement great features from programming languages" (and real life inspirations) + simple is often quite useful,though complex needs tools & talent,mind to look for that 😅 +
    Though Database is needed for simple storage,though in business case,it may increase,but just like pipelines or simply "Transporatation",
    All we have to do is "carry the object,message,document,etc,,." or so and programming languages are for working natively (mostly,even network means native work in cloud,passed via internet or some client sync)
    We should work around "available" tools,to squeeze it into work 😅
    Still gotta know why/what/how to GraphQL & need to learn/create own,integrations,clean support to easily switch over,translate to one another tool (kinda good passion ideas 😊)
    Thank you for this again (though history to fill up time,well academics are this way 😅 getting college,sister kani to many memories)
    Wish all be well 😃🌟✨🙌
    22.12.2023 09:01/2 pm ist
    (679th comment,25k+ likes,4,82,625+1 views)

  • @bn8ws
    @bn8ws 10 місяців тому

    You overdid it with the sponsoring in this video

  • @randerins
    @randerins 10 місяців тому

    Developing with Rails and PostgreSQL feels pretty smooth

  • @_EDM115
    @_EDM115 10 місяців тому +7

    that sponsoring is seamless and not boring 👏

  • @ThePotatoChronicler
    @ThePotatoChronicler 10 місяців тому

    I didn't know most of that, even though I've used Postgres before, cool

  • @haliszekeriyaozkok4851
    @haliszekeriyaozkok4851 10 місяців тому

    I'm currently using postgres in an express.js project, it works so fast, i'm so happy with it. I'll probably use it with any kind of programming, except mobile, php or python.

  • @demolazer
    @demolazer 9 місяців тому

    Wow. As someone still learning, ive only used mysql for the most part, and am rather excited to use these postgres features now.

    • @candylook50
      @candylook50 7 місяців тому

      What’s the main difference between the two? Trying to follow.

  • @_EDM115
    @_EDM115 10 місяців тому +1

    can't wait to see Fireship in 100 seconds

  • @JayaTemara
    @JayaTemara 4 місяці тому

    BRILIANT EXPLANATION EVER

  • @simondoesstuff
    @simondoesstuff 10 місяців тому +1

    The only man who can reasonably put **everything** on his resume

  • @tony_mushah
    @tony_mushah 10 місяців тому

    I don't even know that postgres is an object oriented database. Thanks fireship

  • @ishaanmalhotra3008
    @ishaanmalhotra3008 10 місяців тому +2

    2 questions: How does Neon DB compare to Cockroach DB which are both serverless postgres databases? Second, would you suggest we use ORM with Neon or Cockroach or only SQL?

    • @BosonCollider
      @BosonCollider 10 місяців тому +3

      Cockroachdb is not a postgres database. It uses the postgres parser & wire protocol so that it can reuse existing ORMs & drivers written for postgres, and it supports a subset of what postgres can do, but it doesn't have triggers for example
      Neon is literally running postgres and only replaces the storage layer that the postgres code calls into

    • @ishaanmalhotra3008
      @ishaanmalhotra3008 10 місяців тому +1

      @@BosonCollider Ah thanks for clearing that up.
      Its sometimes difficult to read between the lines with all the marketing spiel from these companies.

    • @fred.flintstone4099
      @fred.flintstone4099 10 місяців тому +1

      CockroachDB is not a PostgreSQL database. Both are hosted cloud databases though. I don't know how they differ, but maybe one could offer something else such as globally distributed in different continents and geo-replication.

  • @StephenRayner
    @StephenRayner 9 місяців тому

    Make a video on Inngest events / queues. Looks sick!

  • @kimfom
    @kimfom 10 місяців тому

    Thank you!!! I never knew postgres had awesome features like these... Can you do a comparison between postgres and ms sql server?

  • @avalacos
    @avalacos 10 місяців тому +2

    I've used PG as a data analyst in multiple companies for more than a decade and have never seen these features... Mind blown

  • @pandoraeeris7860
    @pandoraeeris7860 9 місяців тому

    This means nothing to me, but I really enjoy watching the videos!

  • @yewo.m
    @yewo.m 10 місяців тому +8

    I've used Postgres for a number of years but I never knew it's actually an Object-Relational Database

    • @jaysonp9426
      @jaysonp9426 10 місяців тому +1

      Same

    • @TheMyszeek
      @TheMyszeek 10 місяців тому +1

      Same xD

    • @nodidog
      @nodidog 10 місяців тому +1

      Literally the first line of the first page of the documentation 😂

    • @jaysonp9426
      @jaysonp9426 10 місяців тому

      @@nodidog who reads that? :P

  • @_gamma.
    @_gamma. 10 місяців тому

    PostGIS is awesome, love postgres!

  • @ArnoldsKtm
    @ArnoldsKtm 9 місяців тому +1

    surprised a video on pg was made only now

  • @tranceyy
    @tranceyy 10 місяців тому

    The beauty is that you can use postgresql for your basic RDBMS needs, but the more you know about it, the cooler it becomes.

  • @raideduela
    @raideduela 10 місяців тому

    U got the golden content

  • @BabaDka
    @BabaDka 10 місяців тому

    My favorite place to store data outside of VSAM.

  • @ashes2
    @ashes2 10 місяців тому +6

    "Like a programmer can have mupltiple Lambos, let's find them!"
    0 results found

    • @KajiTetsushi
      @KajiTetsushi 10 місяців тому

      Key word being "can", not "will". ;)

  • @nakurulive
    @nakurulive 10 місяців тому

    1st Viewer str8 from Nakuru, Kenya. Our E-citizen platform is hacked. Now we are learning ICT by force.

  • @aliashfaque1746
    @aliashfaque1746 10 місяців тому +1

    So it means that as it can scale as well, while storing json data as well. It can be used for both nosql and mysql?

  • @dandogamer
    @dandogamer 10 місяців тому

    Definitely need a beyond 100s for postgres

  • @alex12397
    @alex12397 10 місяців тому

    a video on jetbrains kind of like your vscode one would be cool

  • @shortkeys73
    @shortkeys73 10 місяців тому +5

    So this whole thing is just an ad for Neon

  • @philipmurphy2
    @philipmurphy2 10 місяців тому

    Great video.

  • @YeasinRafio
    @YeasinRafio 10 місяців тому

    How come bro uploads video about just the technology I am recently interested in! :)

  • @moritz_p
    @moritz_p 9 місяців тому

    It's crazy how much I didn't know about this even though I use it every day. Probably because I resort to ORMs so much

  • @MrJacquers
    @MrJacquers 10 місяців тому

    Thank you for speaking about the elephant in the room. Seriously though, it's one of my favourite database servers :)

  • @DheerajKumar-fh8jj
    @DheerajKumar-fh8jj 10 місяців тому +1

    Looks like new javascript frameworks are taking time to come into the market 😅 so your channel is on the side-quest videos.

  • @marslogics
    @marslogics 10 місяців тому +12

    That left join returning 0 results means there was no data available in programmers table. hence no results found.
    Note: The LEFT JOIN keyword returns all records from the left table (programmers), even if there are no matches in the right table (lambo).

    • @MonokelJohn
      @MonokelJohn 10 місяців тому +5

      Yes, he made a mistake - it should've been an INNER JOIN instead.

    • @eksortso
      @eksortso 10 місяців тому +1

      So where are all the programmers, then? I'd tell someone about this, because it seems like a bigger problem than finding no programmers with Lambos!

  • @DereC519
    @DereC519 10 місяців тому

    woa i was just learning this