PostgreSQL vs MySQL

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

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

  • @wadesworld6250
    @wadesworld6250 2 года назад +1092

    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 2 года назад +14

      Thank you!

    • @amarthakur093
      @amarthakur093 2 года назад +105

      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 2 года назад +6

      Gpl v3 is a different license from v2

    • @1989arrvind
      @1989arrvind 2 года назад

      Great explanation 👍

    • @neilfpv
      @neilfpv 2 года назад +1

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

  • @mmoncure11
    @mmoncure11 2 года назад +167

    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 2 года назад +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 2 года назад +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 Год назад

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

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

      i was doing json search/lookup in mysql. do you think it's just postgres feature?

  • @bjelinski1
    @bjelinski1 2 года назад +105

    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 2 года назад

      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 2 года назад +15

      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 2 года назад +3

      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 Год назад +1

      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 Год назад

      @@kittipongpiyawanno315mongodb it quite slow no? Specially on joins

  • @professortrog7742
    @professortrog7742 2 года назад +54

    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)

  • @superbombyman1501
    @superbombyman1501 2 года назад +19

    The AI has the humor of a software engineer

  • @sachinrawat4539
    @sachinrawat4539 Год назад +8

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

  • @yermak_evg
    @yermak_evg 3 месяца назад +6

    If you know PostgreSQL well, you should use PostgreSQL because PostgreSQL beats mySQL in terms of speed, memory usage and CPU utilization for the same queries. At the same time, Postgresql provides many additional features

  • @yuryzhuravlev2312
    @yuryzhuravlev2312 2 года назад +66

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

    • @makelebanon1
      @makelebanon1 2 года назад +35

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

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

      I am wating for your video

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

      ​@@bbrother92me too

  • @solifugus
    @solifugus 2 года назад +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 2 года назад +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 2 года назад +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 2 года назад +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 Год назад

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

    • @nirnullz
      @nirnullz Год назад +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).

  • @CalifornianViking
    @CalifornianViking Год назад +13

    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.

  • @t0mn8r35
    @t0mn8r35 Год назад +29

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

    • @sanjav
      @sanjav Год назад +21

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

    • @AragornArathorn-z6u
      @AragornArathorn-z6u 10 месяцев назад

      ​@@sanjavnice. I actually thought he was lefthanded

    • @sergio655-sm4zm
      @sergio655-sm4zm Месяц назад

      @@sanjav great explanation, took me 5 minutes to nail it, but still wasn`t sure.

  • @MaulikParmar210
    @MaulikParmar210 2 года назад +16

    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 :)

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

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

  • @georgehelyar
    @georgehelyar 2 года назад +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 2 года назад +3

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

  • @OzoneGrif
    @OzoneGrif 2 года назад +22

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

    • @IBMTechnology
      @IBMTechnology  2 года назад +14

      Search on "lightboard videos".

    • @towatch
      @towatch 2 года назад +3

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

  • @amadensor
    @amadensor 2 года назад +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 2 года назад

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

  • @DediAnanto
    @DediAnanto 2 года назад +6

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

  • @alfbravobarbosa6458
    @alfbravobarbosa6458 2 года назад +6

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

  • @thombrown
    @thombrown 2 года назад +9

    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 2 года назад +1

      for example MySQL does not suffer from Vacuum and double buffering

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

      Like what?
      Postgres has json as data type as pro if it is what you refer to as complex the rest the thing postgres sucks (resilience as in active-active or clustering), super complex cross db queries (for eg when doing analysis),... yes it is usable and I found forks swearing on its head but looking MariaDb now the thing is next-level

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

      mysql has the potential to use less resources for the same load because it's multi-threaded. It will usually consume less memory than postgres to open e.g 20 connexions.
      But more people seem to experience issues at scale with MySQL than postgres, because multi-threading is also very hard to make stable.
      So overall I don't think this performance gain is really benefitial for MySQL, in my opinion.

  • @ChrisTopher-wl6pd
    @ChrisTopher-wl6pd Год назад +1

    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  Год назад

      See ibm.biz/write-backwards

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

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

  • @yakunats
    @yakunats 2 года назад +13

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

  • @haliszekeriyaozkok4851
    @haliszekeriyaozkok4851 Год назад +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 Год назад +1

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

    • @ashkanahmadi
      @ashkanahmadi 11 месяцев назад +4

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

  • @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

  • @laci272
    @laci272 8 месяцев назад +5

    What is the difference between performance and speed ?

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

      An analogy for the difference between speed and performance can be illustrated using a car:
      Speed is like the car's top speed on a straight road. If a car can reach 150 miles per hour, that number tells you how fast it can go in ideal conditions.
      Performance, on the other hand, encompasses much more. It includes not just the car's top speed but also how well it handles curves, how efficiently it uses fuel, how quickly it accelerates from a stop, and how reliable it is over time. A car that can reach 150 mph but struggles to handle turns or consumes too much fuel would not be considered a good performer overall.
      In this way, while speed is an important factor (like how quickly a task can be completed), performance gives a fuller picture of how well a system operates under various conditions. This is crucial in determining the overall user experience and reliability of the system or car in practical scenarios.
      So, in computing, a program may run fast (high speed) but may not be efficient or stable, while another program may take longer to execute (lower speed) but uses fewer resources and provides a better overall experience (higher performance).

  • @danwallace2900
    @danwallace2900 2 года назад +3

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

  • @gdd9866
    @gdd9866 Год назад +4

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

  • @fcolecumberri
    @fcolecumberri 2 года назад +1

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

  • @uHnodnarB
    @uHnodnarB 2 года назад

    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]".

  • @Necropheliac
    @Necropheliac 2 месяца назад +1

    Does Postgres have full text search indexes similar to MySQL? I’ve been thinking about switching to Postgres because I have an application that does an intense amount of write operations compared to reads and the full text search is the one bit of functionality that I’m not sure it would be easy to migrate.

  • @kevinto8955
    @kevinto8955 2 года назад +1

    Shoutout to this man for writing backwards

  • @vincent_sz
    @vincent_sz 2 года назад +5

    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.

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

    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?

  • @rickmyers7627
    @rickmyers7627 2 года назад +4

    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 Год назад

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

  • @amadensor
    @amadensor 2 года назад +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.

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

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

  • @makelebanon1
    @makelebanon1 2 года назад +2

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

  • @smart7868
    @smart7868 2 года назад +3

    How that glass blackboard works and mirrored?

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

    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!

  • @practical-skills-school
    @practical-skills-school 2 года назад

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

  • @PublicApp
    @PublicApp Год назад +3

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

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

      An analogy for the difference between speed and performance can be illustrated using a car:
      Speed is like the car's top speed on a straight road. If a car can reach 150 miles per hour, that number tells you how fast it can go in ideal conditions.
      Performance, on the other hand, encompasses much more. It includes not just the car's top speed but also how well it handles curves, how efficiently it uses fuel, how quickly it accelerates from a stop, and how reliable it is over time. A car that can reach 150 mph but struggles to handle turns or consumes too much fuel would not be considered a good performer overall.
      In this way, while speed is an important factor (like how quickly a task can be completed), performance gives a fuller picture of how well a system operates under various conditions. This is crucial in determining the overall user experience and reliability of the system or car in practical scenarios.
      So, in computing, a program may run fast (high speed) but may not be efficient or stable, while another program may take longer to execute (lower speed) but uses fewer resources and provides a better overall experience (higher performance).

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

    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.

  • @TheUncannyF
    @TheUncannyF 2 года назад +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 года назад +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 Год назад +3

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

  • @RayZde
    @RayZde 2 года назад +2

    what about MariaDB, with Galera Cluster?

  • @JoseHenrique-xg1lp
    @JoseHenrique-xg1lp Год назад +3

    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

  • @АлександрГришин-в1о
    @АлександрГришин-в1о 2 года назад +2

    thank you a lot, Martin!

  • @徐子翔-c9o
    @徐子翔-c9o 7 месяцев назад +1

    The major difference to me is:
    MySQL installed successfully.
    PostgreSQL keeps showing errors and unusable.

  • @DenisKashirskiy
    @DenisKashirskiy 2 года назад +7

    Thank you for this quick and fun comparison video

  • @AGC07
    @AGC07 2 года назад +4

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

    • @yuryzhuravlev2312
      @yuryzhuravlev2312 2 года назад +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.

  • @chrissaltmarsh6777
    @chrissaltmarsh6777 2 года назад +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)

  • @arcanernz
    @arcanernz 2 года назад +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 2 года назад

      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

  • @chauvoluuhuong7485
    @chauvoluuhuong7485 2 года назад +1

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

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

    Elephants are cooler than dolphins

  • @sentzeu
    @sentzeu Год назад +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.

  • @frank-michaeljaeschke4798
    @frank-michaeljaeschke4798 2 года назад +10

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

    • @phpnotasp
      @phpnotasp 2 года назад +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

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

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

  • @gilbertardila
    @gilbertardila 2 года назад +1

    That was a good explanation

  • @kidush4623
    @kidush4623 2 года назад +7

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

    • @akogepayo
      @akogepayo 2 года назад

      Must be customized MySQL, not the current public release.

    • @Kanra951
      @Kanra951 2 года назад

      Google uses Spanner

    • @phpnotasp
      @phpnotasp 2 года назад

      @@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.

  • @nv7213
    @nv7213 2 года назад +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

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

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

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

      Already ruclips.net/video/Uoz_osFtw68/видео.html

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

    He writes backwards. What a crazy feature of a man

  • @HoganLong
    @HoganLong 2 года назад +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."

  • @user-fed-yum
    @user-fed-yum Год назад +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.

  • @richardnoble7170
    @richardnoble7170 2 года назад +1

    I worked for IBM for Years why not recommend DB2

  • @maudrid
    @maudrid 2 года назад +7

    This topic deserves more than a 6 min video. It's very nuanced and the choice should not only be made while considering only these few points. There are counter points to be made on both sides depending on workload. Not a great video in my opinion.

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

    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!

  • @coder4life
    @coder4life 2 года назад +10

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

    • @AristoHadisoeganda
      @AristoHadisoeganda 2 года назад +3

      I think MariaDB shares the same values as MySQL.

    • @MattHudsonAtx
      @MattHudsonAtx 2 года назад +5

      MariaDB is barely-altered MySQL

    • @yuryzhuravlev2312
      @yuryzhuravlev2312 2 года назад +6

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

    • @Peter-bg1ku
      @Peter-bg1ku 2 года назад +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 2 года назад

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

  • @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?

  • @ondrejzelazko5266
    @ondrejzelazko5266 2 года назад +2

    sooo just use postgresql. i don't like this argument of "ease of use". you need to know SQL in both. if you are not a DB admin, you just write apps on top of DBs, you won't even touch the hard parts - and where you do, you'll be glad to have the one that can do it all. If you are DB admin, then .. what "ease of use" means anyway, since you are the supposed guru?

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

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

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

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

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

    may I ask : If I created a Postpress database with a username and password on my computer, it can only be opened with this name and password when I migrate it.

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

    Another IT guy brewing a beer 😂❤️👍

  • @wce-tube
    @wce-tube 2 года назад +1

    ...showed HIM, not HER 😂

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

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

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

    Unfortunally this feels like a ChatGPT response and lacks any substance

  • @maxo.772
    @maxo.772 Год назад

    Noone:
    Me:
    Are you bloody writing in mirror?

  • @modolief
    @modolief 2 года назад

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

  • @ronjon7942
    @ronjon7942 2 года назад +1

    How does he write backwards so quickly and accurately?

  • @data_dave
    @data_dave 2 года назад

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

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

    I love IBM pls hire me

  • @robodeath
    @robodeath 2 года назад

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

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

    How does his drawing thing work? I'm guessing he's not actually writing everything in reverse

  • @bhumit070
    @bhumit070 2 года назад +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 2 года назад +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 2 года назад +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 2 года назад +1

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

  • @toddfisher8248
    @toddfisher8248 2 года назад +4

    I think you are mis informed… the main differences depending on version is pgsql has more SQL features then MySQL like window functions etc… but when it comes to stability and performance MySQL has a better story with galeria cluster and it’s many replica options…

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

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

  • @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.

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

    SQL or Postgre SQL to learn first?

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

      syntax is mostly the same so it doesn't really matter. postgres is more popular nowadays

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

    Everything that are in the "pro" column for mysql, postgres does it better.

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

    this is great video thank you

  • @praveesh18
    @praveesh18 2 года назад

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

  • @mmfStudent
    @mmfStudent 10 месяцев назад +1

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

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

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

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

    Incredible how easy he can write mirrored text 😲

  • @MaciejSzydlowski
    @MaciejSzydlowski 2 года назад +1

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

  • @supremeomegacompany
    @supremeomegacompany 2 года назад

    Pls can you make tutorial about the writing board?

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

      ruclips.net/video/Uoz_osFtw68/видео.html

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

    Ok the world need to understand that we use the letters for a reason. If I hear sequel one more time, I think I'll snap.

  • @ayder
    @ayder 2 года назад +3

    This video may assumed as a joke itself. Martin may have but little point if this video published 10 years ago. Otherwise it’s content complete bullshit. Both free and open source databases advanced far from his explanation at 2022, still being developed at a higher pace ever.

  • @boriscrisp518
    @boriscrisp518 11 дней назад

    worlds most distracting jazz hands

  • @SalihGoncu
    @SalihGoncu 2 года назад +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. :)

  • @Abhijit-techie
    @Abhijit-techie Год назад

    Thank yu i also use postgres for my enterprice application

  • @chrisalexthomas
    @chrisalexthomas 2 года назад

    Ok, lets all agree that in the future, you won't tell anymore jokes... :D