MySQL is having a bumpy journey

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

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

  • @hnasr
    @hnasr  3 месяца назад +4

    Brush up your database fundamentals databases.win

  • @voikalternos
    @voikalternos 2 месяца назад +44

    Unironically, the 2018->2014 in the thumbnail made me click the video

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

      Me too.

    • @saiphaneeshk.h.5482
      @saiphaneeshk.h.5482 2 месяца назад +1

      I was confused for a moment, too

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

      I thought it was a clickbait thumbnail, but fortunately just a typo.

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

      I thought it would have some deeper meaning 😂

    • @hnasr
      @hnasr  2 месяца назад +8

      ops , fixed it. Hopefully that doesn't lower the clickthrough rate haha

  • @johnswanson217
    @johnswanson217 2 месяца назад +23

    That's called "The Oracle disease"

  • @EdmondDantèsDE
    @EdmondDantèsDE 2 месяца назад +26

    Aren't the MariaDB devs the original MySQL devs?

    • @hnasr
      @hnasr  2 месяца назад +15

      correct they went their own way after Oracle got involved with MySQL

    • @Antebios
      @Antebios 2 месяца назад +6

      Yep, that's why I use MariaDB.

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

      Yep, that's true.

  • @_prothegee
    @_prothegee 2 месяца назад +11

    Nahh.. I don't use dolphin when knew the elephant has array type and has better uuid

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

    I enjoy your podcasts so much. You have no idea how much I have learnt from you. Thank you so much.

  • @AjithkumarSekar
    @AjithkumarSekar 2 месяца назад +11

    I think you have mistakenly mentioned 2014 instead of 2024 in thumbnail :D

  • @JohnSurgey
    @JohnSurgey 2 месяца назад +9

    10k tables? you need to think again

    • @ConsuelaPlaysRS
      @ConsuelaPlaysRS 7 дней назад

      Old company of mine was handling multi-tenancy at a schema level i.e. each new tenant got their own schema with like 50 tables. It sucks but it's a legit pattern.

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

    The Oracle Vogons announced: "Your MySQL has been scheduled for demolition. We have no mercy at all."

  • @akshay-kumar-007
    @akshay-kumar-007 2 месяца назад +4

    AWS RDS uses My SQL 8.0 by default for new databases. Also looking at there announcement it doesn't look like they are keen on supporting 5.7 for a long time.

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

      5.7 has been dead for 4 years. That's a pretty long time already to keep supporting dead software.

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

    I can't imagine a case where I'd be running a site and assuming just a single DB query per user, an absurd assumption, where I'd go... 3 users per second, yeah that's good enough. Like WTF.

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

    Please make a video about multi-tenant database design and how to shard it. It would be very informative. I chose MySQL over PostgreSQL because it seems it can be sharded via Vitess, whereas there isn't a good, battle-tested sharding solution for PostgreSQL.

    • @Patrickdaawsome
      @Patrickdaawsome 2 месяца назад +4

      If you’re building that for a learning experience, you can use Citus a Postgres extension.
      If you’re prematurely optimizing, don’t shard, lots of unnecessary headache there.
      If you absolutely need for it a business need in this moment, and want to elaborate on business goal(s), technical goal(s), and current setup I can be more helpful.
      Vertical sharding, horizontal sharding, diff ways of determing how/where to shard etc

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

      @@Patrickdaawsome well, I actually need it for production. I have a mysql database with +300GB data and eventually in some point, i have to horizontally shard it. there is no way to escape.

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

      @@erfanium Vitess is not for you. With only 300GB of data, Vitess is overkill and will frustrate you more than you can imagine. For multi-tenant, you need to look at functional partitioning where you move specific databases/schemas to other servers. (Ex. Customer DBs 1, 2, 3 on server A, DBs 4, 5,6 on server B, etc)

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

      @@phpnotasp it sounds like creating a vitess at home to me.

  • @hallkbrdz
    @hallkbrdz 2 месяца назад +5

    Why would anyone use MySQL over Postgres? What is your use-case that shows it to be better?

    • @Y-JA
      @Y-JA 2 месяца назад +3

      For Vitess

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

      @@Y-JA Speed in doing what?
      Note that I am a DBA, although I've worked mostly with Oracle, SQL Server, HANA, and some Postgres (mostly with PostGIS). I'm curious what modern use-case there is for MySQL over alternatives.

    • @Y-JA
      @Y-JA 2 месяца назад

      @@hallkbrdz No, not speed. Vitess. The database clustering system for MySQL built by RUclips.

    • @Y-JA
      @Y-JA 2 месяца назад

      @@hallkbrdz Vitess is a database clustering system.

    • @akshay-kumar-007
      @akshay-kumar-007 2 месяца назад +2

      Read heavy operations in MySQL are faster compared to Postgres. I guess this is because it uses row level locks and query cache(which disabled now my deafult now though as per video).
      Also, MySQL has been around for way longer and many people started their dev journey with something like LAMP, and are well versed with MySQL.

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

    Is the case of oracle degrading it's performance intentionally?

  • @EdmondDantèsDE
    @EdmondDantèsDE 2 месяца назад +3

    10000 tables is not a lot? Seems like a lot to me. 😅

    • @sad_man_no_talent
      @sad_man_no_talent 2 месяца назад +3

      bruh that's nothing

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

      u sounds like a noob

    • @EdmondDantèsDE
      @EdmondDantèsDE 2 месяца назад

      @@sad_man_no_talent how is that nothing and what's the use case for that?

    • @johnyepthomi892
      @johnyepthomi892 2 месяца назад +3

      It’s not a lot, but yes it’s not little, that’s why they test it with such a number. If the tests sucks at this, you know it’s bad.

    • @akshay-kumar-007
      @akshay-kumar-007 2 месяца назад

      I think you can still get memory leaks with a lower number. Just that with 10K tables, the time will be less.
      TBH even I haven't seen more than 500 tables in my short professional career of 3 years so far.

  • @sad_man_no_talent
    @sad_man_no_talent 2 месяца назад +5

    I hate mysquel and I LOVE postgr squel

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

    they want you to use mysql heatwave and move to their OCI

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

    I thought MariaDB was MySQL. That is how much I pay attention to dbs...

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

      They are basically the same database. MySQL is too big to bother fixing when postgres already works.

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

      Don't say that to a MariaDB employee. They are adamant that MariaDB is not MySQL. They forked MySQL and are now their own thing.

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

    the course is really good, a lot of details

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

    The situation is worse than u depict. 28 - 36 is a disaster. 1st good release in that series was 37. All this focus on innodb cluster is crap. They need a totally different concept for the storage, like Aurora.

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

      In case you didn't know, Aurora is just a fork of the InnoDB engine with redo logging replaced with DRBD.

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

      ​@@phpnotasp I work with Aurora and MySQL RDS, so I know that is simply not true. The compatibility layer is an innodb fork but the the Aurora storage system is a completely different beast than GP2/3 LVM / EBS. From what I have seen from their presentation and the results I get back, the storage system is some sort of hash pool based on dynamodb nodes. It's way more efficient and on larger data sets its cheaper. A lot cheaper than other the RDS options.

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

    Watch Anton Putra's benchmark video.

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

    I've only used MySQL,

  • @MrJfergs
    @MrJfergs 2 месяца назад +3

    I don't see why someone would use MYSQL vs Postgres. I learned the basics of MYSQL first but the knowledge is somewhat transferable to other relational DB's. I am not a DB expert by any means so I may be incorrect I just don't see the reason to make that choice technically.

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

      Vacuum still sucks ahahahahaha

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

    Informative

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

      Bruh u didn't even finish the video

  • @xtan-io
    @xtan-io 2 месяца назад +1

    F Microsoft and their products

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

    MariaDB + galera cluster.

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

    MongoDB 8 released week ago

  • @ИванРагозин-я8я
    @ИванРагозин-я8я 2 месяца назад

    sqlite the best