Wait... PostgreSQL can do WHAT?

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

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

  • @BoganBits
    @BoganBits 6 หลายเดือนก่อน +825

    PostgreSQL is my favorite OS

    • @Septumsempra8818
      @Septumsempra8818 6 หลายเดือนก่อน +52

      Wait til you use it as a compiler.

    • @creativecraving
      @creativecraving 6 หลายเดือนก่อน +49

      Is it better than Emacs?

    • @kratosgodofwar777
      @kratosgodofwar777 6 หลายเดือนก่อน +34

      PostgreSQL is my favorite motherboard

    • @Danielo515
      @Danielo515 6 หลายเดือนก่อน +22

      It just needs a nice editor, just like emacs (emacs also needs a great editor)

    • @dasistdiewahrheit9585
      @dasistdiewahrheit9585 6 หลายเดือนก่อน +22

      @@creativecraving Both operating systems, PostgreSQL and Emacs have the same problem: they lack a good editor.

  • @rhopsi-q6b
    @rhopsi-q6b 6 หลายเดือนก่อน +388

    The chosen terminal width should be counted as war crime.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +68

      I hear you. That will change in the next video.

    • @chri-k
      @chri-k 6 หลายเดือนก่อน +7

      echoed

    • @unixtreme
      @unixtreme 6 หลายเดือนก่อน +6

      Relic of a past time. Thankfully we have better tech now 😂

    • @maksimmuruev423
      @maksimmuruev423 6 หลายเดือนก่อน +4

      Yes especially terrible on ultrawide monitors.

    • @szlomobronsztajn3115
      @szlomobronsztajn3115 6 หลายเดือนก่อน +17

      @@TheArtOfTheTerminal also could you go a little slower when showing the examples? It's like you type, execute and promptly switch to another thing - maybe some commentary during the typing?

  • @Bozebo
    @Bozebo 6 หลายเดือนก่อน +131

    I was in the MariaDB IRC to report a bug back in 2014, one of the devs said "I dunno I use postgres", so I switched the project I was working on at the time to postgres (equivalent connector API usage worked instantly without the bug) and it's been my go to ever since :P

  • @TheTwober
    @TheTwober 6 หลายเดือนก่อน +51

    "But can it run Do..."
    "Yes."
    I am sold!

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

      Omg it's real. jfc

  • @herzog0
    @herzog0 6 หลายเดือนก่อน +126

    Never get rid of these sounds you used. The soundtracks, typing sounds etc.. it's awesome

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +16

      ASMR for nerds :) Thanks for the feedback!

  • @tetrahedralone
    @tetrahedralone 6 หลายเดือนก่อน +86

    The problem with many plugins is the significant lack of documentation and support. Numerous plugins are written with awful documentation leading to considerable time spent trying to figure out how it works, only to find that there are undocumented issues to deal with. That is the downside of having people develop what they feel like and then walk away.

    • @FaberFedor
      @FaberFedor 6 หลายเดือนก่อน

      @caty863 There's one reason.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +7

      That's the problem of opensource in general imo. Remember corejs story? www.theregister.com/2020/03/26/corejs_maintainer_jailed_code_release/

    • @JayLooney
      @JayLooney 6 หลายเดือนก่อน

      @@TheArtOfTheTerminal Happened shortly after I started using ReiserFS as well. "BDFL/Primary Developer goes to prison" is not a new story for Open Source. One of the reasons major projects transition to some sort of foundation stewardship model

    • @cybernetic-ransomware1485
      @cybernetic-ransomware1485 6 หลายเดือนก่อน +3

      @@TheArtOfTheTerminalnot only in opensource code

    • @benwatson5211
      @benwatson5211 6 หลายเดือนก่อน

      100% agree. frustrating as fuck.

  • @lumipakkanen3510
    @lumipakkanen3510 6 หลายเดือนก่อน +101

    Sometimes the recommendation algorithm is scary accurate. This was exactly what I needed, and I didn't even have to search for it. Great video!

    • @sandworm9528
      @sandworm9528 6 หลายเดือนก่อน +4

      My thoughts and prayers are with you brave traveller

    • @home1250
      @home1250 6 หลายเดือนก่อน +2

      How I’m kinda feeling rn

    • @TheBenjaminsky
      @TheBenjaminsky 6 หลายเดือนก่อน

      My main thought reading these type of comments is "please don't have a great business idea and build it this way."

    • @AdityaYada
      @AdityaYada 6 หลายเดือนก่อน

      true
      The online course I follow. this is what I read in the notes.
      "We've moved away from Mongo to Postgres because our research on tech recruitment showed us that companies are looking for more SQL-based DB competence and moving away from Mongo and NoSQL."
      Now TH-cam recommended this to me.
      SCARY isn't it ?

    • @andud
      @andud 6 หลายเดือนก่อน

      Be carefull what You wish for :). It is heading for "my wish exactly, as I wanted it... turned nightmare".

  • @wenbozhao4325
    @wenbozhao4325 6 หลายเดือนก่อน +143

    25 years ago I learned that stored procedures are bad. Now I'm seeing this 😂🎉

    • @nandesu
      @nandesu 6 หลายเดือนก่อน +24

      Why are Stored Procedures bad? They make life so much easier. $.02

    • @andrejss
      @andrejss 6 หลายเดือนก่อน +31

      ​@@nandesueasy to make your future much more difficult. maintaining & remembering who did what where and debugging it all will be a nightmare.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +44

      Stored procedures should be treated just like any other code: with CI/CD practices. Debugging is always hard and imo the best you can really do to troubleshoot issues is to have great logging.

    • @cptmorgan92
      @cptmorgan92 6 หลายเดือนก่อน +28

      I don’t like to couple any logic to the database. In my opinion stored procedures should just be used to extend the functionality. In the company I work they implemented a lot of logic in the oracledb
      to convert imported csv/excel and more to their own datastructure,
      Sync data between customers
      Do calculations for orders
      Scheduled jobs like emails
      And other stuff.
      These are things I would have decoupled in external services or in a middleware.
      In my opinion a database should just be used as a sink and source of data.
      The only reason to touch a db is to improve performance.
      Anything else should be done in a middleware.

    • @sir_no_name1478
      @sir_no_name1478 6 หลายเดือนก่อน +6

      I am coding for 5 years and managed a Database with 10k lines of code because of the procedures. It was very nice because once it is setup it is stable af. I used mariadb and it was the first time. We also made a lot of mistakes but the procedures were not one of them.
      The main Problem was using an SQL db for a web scraper with very heterogenic data ^^, but that is just a tangent.

  • @LightningMcCream
    @LightningMcCream 6 หลายเดือนก่อน +64

    As a Postgres fanboy who's never spent much time with postgres plugins, this has made me so excited to try to use my PG databases to replace some of the other services I'm using! Thanks for the awesome video, easiest subscribe I've clicked in a long time!

  • @martinoserri8814
    @martinoserri8814 6 หลายเดือนก่อน +34

    Proud to have been using Postgresql since 1998

    • @dest5218
      @dest5218 6 หลายเดือนก่อน +2

      Hey this might be really random, but I am about to graduate from Uni, and I want to know what I can do to get a job in the tech field.
      You seem like you got experience so I'd like some advice, cause I've been watching videos on how to get a job and tbh it's scaring me a bit lol.
      Any help would really be appreciated ❤

    • @lhpl
      @lhpl 6 หลายเดือนก่อน

      I believe I began looking into it when it still used the rather "perishable" name Postgres95...

  • @05xpeter
    @05xpeter 6 หลายเดือนก่อน +42

    At my former job our postgres was the message queue, with pub/sub and triggers. The caching layer, with tables with json columns, where triggers invidated the cache. The caching layer to slow on prem oracle servers, with materialized views and oracle-foreign datawrapper, a time traveled database producing data as it was using views and the temporal extension and a cron job orchestrator using pg_cron and stored procedures.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +6

      Interesting. Could you share your experience in terms of pros and cons for such an infra?

    • @05xpeter
      @05xpeter 6 หลายเดือนก่อน +18

      @@TheArtOfTheTerminal We had very good experiences allot of the trigger logic and the CI/CD part was not a problem. We were a small team of 4 developers. So we did not have big problems of resource sharing and silos. That would be something I would expect happen in larger setups.
      Generally my experience was that it worked fine overall. Generally I like the minimalistic setup, so you don't need 5 gb of ram to have a local system up and running and the fact that all your services can talk to each other unhindered.
      If we had 2-3 times as many developers, I would probably have suggested to split it more up.

    • @i_dont_want_a_handle
      @i_dont_want_a_handle 6 หลายเดือนก่อน

      Respect, that's a lean company

    • @05xpeter
      @05xpeter 6 หลายเดือนก่อน +4

      @quanghuynh9300 We experienced that the users network was the bottleneck using AWS aurora postgres. In inter data center traffic is much faster than network calls, so we could see that there where limited gains even for a faster in memory solution

    • @dtoad5576
      @dtoad5576 4 หลายเดือนก่อน

      I have no idea what I just read here lol

  • @Schisek
    @Schisek 6 หลายเดือนก่อน +60

    Postgres + HTMX incoming

    • @edism
      @edism 6 หลายเดือนก่อน

      😂

    • @Manwithnoname838
      @Manwithnoname838 6 หลายเดือนก่อน

      On it

    • @Alguem387
      @Alguem387 6 หลายเดือนก่อน +7

      The GigaChad web stack

    • @okie9025
      @okie9025 6 หลายเดือนก่อน +5

      The "I made a grifting NFT pyramid scheme in 20 lines of code" tech stack

  • @plaintext7288
    @plaintext7288 6 หลายเดือนก่อน +55

    Postgres is one of the best operating systems ever! Good thing they even ship a decent database with it🎉
    (I have only ever used Postgres for big projects and not more than 10% of features)

  • @someguyO2W
    @someguyO2W 6 หลายเดือนก่อน +84

    As someone who built applications fully in the database (looking at you Oracle), it's not for the faint of heart.

    • @RevHardt
      @RevHardt 6 หลายเดือนก่อน +4

      Can you please tell us about some scary scenarios you've dealt with?

    • @savire.ergheiz
      @savire.ergheiz 6 หลายเดือนก่อน +9

      Oracle are way over engineered on the language side.
      They have the sole intention of catering to enterprises. Their PLSQL documentation are humongous but tbh many of their features are useless and keep changing over the years which is probably intended since enterprises dev loves having to work on changing stuff without gaining nothing just to keep the money rolling in 😁

    • @someguyO2W
      @someguyO2W 6 หลายเดือนก่อน +3

      @@savire.ergheiz that's true but besides the point.
      Building in the database is hard. Very hard.

    • @someguyO2W
      @someguyO2W 6 หลายเดือนก่อน +8

      @@RevHardt I took over a web application from someone who decided that building the entire app in postgres was a good idea.
      And this was before the modern tooling that we have now.
      They had a php frontend that acted as a proxy. Would convert the request into a stored proc and return the response to the client.
      Holy lord that was a hard app to modify and debug.

    • @someguyO2W
      @someguyO2W 6 หลายเดือนก่อน +10

      @@RevHardt most of my other experiences came from working in a banking application built on oracle.
      You don't know pain until you have to follow cascading triggers.

  • @caderzo
    @caderzo 6 หลายเดือนก่อน +14

    I'm glad the algorithm brought me here, what a gem. I use PostgreSQL every day and did not know it was this extensible. I enjoyed the video format and wish you success with the channel, subscribed!

  • @senjaz
    @senjaz 6 หลายเดือนก่อน +57

    The reason MySQL was fast was that it was missing a lot of basic features and wasn’t even ACID compliant. At that point it could hardly be considered a real database.
    Still glad I took the time to evaluate different databases and found PostgreSQL, instead of blindly following the LAMP crowd.
    I’ve been a happy PostgreSQL user for over 20 years.

    • @ScottEdwards2000
      @ScottEdwards2000 6 หลายเดือนก่อน +4

      yeah used to make me so mad back then to hear devs at work go on and on about MySQL. When I would bring up ACID and ISO SQL Standard compliance -- and how that MIGHT be useful if they ever need to switch databases -- I was just met with blank stares. It's like all they wanted was a "bit bucket" or something. What's worse is, who paid the price for this stupidity? I have yet to hear of anyone's business or career ruined for being so ignorant of these critical issues. If anyone knows of any good stories, please share 🙂 It's like they all got away scott-free and moved on -- now all those guys would probably talk about how much they love PSQL!

    • @beepbop6697
      @beepbop6697 6 หลายเดือนก่อน +5

      Fast? We dumped MySQL because of all the performance issues with it.

    • @CalifornianViking
      @CalifornianViking 6 หลายเดือนก่อน +4

      Postgres is faster than MySQL. I switched in 2016 and never looked back.

    • @jeffspaulding9834
      @jeffspaulding9834 6 หลายเดือนก่อน +5

      @@CalifornianViking It wasn't faster in the late 90s or early 2000s, when LAMP was the hot new thing and everyone was using it. Or earlier than that when Mod Perl was the backend of choice for "real" developers.
      But more to the point MySQL had more tools built around it and was easier to get into. Everyone learned it because it was easy to learn. PostgreSQL had more functionality but a bit more of a learning curve.
      Obviously things have changed since then.

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

      @@beepbop6697 It was considerably faster than Postgres back in the 90s, for the reasons I stated. Postgres has always been a reliable database, mySQL hasn't.

  • @Cranked1
    @Cranked1 6 หลายเดือนก่อน +19

    Surprisingly good video. Had expected much less to be honest but the short explanations with shell examples were great.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +3

      Thank you for the feedback! Happy you liked it.

  • @Marc42
    @Marc42 6 หลายเดือนก่อน +24

    Postgres in 2024 looking great, thanks for sharing!

  • @thelanavishnuorchestra
    @thelanavishnuorchestra 6 หลายเดือนก่อน +2

    Oh, man. I'm sold. I had no idea is was such a complete solution. I'm feeling a database powered app development system coming up in my near future.

  • @nesgoof3412
    @nesgoof3412 6 หลายเดือนก่อน +5

    Very nice video! I love how you have long takes and not cut every half second like so many TH-camrs do nowadays.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +3

      Thank you for the feedback. I too am tired of the flashy mr.beast-style editing :)

    • @nesgoof3412
      @nesgoof3412 6 หลายเดือนก่อน

      @@TheArtOfTheTerminal Agreed. It's so much more easier to focus on the content when the pacing is relaxed and there's no context switching a billion times per video. Keep up the good work!

    • @kellymoses8566
      @kellymoses8566 6 หลายเดือนก่อน

      I HATE it when a TH-camr constantly cuts between two cameras for no reason.

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

    Thank you! Amazing introduction and overview of PostgreSQL possibilities.

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

    What an absolutely brilliant coverage of Postgres! Excellent video.

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

    This is one of the best PostgreSQL videos that I have ever seen on the web.

  • @NeotenicApe
    @NeotenicApe 6 หลายเดือนก่อน +10

    Great video. God I love PSQL and the open source community.
    I would have loved for you to talk about scalability and partitioning (e.g., vs Scylladb)

  • @Levi_OP
    @Levi_OP 6 หลายเดือนก่อน +4

    Great video! Loved everything about it! The way you presented was great, the pacing was good, and the trippy terminal display with the typing sounds was just awesome. Subscribed!

  • @droydi
    @droydi 6 หลายเดือนก่อน +6

    Solid and well presented information, thank you for sharing this. Looking forward to the next one!

  • @tehphoebus
    @tehphoebus 6 หลายเดือนก่อน

    Great video. Thank you. Its been one of my favorite DBs for years. Its interesting how everyone that keeps chasing the new shiny, wnd all the things i learn back in the 90s and 00s keep coming back.

    • @Marque734
      @Marque734 6 หลายเดือนก่อน

      Cryptocurrency comes back every few years. People rediscover scams and bad ideas all the time. Retro is just a weird form of chasing the new shiny. When we stopped doing things, there is usually a reason.

  • @abdullahhejazi
    @abdullahhejazi 6 หลายเดือนก่อน +10

    Great video, didn't know PosegreSQL is this awesome
    also please have the terminal full screen or at least bigger horizontally so it can be more readable.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน +3

      Thank you :) Will do.

    • @speedstyle.
      @speedstyle. 6 หลายเดือนก่อน +1

      It was fine a lot of the time, but eg 6:16 when you used rustup the progress bars overflowed

  • @professortrog7742
    @professortrog7742 6 หลายเดือนก่อน +6

    Outstanding content. At the moment you mentioned PostgREST you got my sub and 👍🏻

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

    Thanks for this, it's really helpful to know how much I can lean on Postgres in my various side projects. I've been getting a bit bogged down trying to emulate the tech stacks the 'big boys' are using, but... it shatters my focus and prevents me from getting things done. You've inspired me to try a different approach: I'll just put _all_ the backend stuff in Postgres by default, and only move things if/when forced. Seems liberating, honestly, to ignore all these hyped-up technologies and just get 💩done!

  • @sinamobasheri
    @sinamobasheri 6 หลายเดือนก่อน

    The dude went completely crazy at the end 😆😆😆😆😆
    Nicely done video, good job and thank you! You deserve a million subscribers 😎

  • @RobertOSheaGameDev
    @RobertOSheaGameDev 6 หลายเดือนก่อน +2

    Came for PostgreSQL content, stayed for the Oblivion reference

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

    Haha wow! I've used postgres at my job for a via ORM, but I did not know it was this capable! I've always preferred pg due to its stability (IME) compared to mariadb when hosting stuff for my homelab. I'm kind of excited to look into some of this and build a project around it.

  • @MattHeslington
    @MattHeslington 6 หลายเดือนก่อน

    Loved this, cheers. Recently just moved to using Postgres for the first time, and am so glad I did

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

    In 2016, I worked on a project where almost all the business logic was in a database (Hi Oracle with PL/SQL) and it was a nightmare. There is only one upside to this approach: if you move all business logic (especially if you move cache, elastic search, etc. like in the video) into a database, you are probably safe from having to let go forever because no one would be able to understand how things work. And the phrase "Hey, join us, we have everything in the database" doesn't seem so attractive to developers. I believe it may be attractive for DBAs but moving all the stuff into the database you limit yourself in hiring.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      I agree that *business* logic probably shouldn't be in the DB, I was talking about *data* logic with an example of application users management.
      I know that many developers won't like the idea of having just a handful of components in a tech stack, because we are all resume-driven to a certain extent. But at some point many developers are also getting tired of a constant framework/stack/whatnot churn and yes, they will vote for simplicity. Because they want to do creative work and solve business problems instead of editing yaml files 80% of the time.
      Just python (php, perl, ruby, elixir etc) and an SQL database -- both running on bare metal servers -- is really enough for most IT projects out there. A stored procedure that hashes passwords or generates tokens, written in pl/python and covered by unit tests like all the rest of the code is nothing scary.

  • @MichaelRainabbaRichardson
    @MichaelRainabbaRichardson 6 หลายเดือนก่อน

    🤯 Having written MS SQL CLR Assemblies, I REALLY appreciate this approach! Thanks for making me see the light 😝

  • @CalifornianViking
    @CalifornianViking 6 หลายเดือนก่อน +3

    I have used Postgres extensively. Consolidated document databases, key value stores, graph, and time series. It is truly an amazing database.
    Two things worth mentioning:
    PostGIS is a geographic information system in Postgres, it can compete with ESRI.
    AWS Aurora Postgres is fast.

  • @loganbries3867
    @loganbries3867 6 หลายเดือนก่อน +2

    Great video, hope your channel grows!

  • @CrazyMan42DABOMB
    @CrazyMan42DABOMB 6 หลายเดือนก่อน +4

    Thank you so much for this video. I've been a professional Postgres fanboy since 2018 and you've still taught me a ton. Gonna go uninstall couchbase and give postgrest a try now...

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      Happy you liked it :) Thank you for the feedback!

  • @dog4ik
    @dog4ik 6 หลายเดือนก่อน +2

    That is wild. I will try it out in my projects

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

    I designed and built whole MES for steel system in PL/SQL in Oracle. It's a shame that postgres wasn't so popular back then with the industry.

  • @dacam29
    @dacam29 6 หลายเดือนก่อน +2

    I love the new Oracle Forms

  • @BenjaminVestergaard
    @BenjaminVestergaard 6 หลายเดือนก่อน

    During my apprenticeship I was dealing with Oracle and DB/2 servers. That taught me the advantages of procedual languages like PL/SQL.
    But those servers weren't exactly affordable to the common hobbyist at that time.
    MySQL was fast but didn't have any sort of PL at that time. So I ended up starting to use PostgreSQL for my own projects, to get the features I had gotten used to and more.
    It wasn't the fastest but it was more grown up than other free SQLs.

  • @Requiem100500
    @Requiem100500 5 หลายเดือนก่อน

    Truly the EMACS of databases

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

    I'll be honest, I had no idea most of the stuff on this video was even possible.
    Neat!

  • @alexischicoine2072
    @alexischicoine2072 6 หลายเดือนก่อน +5

    Super interesting thanks for sharing! Curious how well that can scale and at what point it becomes easier to scale application servers and keep the database lean.

  • @spacewolfjr
    @spacewolfjr 6 หลายเดือนก่อน +2

    Great video! I'd love to know more about running Postgres in a production-like environment.

  • @marioscheliga7962
    @marioscheliga7962 6 หลายเดือนก่อน

    Thank you 🙏- I like the perspective to leave out network within the backend services 🤘

  • @petrusboniatus
    @petrusboniatus 6 หลายเดือนก่อน +2

    I Love this felling when you accidentally step on new rabbit hole. I was thinking about serving hmlx directly from the database. Seems like someone already did it 😂.

  • @deado7282
    @deado7282 6 หลายเดือนก่อน +2

    What a great video. Exciting topic, excellent presentation.

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

    Bro your content is great!! Thank you!! I'm a believer now 🙌🏾💜

  • @aurelienregat-barrel9217
    @aurelienregat-barrel9217 6 หลายเดือนก่อน

    Quite impressive how this DB has evolved

  • @EzequielRegaldo
    @EzequielRegaldo 6 หลายเดือนก่อน

    All those features should be use to power up dump storage, we should save all potential to expensive tasks related to storage. Thank you for your content!

  • @unabonger777
    @unabonger777 2 หลายเดือนก่อน

    great video, subscribed, hope to see more from you in the future

  • @tomthetitan101
    @tomthetitan101 6 หลายเดือนก่อน +2

    Incredible format for a video, love the sound effects lol

  • @pr0way
    @pr0way 6 หลายเดือนก่อน

    It's insane what's possible to do with PostgreSQL. From this 20 minutes wideo I get whole stack of technology to learn for next 2y...

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

    Wtf this is your 5th Video? You have really great Quality of making Videos

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

    Incredibly great video

  • @caty863
    @caty863 6 หลายเดือนก่อน +2

    As a GIS analyst, I like PostgreSQL simply because of its PostGIS extension. Its usage is very simple yet powerful to handle any use case I could ever come up with. Its support by GIS tools such QGIS is excellent too. In my opinion, I don't think there is any genuine excuse any team would choose Oracle or SQLServer over PostgreSQL. Yet, these sh**t dbms are still popular in some companies...for some mysterious reason. Applying the Ockham razor theory, I think it's because devs in these companies are lazy and don't want to migrate or learn a new tool, albeit superior. Or, sales guys at these providers have lined the pockets of the tech decision makers at these companies.

    • @FaberFedor
      @FaberFedor 6 หลายเดือนก่อน +2

      It's not mysterious. They have different priorities. Technical superiority is rarely a factor in most businesses.

    • @deividxyz
      @deividxyz 6 หลายเดือนก่อน

      That’s because commercial db like Oracle or MS come bundled with support. The only time you will see Postgres or MySQL in enterprise production massive environments is when some big cloud vendor like Amazon sells this as a service, and they probably won’t let you install many of the extensions shown

  • @BryonLape
    @BryonLape 6 หลายเดือนก่อน

    I started using Postgres back in the early 90's with version 4.2. Back then, you downloaded the code and built it yourself. Used table inheritance back then as well.

  • @Bobcat30010
    @Bobcat30010 6 หลายเดือนก่อน +5

    Here because Pirate software sent me

  • @200milesaway6
    @200milesaway6 6 หลายเดือนก่อน +5

    The P in LAMP originally stood for Perl, but could also be used for PHP

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      That is true, sometimes it was written literally as "Perl/PHP". I think though that most of us remember the LAMP acronym as Linux-Apache-MySQL-PHP.

    • @benhetland576
      @benhetland576 6 หลายเดือนก่อน

      So I guess it has become LAPPP now, then 😁

    • @BlackDub21
      @BlackDub21 6 หลายเดือนก่อน

      Boomer 😅

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

      @@TheArtOfTheTerminal I would associate the acronym primarily with a setup for web servers (ref. Apache as well), so in that context PHP would be the "closest fit", at least back in those days. Well, Perl was (is) is used for a lot of stuff, but it looks too tidy compared to PHP intermingled with HTML ;-) Would be great if someone could provide a pointer to support the claim that P = Perl.

    • @200milesaway6
      @200milesaway6 6 หลายเดือนก่อน

      @@benhetland576 apart from Perl being used through CGI and other setups, mod_perl (for Apache) existed since 1996, before PHP started to be used by anyone (PHP3+ existed from 1997 but no one used it, and when it was used from early 2000s, it was initially through a CGI handler interface if I remember correctly).

  • @Andrii-zc4dp
    @Andrii-zc4dp 6 หลายเดือนก่อน +2

    Yea, I use arch btw, you can use PostgreSQL if you like :)

  • @bjornbeishline6619
    @bjornbeishline6619 6 หลายเดือนก่อน +3

    The only problem I have with this is that stored procedures seem like a bad idea. It is already hard enough to manage databases and their versions, it doesn’t seem like a great idea to fragment a code base potentially even more with a stored procedure.

    • @zBrain0
      @zBrain0 6 หลายเดือนก่อน +2

      The point of it all is that the database is your single source of Truth. Stored procedures allow you to enforce data integrity no matter what the source of incoming data is. If you need something updated every time something else happens you don't want to rely on external code to make sure that happens. If the database is enforcing it it doesn't matter if you run an insert from a command line, an API, or by some other method things are going to happen the same way consistently no matter what

    • @05xpeter
      @05xpeter 6 หลายเดือนก่อน +4

      I have been in an app with allot of business logic in the database. We used allot of triggers and stored procedures, a pub sub system to align all our clients. It gave a microservice fell, where the developer just changes a row and the triggers handle the rest. But because we used almost postgres for everything, we could make very simple automated fast end-to-end tests. So we adopted a Behavior driven development testing style and it worked great. When ever we merged something we generated the entire trigger, stored functions, etc. code and if there where any changes we just did a replace. It worked rpetty well overall

    • @p-j-y-d
      @p-j-y-d 6 หลายเดือนก่อน

      Although not perfect, a good solution for managing schema versioning is a migration tool (Flyway, Alembic, etc.). Just treat stored procedures as any other part of your schema and manage them with migrations. The fragmentation problem can be real, but you could judiciously apply a stored procedure as optimization for a data-intensive task in the same way as a python function rewritten in C as an optimization for a CPU-intensive task.

  • @andythedishwasher1117
    @andythedishwasher1117 6 หลายเดือนก่อน

    I'm so happy right now. I just integrated Postgres as a module into my automation stack, treating it like a boring old table, column, and row relational rigamarole. That all works, but what you just revealed here tells me that I can adopt some way slicker strategies, and my stack now has a fully integrated solution for a whole range of problems I haven't even approached yet. I'm 100% on team BoB (Bet on Boring), but I would add that many boring things can combine to make very exciting things, as we are seeing in Postgresql's feature set.

  • @MrKeliv
    @MrKeliv 6 หลายเดือนก่อน +3

    After I see this video. I will delete my excel as a database

  • @sorrontisgames
    @sorrontisgames 6 หลายเดือนก่อน +2

    Hello, Piratesoftware sends his regards!

  • @Siejec
    @Siejec 6 หลายเดือนก่อน

    Very cool vid man! Keep it up!

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

    Ok, you have totally convinced me to go and spin up a Postgres instance. I will be back in a couple of months!
    And thanks for a great video.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      Thank you! Extremely interesting to hear back from you on your experience afterwards.

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

    Doom never disappoints.

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

    Should I learn postgresql instead of MySQL?

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

    This is a cool video! Thanks for informing us!

  • @popalex
    @popalex 6 หลายเดือนก่อน +3

    Great video, but please use the terminal full screen.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      Thank you for the feedback. Yeah, will change terminal setup.

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

    I had no idea you can do this much.

  • @sam37io
    @sam37io 6 หลายเดือนก่อน

    Product owners are a thorn in the road.

  • @AnsisPlepis
    @AnsisPlepis 6 หลายเดือนก่อน

    Amazing video and exactly what i wanted to know more about

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      Glad you liked it :). Thank you for the feedback!

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

    The reason I ended up using MySQL 8 for my last API is that it supports JSON Merge-Patch natively. As of my work on that app a couple of years ago, PostgreSQL did not.

  • @IanStanton-n9o
    @IanStanton-n9o 6 หลายเดือนก่อน

    Hey there, I'm an engineer at Tembo and we built the Trunk Extension Registry and CLI. It's so great to see it being used in this video! We're open to feedback, contributions, etc, so feel free to reach out :)

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      Hey hey! Thank you for reaching out! It would be awesome to see Debian support :)

  • @xennox268
    @xennox268 6 หลายเดือนก่อน +2

    I am torn. Whilst some of these things look cool, I have to wonder if people ever stopped to think, "Should I do this?" I just keep wondering how scalable are some of these things.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      Very valid concern. "Bigger" extensions like Apache AGE (for graph data) and TimescaleDB (for time series) have communities around them with forums where you can ask questions about other people's experiences re: scalability. And you can also load test the new setup in a test environment.

    • @xennox268
      @xennox268 6 หลายเดือนก่อน +2

      @TheArtOfTheTerminal I've been in the software development game since I started working over 15 years ago, and I've seen a lot of things in my time with databases, from engineers using stored procs to perform ETL, to them using discrete processes to perform the ETL, to using stored procs for business logic, to being "select from tables, and process in the application layer". Hell, the DBAs at my current company freak out if you add foreign keys to your tables because of the scale we operate at. Our database servers have to perform thousands if not tens of thousands of writes per second, only to be replicated into a replica chain thar needs to serve hundreds of thousands of reads per second. Watching the video just leaves me in a torn state. I mean, I've seen and experienced the benefits of keeping your code as close to the data as possible, but I've also experienced the pain of that. Part of it being process, the other part being ignorant of better practices.

  • @marcosoliveira8731
    @marcosoliveira8731 6 หลายเดือนก่อน +2

    What a platform!

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

    great research and summaries on postgres! I

  • @bhatsanket
    @bhatsanket 11 วันที่ผ่านมา

    This is gold!

  • @ivanily4
    @ivanily4 6 หลายเดือนก่อน

    Great video. Thank you for your work.

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

    Very informational video

  • @Fido1hn
    @Fido1hn 6 หลายเดือนก่อน

    I really enjoyed this video. Gained a subscriber.

  • @teaneggs
    @teaneggs 6 หลายเดือนก่อน

    Hey ! Here’s a crazy new idea.. what if we let the database do what a database is supposed to do and move the business logic to a separate “backend” ? I think it’s called separation of concerns or something like that

  • @ericepperson8409
    @ericepperson8409 6 หลายเดือนก่อน

    As someone who supported Enterprise products that used MySQL and PostgresSQL databases for their backends- PostgresSQL is far more stable, capable, and versatile. MySQL and MariaDB just can't scale the same. And don't even get me started on using MSSQL as a product backend (although it's better than it used to be). PG has had the amount effort put into it by developers for a reason.

  • @prometeoprime9893
    @prometeoprime9893 6 หลายเดือนก่อน

    Quality content, subscribed!

  • @VorpalForceField
    @VorpalForceField 6 หลายเดือนก่อน

    Impressive and Very Cool ... Thank You for sharing .. Cheers :)

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

    "Radical Simplicity" sounds a lot like "just fucken put everything in one place and call it a day because if it barely works, it still works".
    Each tool should do exactly one job. Can't get any more "radically simple" than that.
    If you require 20 microservices, but all of them are lean and serve a single purpose, then go for it.
    But if your web server does everything from REST API, streaming HTML, funky no-js clientside tech, GraphQL, caching, queues, etc. in like 3 files in total, then that is a PROBLEM.

    • @TheArtOfTheTerminal
      @TheArtOfTheTerminal  6 หลายเดือนก่อน

      You are right, some projects are better off with 20 (or 2000) single purpose microservices.
      What the radical simplicity means (not my term btw) is asking yourself a question: do *I* *really* need X microservices like these other guys? Or maybe my business problem can be solved with an SQL database and a pgmq task queue, just two components that, yes, each do exactly one job. Sometimes Postgrest (the REST API thing) is also the solution -- as some people commented here.
      There is a reason why people migrate back to on-prem from public clouds, why htmx/alpine micro-frameworks are getting traction. Imo professionals are getting tired of *unnecessary* complexity.

  • @davidmc971
    @davidmc971 6 หลายเดือนก่อน

    Great video, learned some new stuff, thanks!

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

    the picture looks like you met the elephant at fosdem ;)

  • @Handled-x2n
    @Handled-x2n 5 หลายเดือนก่อน

    Thing is most extensions need a hosted instance, some providers have no logs access, and debugging things is hell, after using triggers on a project and having to traverse pg logs put many doubts using pg for any other use than db. Interesting video on these extensions though.

  • @REDIDSoft
    @REDIDSoft 6 หลายเดือนก่อน

    Amazing video I Love PostgreSQL

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

    Excellent video, cheers 👍

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

    Wow very informative.
    It is mind blowing.
    Small suggestion: try not to paster large chunks of text at once.
    And if so leave them a bit longer on the screen

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

      Thank you for the feedback, really useful. Will definitely improve the demo part.

  • @Rein______
    @Rein______ 6 หลายเดือนก่อน +2

    Dont forget PostGIS!!!

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

    Great video!

  • @babatundeadeyemi4412
    @babatundeadeyemi4412 6 หลายเดือนก่อน

    You just earned a subscriber! 🙌

  • @misterlinuxfriendly947
    @misterlinuxfriendly947 6 หลายเดือนก่อน

    Great video, thank you. Subscribed!