No video

PostgreSQL vs MySQL

  Рет қаралды 321,799

IBM Technology

IBM Technology

Күн бұрын

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-u...
Subscribe to see more videos like this in the future → ibm.biz/subscri...

Пікірлер: 277
@wadesworld6250
@wadesworld6250 Жыл бұрын
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 Жыл бұрын
Thank you!
@amarthakur093
@amarthakur093 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 9 ай бұрын
@@zomgneedaname A lot of those problems have been solved as of PostgreSQL 12 using the new ZHeap implementation of storage.
@Hypergraph
@Hypergraph Ай бұрын
i was doing json search/lookup in mysql. do you think it's just postgres feature?
@bjelinski1
@bjelinski1 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 8 ай бұрын
@@kittipongpiyawanno315mongodb it quite slow no? Specially on joins
@yuryzhuravlev2312
@yuryzhuravlev2312 Жыл бұрын
As an ex PostgreSQL developer, I can say that it's a completely wrong explanation and hides tons of essential details.
@makelebanon1
@makelebanon1 Жыл бұрын
as a non PostgreSQL developer, I've learned nothing about pstgresql from the video
@bbrother92
@bbrother92 5 ай бұрын
I am wating for your video
@karuniaawalramadhan9627
@karuniaawalramadhan9627 2 ай бұрын
​@@bbrother92me too
@CalifornianViking
@CalifornianViking 8 ай бұрын
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.
@professortrog7742
@professortrog7742 Жыл бұрын
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 Жыл бұрын
Best feature of postgres over mysql that i found is returning results in update queries, very helpful for bulk update use case scenario
@superbombyman1501
@superbombyman1501 Жыл бұрын
The AI has the humor of a software engineer
@t0mn8r35
@t0mn8r35 Жыл бұрын
Very interesting. I am very impressed at your skill of being able to write neatly in mirror form.
@sanjav
@sanjav Жыл бұрын
There is not much of skill in it. The video is just horizontally flipped.
@user-jb3lt3mu5u
@user-jb3lt3mu5u 5 ай бұрын
​@@sanjavnice. I actually thought he was lefthanded
@MorkaiAU
@MorkaiAU Жыл бұрын
Man, it's so strange to be searching for info on PostgreSQL and stumble across Martin "Homebrew Challenge" Keen.
@laci272
@laci272 3 ай бұрын
What is the difference between performance and speed ?
@alfbravobarbosa6458
@alfbravobarbosa6458 Жыл бұрын
You forgot the mysql h.a. with innodb cluster and mysqlbackup for doing online compress backups
@haliszekeriyaozkok4851
@haliszekeriyaozkok4851 Жыл бұрын
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 10 ай бұрын
But u know how much more php is used. Also node js devs love for mongodb has reduced quite a lot.
@ashkanahmadi
@ashkanahmadi 6 ай бұрын
I’ve heard lots of people moving away from mongodb and going towards postgresql
@DediAnanto
@DediAnanto Жыл бұрын
Wait... I think I missing your explanations about speed in Mysql vs performance in Postgresql
@gdd9866
@gdd9866 Жыл бұрын
You explained very good thank you so much. BTW the final joke was really awkward.
@dernicolas6281
@dernicolas6281 7 ай бұрын
postgres is my choice for all kind of small projects aswell, runs great on even the oldes raspi etc..
@OzoneGrif
@OzoneGrif Жыл бұрын
What impresses me the most is how easily he handwrites in mirror.
@IBMTechnology
@IBMTechnology Жыл бұрын
Search on "lightboard videos".
@isaacqadri
@isaacqadri Жыл бұрын
can we just appreciate the quality of the video, and the topics they choose to teach people for free.
@MaulikParmar210
@MaulikParmar210 Жыл бұрын
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 :)
@georgehelyar
@georgehelyar Жыл бұрын
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 Жыл бұрын
Thanks for introducing me to Citus. Just looked it up and it seems really powerful.
@amadensor
@amadensor Жыл бұрын
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?
@user-kr6vv2yl7g
@user-kr6vv2yl7g 2 ай бұрын
The major difference to me is: MySQL installed successfully. PostgreSQL keeps showing errors and unusable.
@yakunats
@yakunats Жыл бұрын
Always love to see the impassioned debates generated by software paradigm comparisons.
@smart7868
@smart7868 Жыл бұрын
How that glass blackboard works and mirrored?
@solifugus
@solifugus Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 8 ай бұрын
I hardly noticed a difference setting up the two. You can get a docket container running Postgres in minutes
@nirnullz
@nirnullz 7 ай бұрын
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).
@danwallace2900
@danwallace2900 Жыл бұрын
Guys, the thumbnail has the name wrong. it is not Postgre it is Postgres or PostgreSQL
@IBMTechnology
@IBMTechnology Жыл бұрын
Good catch!
@mosesnandi
@mosesnandi Жыл бұрын
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
@frank-michaeljaeschke4798
@frank-michaeljaeschke4798 Жыл бұрын
MVCC is used by both, PostgreSQL and for example InnoDB storage engine for MySQL.
@phpnotasp
@phpnotasp Жыл бұрын
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
@fcolecumberri
@fcolecumberri Жыл бұрын
You are an IbM worker that is not talking about in4mix or db2 all day!! You are a shiny unicorn.
@kevinto8955
@kevinto8955 Жыл бұрын
Shoutout to this man for writing backwards
@IBMTechnology
@IBMTechnology Жыл бұрын
Search on "lightboard videos"
@brainforest88
@brainforest88 7 ай бұрын
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.
@thombrown
@thombrown Жыл бұрын
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 Жыл бұрын
for example MySQL does not suffer from Vacuum and double buffering
@rukekakambari4314
@rukekakambari4314 2 ай бұрын
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
@amadensor
@amadensor Жыл бұрын
We use postgresql for the power of relational and flexibility of no schema all in one platform by putting gin indexes on jsonb fields.
@practical-skills-school
@practical-skills-school Жыл бұрын
I love Supabase, which is a BAAS based on Postgres with amazing free quota and visual interface.
@coolingvexation3226
@coolingvexation3226 Жыл бұрын
Elephants are cooler than dolphins
@robinspanier7017
@robinspanier7017 Жыл бұрын
i was woundering why the video was so bad for 500k subs.. then i realized that its from ibm
@debayanroy6325
@debayanroy6325 Жыл бұрын
They should make a video on how they make their videos!! 🙂
@almirf3729
@almirf3729 10 ай бұрын
Already kzfaq.info/get/bejne/i9WqktKkq9rbZmw.html
@nv7213
@nv7213 Жыл бұрын
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
@leonie9248
@leonie9248 Жыл бұрын
Isn’t it rather a few seconds with docker?
@jorgechristophergarzasepul3209
@jorgechristophergarzasepul3209 9 ай бұрын
@@leonie9248 maybe a nonproduction database
@jreamscape
@jreamscape Жыл бұрын
I love IBM pls hire me
@rickmyers7627
@rickmyers7627 Жыл бұрын
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 8 ай бұрын
You should try it, the objects are phenomenal. You can return a row as a variable.
@TheUncannyF
@TheUncannyF Жыл бұрын
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 Жыл бұрын
Meh, you shouldn't be messing with the DB structure if you think you may need to roll back, is my opinion...
@xybersurfer
@xybersurfer 8 ай бұрын
@@HMan2828 that's way too simplistic. DB structures change all the time. no point in making the process more difficult than necessary
@vincent_sz
@vincent_sz Жыл бұрын
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 8 ай бұрын
This is so true. Postgres is far superior to MySQL.
@manit77
@manit77 Жыл бұрын
what about MariaDB, with Galera Cluster?
@coder4life
@coder4life Жыл бұрын
Thanks for this. For the newbies mentioning MariaDB in relation would have been a nice touch.
@AristoHadisoeganda
@AristoHadisoeganda Жыл бұрын
I think MariaDB shares the same values as MySQL.
@MattHudsonAtx
@MattHudsonAtx Жыл бұрын
MariaDB is barely-altered MySQL
@yuryzhuravlev2312
@yuryzhuravlev2312 Жыл бұрын
@@AristoHadisoeganda I think not anymore... they did much more recently than MySQL.
@Peter-bg1ku
@Peter-bg1ku Жыл бұрын
@@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.
@ChrisTopher-wl6pd
@ChrisTopher-wl6pd Жыл бұрын
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 8 ай бұрын
@@IBMTechnology Be sure to leave any clothing with asymmetrical writing or logos back in make-up. ;-)
@kidush4623
@kidush4623 Жыл бұрын
Facebook , KZfaq, 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.
@JoseHenrique-xg1lp
@JoseHenrique-xg1lp Жыл бұрын
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-fed-yum
@user-fed-yum 8 ай бұрын
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.
@chrissaltmarsh6777
@chrissaltmarsh6777 Жыл бұрын
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)
@gilbertardila
@gilbertardila Жыл бұрын
That was a good explanation
@sentzeu
@sentzeu 9 ай бұрын
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.
@user-lh2si7rw4p
@user-lh2si7rw4p Жыл бұрын
thank you a lot, Martin!
@chauvoluuhuong7485
@chauvoluuhuong7485 Жыл бұрын
hm...can you make some study cases to prove your meaning ?
@tnt9346
@tnt9346 Жыл бұрын
wow this guys is writing in mirror inverted fashion. mind blowing
@mmfStudent
@mmfStudent 5 ай бұрын
It's unclear why MySql is `easy to use` but Postgres doesn't....
@Abhijit-techie
@Abhijit-techie 8 ай бұрын
Thank yu i also use postgres for my enterprice application
@user-fw7ho5pj2i
@user-fw7ho5pj2i Жыл бұрын
He writes backwards. What a crazy feature of a man
@HoganLong
@HoganLong Жыл бұрын
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."
@toddfisher8248
@toddfisher8248 Жыл бұрын
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…
@WaldoTheWombat
@WaldoTheWombat 2 ай бұрын
How does his drawing thing work? I'm guessing he's not actually writing everything in reverse
@DenisKashirskiy
@DenisKashirskiy Жыл бұрын
Thank you for this quick and fun comparison video
@AGC07
@AGC07 Жыл бұрын
what about IBM's own RDBMS DB2 vs postgreSQL and mySQL?
@yuryzhuravlev2312
@yuryzhuravlev2312 Жыл бұрын
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.
@benjidaniel5595
@benjidaniel5595 9 ай бұрын
Postgresequel and JaiSON
@wce-tube
@wce-tube Жыл бұрын
...showed HIM, not HER 😂
@richardnoble7170
@richardnoble7170 Жыл бұрын
I worked for IBM for Years why not recommend DB2
@caty863
@caty863 8 ай бұрын
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!
@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]".
@learninggcn1113
@learninggcn1113 Жыл бұрын
But I still like the Mysql .
@Jared-vq4zy
@Jared-vq4zy Жыл бұрын
The biggest difference to note about MySQL is it is the only dbms I know of that allows changing the underlying storage engine. This is a underutilized feature, but a powerful one, as it allows you to highly optimize your database for your specific application. You can have everything from a Transactional database (innodb) to a simple one (MyISAM) and even memory, graph or columnstore database, even nosql style etc…You can even create your own custom storage engine completely from scratch and if it is really good people will pay you for it. There are lots of commercial storage engines as well as the built-in ones. There is also MariaDB which should always be mentioned alongside MySQL since it is newer and has more modern built in storage engines and switching to it is easy since it is a drop in replacement for MySQL. It also adds various optimizations and improvements and features.
@leonie9248
@leonie9248 Жыл бұрын
MariaDB and, with it, Galera Cluster, are actually pretty great.
@philipgwyn8091
@philipgwyn8091 Жыл бұрын
Why would anyone use MyISAM in 2023?
@AlguienEnSuCasa
@AlguienEnSuCasa Жыл бұрын
@@philipgwyn8091 There are use cases, where ACID is not important, so you can have myisam for that cases, and win a lot, myisam is while faster, even in full "table-scan" query
@henryhbk
@henryhbk Жыл бұрын
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?
@PublicApp
@PublicApp 11 ай бұрын
Actually I didn't understand difference between performance and speed. Are they different thing?
@arcanernz
@arcanernz Жыл бұрын
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
@maudrid
@maudrid Жыл бұрын
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.
@MaciejSzydlowski
@MaciejSzydlowski Жыл бұрын
Thanks for comparison! But JSON pronunciation made me squirm :)
@bastabey2652
@bastabey2652 7 ай бұрын
pgvector on PostgreSQL
@user-uy5ln9vp4x
@user-uy5ln9vp4x 10 ай бұрын
I have never heard it pronounced "Jiy-son" 😂 I've always pronounced JSON as "Jason"
@IBMTechnology
@IBMTechnology 10 ай бұрын
I say Jay-s(on).
@user-uy5ln9vp4x
@user-uy5ln9vp4x 10 ай бұрын
haha ok but have a listen to your pronunciation at 1:32. You definitely say "Jiy-son" 😂@@IBMTechnology
@robodeath
@robodeath Жыл бұрын
Wait... you're the homebrewer I follow!
@stchm9944
@stchm9944 Жыл бұрын
Just use Postgres for everything. Lolololololol
@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.
@willi1978
@willi1978 8 ай бұрын
"Master Inventor" everybody creating nonsensical titles for themselves
@ronjon7942
@ronjon7942 Жыл бұрын
How does he write backwards so quickly and accurately?
@christopheroliver148
@christopheroliver148 8 ай бұрын
The video is flipped around the y axis.
@davidkovarik483
@davidkovarik483 Жыл бұрын
Another IT guy brewing a beer 😂❤️👍
@data_dave
@data_dave Жыл бұрын
Weird how I know this guy as a homebrew guy and the database guy
@maxo.772
@maxo.772 Жыл бұрын
Noone: Me: Are you bloody writing in mirror?
@joop1991
@joop1991 10 ай бұрын
Incredible how easy he can write mirrored text 😲
@IBMTechnology
@IBMTechnology 10 ай бұрын
See ibm.biz/write-backwards
@modolief
@modolief Жыл бұрын
MySQL was really really cool ... right up until they were acquired by Oracle. RIP MySQL.
@michaeltrembovler8301
@michaeltrembovler8301 Жыл бұрын
Could you prepare video stream about CDC transactional replications in PostgreSQL .
@leafygreen3666
@leafygreen3666 Жыл бұрын
This may seem like a weird question, but are you the same guy who produces the Homebrew Challenge Channel on KZfaq?
@IBMTechnology
@IBMTechnology Жыл бұрын
Not weird at all! Indeed, Martin is the guy behind that channel: www.youtube.com/@TheHomebrewChallenge
@makelebanon1
@makelebanon1 Жыл бұрын
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
@MightyKingKala
@MightyKingKala 10 ай бұрын
this is great video thank you
@BadMemoryAccess
@BadMemoryAccess 9 ай бұрын
Wuuuut I didn't know you're also a fellow programmer, fellow brewer
@LibyaMicro
@LibyaMicro Ай бұрын
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.
@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 Жыл бұрын
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?
@MrAbhithepandey
@MrAbhithepandey Жыл бұрын
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 Жыл бұрын
Seach on "lightboard videos"
@ianmoon
@ianmoon Жыл бұрын
thank you alot really helpful i kinda got the humor😂
@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.
@shivamkumar-rv5oq
@shivamkumar-rv5oq Жыл бұрын
How he is writing backwards
@dummie-wl2dp
@dummie-wl2dp Жыл бұрын
the real question right
@konfushon
@konfushon Жыл бұрын
That was a really bad joke
@zlackbiro
@zlackbiro 9 ай бұрын
i will choose MariaDB
@IBMTechnology
@IBMTechnology 9 ай бұрын
Here's some backstory: mariadb.com/kb/en/mariadb-vs-mysql-compatibility/
@SalihGoncu
@SalihGoncu Жыл бұрын
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. :)
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
Box jumping challenge, who stepped on the trap? #FunnyFamily #PartyGames
00:31
Family Games Media
Рет қаралды 30 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 43 МЛН
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 24 МЛН
MySQL и PostgreSQL: что «под капотом» и почему это важно знать прикладному разработчику
1:01:24
Spectr — команда разработки цифровых сервисов
Рет қаралды 21 М.
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,6 МЛН
DONT USE AN ORM | Prime Reacts
25:46
ThePrimeTime
Рет қаралды 221 М.
Apache vs NGINX
7:53
IBM Technology
Рет қаралды 281 М.
PostgreSQL CRASH COURSE - Learn PostgreSQL in 2024
50:26
Troy Amelotte
Рет қаралды 218 М.
Roadmap for Learning SQL
4:52
ByteByteGo
Рет қаралды 357 М.
Database vs Data Warehouse vs Data Lake | What is the Difference?
5:22
Alex The Analyst
Рет қаралды 764 М.