PostgreSQL vs MySQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ค. 2024
  • Deploy PostgreSQL → ibm.biz/BdPSXZ
    Get Started with MySQL→ ibm.biz/BdPSXY
    Most Relational Database Management Systems rely on SQL, but two of the most popular RDBMS - PostgreSQL and MySQL - deliver different value propositions. IBM Master Inventor Martin Keen explains which might be appropriate for your needs. A lot of it comes down to the simple question: what’s more important to you, performance and scalability or ease of use and speed? Plus, Martin gets AI to tell a joke.
    Get started for free on IBM Cloud → ibm.biz/sign-up-today
    Subscribe to see more videos like this in the future → ibm.biz/subscribe-now

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

  • @wadesworld6250
    @wadesworld6250 ปีที่แล้ว +894

    You missed the biggest differentiator between the two: licensing. Depending on what you do, your use of MySQL may require a commercial license. Even if not, MySQL Community Edition is licensed under GPLv2 which contains some strict rules and requirements. Postgres is licensed under the PostgreSQL License, which basically says "do whatever you want with it, including embedding it in your product. Your only requirement is to include our license notices.'

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

      Thank you!

    • @amarthakur093
      @amarthakur093 ปีที่แล้ว +86

      I was actually surprised as the video omitted it. It's the elephant in the room. We had moved from MySQL to Postgres for this specific reason.

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

      Gpl v3 is a different license from v2

    • @1989arrvind
      @1989arrvind ปีที่แล้ว

      Great explanation 👍

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

      WOW! Time for me to use PostgreSQL heavily! Thank you!

  • @mmoncure11
    @mmoncure11 ปีที่แล้ว +141

    Problem with many 'feature, checkmark' comparisons is that they often skip important nuance and depth. postgres's json support blows away anything else in the market because it's directly embedded into the type system, you can do things like, "select json_agg(f) from foo f;" Relating to this comparison, the distinction between performance and speed doesn't make any sense. One of the specific features relating to speed, partial indexes, is in both databases.

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

      It's not the feature, but how it's implemented, that determines product performance. Postgres has a lot of limitations when handling lots of writes with replicas.

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

      I totally agree with you. Those comparisons are really confusing.
      Most of the time, it comes from inexperienced authors who just paraphrase the words from the documentation and haven't spent enough time on each or don't really understand them. That's why I expect more from the IBM Technology channel.

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

      @@zomgneedaname A lot of those problems have been solved as of PostgreSQL 12 using the new ZHeap implementation of storage.

  • @bjelinski1
    @bjelinski1 ปีที่แล้ว +58

    I loaded PostgresQL and MySQL (Maria.. too) with half a million selects, insert and updates per hour on an old PC. No tuning, just "apt-get install". MySQL died immediately, Postgres has worked like a charm ever since, I couldn't believe it as processors run on maybe 20% of their capacity (both via JDBC and some Rust connector), magic. I thought the opposite for 30 years, "mysql is lightweight and fast, Postgres is a complicated, object-oriented engine". My employer, the biggest IT environment in a European country, uses Postgres only now for all new projects, slowly migrating Oracle DBs. How stupid we all have been not trusting Postgres?!

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

      What specific features of Oracle keeps you on it? What are limitations where PostgreSQL simply doesn't perform well as Oracle? I am planning to do similar migration.

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

      You can't make performance assumption based on the default installation. 500,000 Q/Hour it's nothing. If you make say 1 change only after you install MySQL, increase the InnoDB buffer to a proper size, your server might serve thousands Q/Second easily. Different RDBS are just designed differently, so they might need different amount of basic configuration to start with.

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

      You were not wrong about PostgreSQL performance. I've used both for nearly 20 years. Earlier MySQL can outperform easily. Since PostgreSQL 9.0, its performance was significantly improved. And each version it becomes faster and faster. Still, for default installation and trivial query, MySQL seems to be faster. But for average case, PostgreSQL is one of the fastest in the market. In our environment, it's even faster than commercial products and MongoDB.

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

      It depends on the operating system how the configuration file is delivered. This is the first mistake, where I do not need to read more.

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

      @@kittipongpiyawanno315mongodb it quite slow no? Specially on joins

  • @professortrog7742
    @professortrog7742 ปีที่แล้ว +47

    Actually the full text capabilities of Mysql are abysmal. In Postgresql using the gin_trgm index is an absurd amount faster then anything accomplishable in mysql. (This creates trigrams, allowing one to do superfast searches on fragments)

  • @sachinrawat4539
    @sachinrawat4539 9 หลายเดือนก่อน +5

    Best feature of postgres over mysql that i found is returning results in update queries, very helpful for bulk update use case scenario

  • @yuryzhuravlev2312
    @yuryzhuravlev2312 ปีที่แล้ว +18

    As an ex PostgreSQL developer, I can say that it's a completely wrong explanation and hides tons of essential details.

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

      as a non PostgreSQL developer, I've learned nothing about pstgresql from the video

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

      I am wating for your video

  • @MorkaiAU
    @MorkaiAU 11 หลายเดือนก่อน +2

    Man, it's so strange to be searching for info on PostgreSQL and stumble across Martin "Homebrew Challenge" Keen.

  • @MaulikParmar210
    @MaulikParmar210 ปีที่แล้ว +15

    Just remember CAP theorm. Most of your db related choice will start to make sense.
    Apps do scale, and data structures do change over time. What matters is how well you manage it and organise it for smooth transitions between these tools :)

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

    Remember that MySQL speed is very dependent on the storage engine used. Myisam is very fast if you don't need transactions or acid compliance. If you need transactions and rollback and triggers, then the storage engine you need will remove the speed benefit.

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

      Isn't myisam still only very fast if you don't write too much data?

  • @georgehelyar
    @georgehelyar ปีที่แล้ว +26

    I recently had to choose between the two. We went with postgres because citus is kept up to date with postgres, but vitess is very out of date and missing many features of modern mysql, including some features that were important for us.
    I wouldn't really say mysql was any easier to develop with etc though. There are a few differences like citext extension vs case insensitive collations but not really had any problems with it.

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

      Thanks for introducing me to Citus. Just looked it up and it seems really powerful.

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

    You forgot the mysql h.a. with innodb cluster and mysqlbackup for doing online compress backups

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

    We use postgresql for the power of relational and flexibility of no schema all in one platform by putting gin indexes on jsonb fields.

  • @JoseHenrique-xg1lp
    @JoseHenrique-xg1lp 11 หลายเดือนก่อน +2

    I think the only thing that I've ever missed in mySQL was recursive queries.... other than that, I love things like delete and updates using inner joins. Postgres's biggest selling point to me are the modules such as UUID and geospacial data. That's my point of view as a developer but I know a lot of people who would much rather rely on OracleDB

  • @user-lh2si7rw4p
    @user-lh2si7rw4p ปีที่แล้ว +2

    thank you a lot, Martin!

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

    In fact, i don't see too much usage of mysql except if there is any php code. As i see: javascript developers often prefer mongodb, golang developers prefers postgres and rust developers prefer postgres or sqlite.
    Usually usage of mysql are limited with php.

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

      But u know how much more php is used. Also node js devs love for mongodb has reduced quite a lot.

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

      I’ve heard lots of people moving away from mongodb and going towards postgresql

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

    The AI has the humor of a software engineer

  • @practical-skills-school
    @practical-skills-school ปีที่แล้ว

    I love Supabase, which is a BAAS based on Postgres with amazing free quota and visual interface.

  • @t0mn8r35
    @t0mn8r35 ปีที่แล้ว +23

    Very interesting. I am very impressed at your skill of being able to write neatly in mirror form.

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

      There is not much of skill in it. The video is just horizontally flipped.

    • @user-jb3lt3mu5u
      @user-jb3lt3mu5u 2 หลายเดือนก่อน

      ​@@sanjavnice. I actually thought he was lefthanded

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

    This really clear things up for me. Thanks

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

    postgres is my choice for all kind of small projects aswell, runs great on even the oldes raspi etc..

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

    Wait... I think I missing your explanations about speed in Mysql vs performance in Postgresql

  • @solifugus
    @solifugus ปีที่แล้ว +83

    I have used both for many years, among others. I agree that MySQL is quicker and easier to get started and use. MySQL is also very fast at large transactional databases but not overly complex ones. PostgreSQL is far more featureful and deals much better with complexity. For example, you can embed a variety of languages for stored procedures. Also, PostgreSQL has much broader capabilities of applying constraints and many other things. PostgreSQL scales out to multiple peer servers for vastly faster and larger data storage, as where MySQL only supports master-slave replication. Overall, MySQL is more featureful than SQL Server, is fast, and scale up pretty well, but not anywhere near PostgreSQL. MySQL's main strength, though, is that it's easier to get up and running and smoother to develop for. And for most web applications, that's really what matters more. For comprehensive enterprise data processing, what PostgreSQL has is what matters more.

    • @d-arkh
      @d-arkh ปีที่แล้ว +3

      Compared to MySQL, PostgreSQL makes simple things complex, and complex things become a nightmare - from the admin's point of view. Replication in PostgreSQL is lacking compared to MySQL. What exactly is meant by "PostgreSQL scales out to multiple peer servers"? Did you mean MySQL Cluster here, by chance? ;)

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

      If something is not fit into mysql it becomes a disaster or has huge problems with performance. Postgres support much much more cases, and even if it's not supported you can write a module by yourself.

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

      Have you used pgmodeler? It's a somehow obscure project that people should know more about. It makes interacting with psql extremly easy.

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

      I hardly noticed a difference setting up the two. You can get a docket container running Postgres in minutes

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

      The notion of smoother development only for mysql is debatable because many web frameworks employ database abstractions, such as Spring Data JPA. This allows developers to switch between MySQL and PostgreSQL by merely changing drivers (though a database migration script library is needed for an easy switch).

  • @OzoneGrif
    @OzoneGrif ปีที่แล้ว +19

    What impresses me the most is how easily he handwrites in mirror.

    • @IBMTechnology
      @IBMTechnology  ปีที่แล้ว +12

      Search on "lightboard videos".

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

      can we just appreciate the quality of the video, and the topics they choose to teach people for free.

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

    Had to use Postgresql after 30 years of Oracle experience. Was like time traveling back to the end of the 90s. Lack of features in sql, no parallel queries, not able to scale horizontally (RAC). Miss it.

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

    If they were relational that would mean that they organize data into relations (that can be depicted as tables but that are not actually tables) that can be operated on using relational algebra/calculi (closed over relations) on which SQL was inspired although it does not adhere to it by many reasons, right?

  • @yakunats
    @yakunats ปีที่แล้ว +12

    Always love to see the impassioned debates generated by software paradigm comparisons.

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

    Most if not all web hosting companies come with MySQL installed. That in itself is a huge relief…you really don’t want to keep installing and updating your database software

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

    Could you prepare video stream about CDC transactional replications in PostgreSQL .

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

    Really odd comparison. Where is MySQL faster than PostgreSQL? I remember those comparisons 15 years ago, but PostgreSQL isn't difficult to use. I would say that it can be used everything MySQL is used for, but can also be used for far more complex, serious and advanced things than MySQL.

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

      for example MySQL does not suffer from Vacuum and double buffering

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

    Comparing MySQL to Postgres is like comparing Microsoft Access to Microsoft SQL Server. The first is a sloppy attempt to create a storage system, the latter is a database.
    One of the happiest days of my technical career was when i moved from MySQL to Postgres. It is so obvious that the core of Postgres is built by people that understands databases, and that the same is not true for MySQL.
    The learning barriers caused by the strictness of Postgres is paid back in the first week.
    Just look at the documentation, Postgres is far superior and honest.

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

    Guys, the thumbnail has the name wrong. it is not Postgre it is Postgres or PostgreSQL

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

    Thank you for this quick and fun comparison video

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

    I am just starting out with my data analytics journey, and have started out figuring out what I need to learn to get a job as a DA asap, and I've downloaded both MySQL and PostgreSQL, but have yet to install either. I figured I would install both, and play with each, but my questions is, which should I use to learn SQL etc? I realize that once I learn one, it will be easy to learn the other, as they are similar, but, the question persists, which should i train myself on?
    Initially I thought PostgreSQL, so that I'm already ahead of the game, but that might take me longer to learn SQL. I don't know, I'm just guessing, which is why I ask.
    Thanks!

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

    The problem with this video is that it basically chooses very similar terms for each side giving what seems like the same checkmark for both. I mean it would be hopeful to sort of explain why, like why is complex multi-type queries better in Postgres, I’ve certainly done those in mysql and never noticed any issue. Mysql has clustering which gives high availability like Postgres. As you state at the beginning they are extremely similar. Yes there are small features that work better for one need vs another, and with modern ORMs it may not even be noticible by a developer. To me it’s which one does your organization have the most experience with?

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

    That was a good explanation

  • @frank-michaeljaeschke4798
    @frank-michaeljaeschke4798 ปีที่แล้ว +10

    MVCC is used by both, PostgreSQL and for example InnoDB storage engine for MySQL.

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

      Honestly thought the presenter was going to make a joke about how everything he wrote under PGSQL was also under Mysql since MySql uses MVCC and is king when it comes to OLTP (aka “web app”). He clearly only did surface-level research to prep this video.

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

      @@phpnotasp MySQL is way better, so when people compares it to postgre, they have to compare previous versions XD

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

    Actually I didn't understand difference between performance and speed. Are they different thing?

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

    You explained very good thank you so much.
    BTW the final joke was really awkward.

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

    Oracle DBA had good scope n future or which dba is good for fresher can anyone answer

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

    what about MariaDB, with Galera Cluster?

  • @laci272
    @laci272 24 วันที่ผ่านมา +1

    What is the difference between performance and speed ?

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

    Does this mean that both of them support the same data types and operations

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

    How that glass blackboard works and mirrored?

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

    thank you alot really helpful i kinda got the humor😂

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

    I flip between both of them for different projects... and to be honest, I've never had a need for the "Object" part of postgres... I/we use it in a traditional RDMS way.
    You know what RDMS I wouldn't use for any of my projects? --DB2. And I used DB2 for 14 years on z/OS and I'd not touch it with a 10 foot pole on any other platform.

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

      You should try it, the objects are phenomenal. You can return a row as a variable.

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

    Thank you.

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

    this is great video thank you

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

    what about IBM's own RDBMS DB2 vs postgreSQL and mySQL?

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

      DB2 is a nightmare from admin point of view... some syntax is also too old. As I know, IBM itself is trying to replace it with Postgres. I worked to improve Postgre's performance on Power CPU.

  • @Abhijit-techie
    @Abhijit-techie 5 หลายเดือนก่อน

    Thank yu i also use postgres for my enterprice application

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

    You are an IbM worker that is not talking about in4mix or db2 all day!!
    You are a shiny unicorn.

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

    3:20 what do you mean with multiple datatype support? isn't this a basic thing in any DB?

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

      I think they mean "more" data types

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

    Start with entity-relationship modelling - that way you understand what the hell you are trying to do.
    If I can, I'll use Postgres every time. If not, you maybe can get along with MySQL.
    As the old joke goes, if your only tool is a hammer, all the problems look like nails.
    (Oh, and there are FOSS tools to translate ER models into SQL, at least to 3rd normal form, which gives you some security. Or just use posiit noyes on a while board. It all helps to think first)

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

    I've worked with both for a couple years and I think they are both very easy to setup (a few hours) using modern technologies like Docker

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

    Shoutout to this man for writing backwards

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

      Search on "lightboard videos"

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

    For me, personally, the fact that Postgres supports transactional DDL is a big advantage.
    You can alter columns, create tables, drop tables, migrate data to them, and ROLLBACK if you messed up.
    MySQL doesn't support this (AFAIK), nor does MsSQL. Maybe Oracle, or IBM DB2 does (haven't checked).

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

      Meh, you shouldn't be messing with the DB structure if you think you may need to roll back, is my opinion...

    • @xybersurfer
      @xybersurfer 5 หลายเดือนก่อน +2

      @@HMan2828 that's way too simplistic. DB structures change all the time. no point in making the process more difficult than necessary

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

    If anyone can, please inform me about the tools(+equipment) used to make the above video. I tried searching for it but I could not find it. I am really impressed by the quality of this youtube video. Thanks in advance.

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

      Seach on "lightboard videos"

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

    great vid!

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

    How is *speed* different from *performance* in this context? Also, saying that MySQL is great at web applications is not a feature but a result of circumstance. People used it in that way just because!

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

    each db has specific purpose either complex queries or managing schema & shemaless data objects, scaling load balancing or license free dbms

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

    Thanks for this. For the newbies mentioning MariaDB in relation would have been a nice touch.

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

      I think MariaDB shares the same values as MySQL.

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

      MariaDB is barely-altered MySQL

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

      @@AristoHadisoeganda I think not anymore... they did much more recently than MySQL.

    • @Peter-bg1ku
      @Peter-bg1ku ปีที่แล้ว +2

      @@AristoHadisoeganda Mariadb has got more features than MySQL. It's got features that you'd only get in Oracle or possibly MySQL enterprise.

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

      Percona MySql has every oracle mysql enterprise feature available free and open source.

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

    Pls can you make tutorial about the writing board?

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

      th-cam.com/video/Uoz_osFtw68/w-d-xo.html

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

    i was woundering why the video was so bad for 500k subs.. then i realized that its from ibm

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

    I agree with wadesworld, you should have started with the licensing aspects of these databases. The rest is totally irrelevant between these products.

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

    wow this guys is writing in mirror inverted fashion. mind blowing

  • @ChrisTopher-wl6pd
    @ChrisTopher-wl6pd 10 หลายเดือนก่อน

    Me, a person with adhd, just realized I missed most of this video because I was enamored with how this guy is so good at writing backwards...

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

      See ibm.biz/write-backwards

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

      @@IBMTechnology Be sure to leave any clothing with asymmetrical writing or logos back in make-up. ;-)

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

    hm...can you make some study cases to prove your meaning ?

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

    They should make a video on how they make their videos!! 🙂

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

      Already th-cam.com/video/Uoz_osFtw68/w-d-xo.html

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

    Captions at 3:00 say "that enables the simultaneous occurrence of RIGHT [emphasis added] operations and reads. And there's also business", when it should say "that enable the simultaneous occurrence of WRITE [emphasis added] operations and reads. And there's also business". Captions at 4:19 say "and running and get started. And that really goes to my next point, which is speed. So FAR, [emphasis added]", when it should say "and running and get started. And that really goes to my next point, which is speed. So FOR, [emphasis added]".

  • @ROHITKUMAR-ym2bj
    @ROHITKUMAR-ym2bj ปีที่แล้ว +2

    Nice explaination

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

    Facebook , TH-cam, Google and so forth using mysql for their heavy load server side apps.

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

      Must be customized MySQL, not the current public release.

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

      Google uses Spanner

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

      @@akogepayo It is not customized much; FB is currently on 8.0.18 as of Mar'22. They presented on this at Percona Live. For the most part, they use Percona Server, not community.

  • @user-fed-yum
    @user-fed-yum 5 หลายเดือนก่อน +1

    How's your transactional DDL statements going MySQL? There's never been a good reason to use MySQL over Postgres. Having used Postgres on and off since the 1990's, and giggled at MySQLs not really a database DNA, and all the problems that has caused. Friends don't let friends use MySQL.

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

    Thanks for comparison! But JSON pronunciation made me squirm :)

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

    MySQL is not scalable that’s why nosql like mongodb (read scalable) and Cassandra (read/write scalable) exists. Unless you use Vitess or Citus. This list of of differences is incorrect with regards to the latest version of each. For example some of the big differences are stored procedures, data types, licenses, connect limits.

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

      MariaDB is scalable with Galera Cluster

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

      MySQL is scalable, but is hard to configure, without using externals like Galera, or Percona, but you can use the native scaling method, the "binlog", is hard really hard to configure, but it works pretty well

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

    Another IT guy brewing a beer 😂❤️👍

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

    I worked with both over a decade and MySQL ist the PHP of the Databases.
    I do not know why everyone says MySQL is easier to use because it lacls so many features, it encourages bad habits.
    Explain is a joke and sometimes gives wrong numbers.
    There are obsure bugs for example: An developer accidentally created an cte with the same name as an table which segfault the server process.
    When I came to my current employer I introduced them to postgres und EVERY developer was happy with the change because so many problems suddenly disappeared.
    The type system an the ability to use arrays, composote type, hstores etc. alone makes it so much easier and faster.
    Apart from wordpress MySQL is a nogo for us.

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

      This is so true. Postgres is far superior to MySQL.

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

    Oh -- I think you read the punchline to the joke wrong. The real punchline is "This is the only developer that wanted to use MySQL -- all the others left."

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

    But how do you make beer from them ?

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

    Weird how I know this guy as a homebrew guy and the database guy

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

    This may seem like a weird question, but are you the same guy who produces the Homebrew Challenge Channel on TH-cam?

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

      Not weird at all! Indeed, Martin is the guy behind that channel: www.youtube.com/@TheHomebrewChallenge

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

    ...showed HIM, not HER 😂

  • @user-fw7ho5pj2i
    @user-fw7ho5pj2i ปีที่แล้ว

    He writes backwards. What a crazy feature of a man

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

    Elephants are cooler than dolphins

  • @user-uy5ln9vp4x
    @user-uy5ln9vp4x 7 หลายเดือนก่อน +1

    I have never heard it pronounced "Jiy-son" 😂 I've always pronounced JSON as "Jason"

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

      I say Jay-s(on).

    • @user-uy5ln9vp4x
      @user-uy5ln9vp4x 7 หลายเดือนก่อน

      haha ok but have a listen to your pronunciation at 1:32. You definitely say "Jiy-son" 😂@@IBMTechnology

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

    very good explanation

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

    I love IBM pls hire me

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

    Wait... you're the homebrewer I follow!

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

    Which is better for querying homebrew recipe 😂😂

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

    I worked for IBM for Years why not recommend DB2

  • @user-rd6we5hx7c
    @user-rd6we5hx7c 6 หลายเดือนก่อน

    Wuuuut I didn't know you're also a fellow programmer, fellow brewer

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

    So do you say if we want to use in medium to small apps then we should use MySQL
    then why does uber moved from Postgres to mysql
    also mysql is primary db for facebook
    can we have explaination on that please as those are large scale based products

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

      Most probably he's talking about the open source versions of the databases. When we go to Enterprise features MySQL is way better as they develop all the Enterprise tools in house while the Enterprise features for Postgres are offered by third party companies. Uber and Facebook and not only have their core business running on MySQL Enterprise Edition.

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

      Because this video is entirely incorrect. The real value of MySQL and Postgres is completely different.
      Fortunately, most of the real difference between such DBs you can find on very high-load projects or very complex projects.
      But it's not for 5 min video because you need to understand how MVCC and index management work in such dbs.
      PS facebook and uber use MySQL mostly as smart key/value storage and they have their own DB on top of it. But again, it's a simplification and not fully correct.

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

      @@paulpetrescu5260 FB and Uber do not use MySQL Enterprise. They use Percona Server for MySQL (Source: They've publicly stated this numerous times)

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

    But I still like the Mysql .

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

    Incredible how easy he can write mirrored text 😲

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

      See ibm.biz/write-backwards

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

    I think this is not a very useful description. Saying "PostgreSQL is for OLTP and MySQL is for Web" and saying one scallable and fast and the other isn't, is a massive oversimplification. You can definitely use PostgreSQL for web applications without it being an issue, and you'd need to scale it very, very far before you start to run into data ingestion issues you can't easily engineer yourself out of. And MySQL isn't just "fast" its fast under specific circumstances, and slower in others.
    Without specific cases and specific measurements its not a useful discussion. I say this as someone who's worked with either database system for things running on a national scale.

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

    What about oracle RDBS database ? vs Postgres ? vs Mysql

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

      "web app". "banking sector". "performance". what do you more need to know? haha
      oralcle is not open-source anyway, so it's better to compare oracle to ms-sql (which also nobody cares)

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

    How does he write backwards so quickly and accurately?

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

    You also missed a very big issue: SQL is SQL. Regardless of mysql or postgres or DB/2, if you don't know how you will query (that's the "Q" in the name") you'll suck with any option. So yes, working with SQL/DS and with nearly anything having a "Q" in their name, what you want to query and how you want to query is the key to performance & storage. Just my 2 cents. :)

  • @maxo.772
    @maxo.772 ปีที่แล้ว

    Noone:
    Me:
    Are you bloody writing in mirror?

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

    MySQL was really really cool ... right up until they were acquired by Oracle. RIP MySQL.

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

    pgvector on PostgreSQL

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

    It's unclear why MySql is `easy to use` but Postgres doesn't....