• SneakyWeasel@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    53 分钟前

    Wamp anyone? (I think thats what its called, im at work and cant check my pc) Or am i the odd one out.

        • msage@programming.dev
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 小时前

          What do you mean?

          Stop DB, run pg_upgrade, start it, win?

          Or set up logical replication into newer version, wait for sync, test use-cases, switch write?

          Where do you get better experience?

  • 800XL@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    10 小时前

    What year is this? No one should be using Mysql since MariaDB came about.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    37
    ·
    11 小时前

    If you don’t want to use postgresql for some obscure reason use MariaDB real open source MySQL drop in replacement.

    • lechekaflan@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      46 分钟前

      Older people about to return to programming, and most of the online tutorials they have are about 20 years old, having no idea an alternative exists.

  • melfie@lemy.lol
    link
    fedilink
    English
    arrow-up
    48
    ·
    edit-2
    17 小时前

    Oracle sees itself as an activist organization, one whose goal is the advancement of the Israeli colonization project. Safra Catz, the company’s Israeli-American CEO, bluntly explained that any employees uncomfortable with supporting a genocide should simply quit. “We are not flexible regarding our mission, and our commitment to Israel is second to none” (source)

    Hmm, MySQL or PostgreSQL—how will we ever decide which one to pick.

    • skisnow@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 小时前

      wow, I didn’t need any more reasons not to support Oracle but thanks anyway

  • Jo Miran@lemmy.ml
    link
    fedilink
    English
    arrow-up
    176
    ·
    21 小时前

    MySQL belongs to Oracle. That’s literally all you need to.know in order to avoid it.

    • anomnom@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      7
      ·
      16 小时前

      Isn’t that the point of Postgresql. It’s basically an open source version of MySQL.

      I’m sure there are some proprietary nonsense that MySQL has, but I’ve never needed it in 17 years

      • Jajcus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        12
        ·
        6 小时前

        That is an insult to PostgreSQL. PostgreSQL was fully featured relational database even before it implemented SQL. It started much earlier tha MySQL.

        And MySQL didn’t have proper transactions or data integrity constraints (including foreign keys) for long time, while calling itself an ‘SQL database’.

        • anomnom@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 小时前

          Thank you, I never had time to read up on its history when I was busy smashing out sites on stupid deadlines with constant last minute changes and morons for project managers.

      • sobchak@programming.dev
        link
        fedilink
        English
        arrow-up
        24
        ·
        15 小时前

        Postgres is basically an open source version of Oracle DB. Much more featureful than MySQL. I believe Oracle bought MySQL just to kill it.

        • msage@programming.dev
          link
          fedilink
          English
          arrow-up
          10
          ·
          9 小时前

          MySQL always sucked ass.

          PostgreSQL went in a different direction, started with best support of the SQL standard, then optimized everything to make it fast.

          Postgres has/had the best SQL standard support out of every server, open-source or not.

          MySQL was at the other end, only started catching up after Oracle bought it.

    • Psythik@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      43
      ·
      edit-2
      20 小时前

      I can’t keep track of all this shit we’ve canceled. The hell did Oracle do?

      • 0x0@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 小时前

        The hell did Oracle do?

        Have you been living under a rock? Think 2010 for starters…

      • Jo Miran@lemmy.ml
        link
        fedilink
        English
        arrow-up
        83
        ·
        20 小时前

        Hatred of Oracle predates “cancelling” by decades. Oracle is and has always been one of, if not the most disgusting and vicious companies in tech. They kill everything they touch.

        If you need a political component, then Oracle = Larry Ellison, but Oracle hate predates and supercedes the American political slide into fascism.

        • s38b35M5@lemmy.world
          link
          fedilink
          English
          arrow-up
          24
          ·
          edit-2
          18 小时前

          I was at a party about fifteen years ago. A guy introduced himself and we gabbed for a few minutes. Then he asked what I do for work (IT sysadmin at the time) and I told him and asked the same. He said he was in sales for a tech company. I asked which one, and he stepped close and whispered, “Oracle.” I could see he was prepared for me to bring the hate. He saved himself when he told me he was actually leaving for a gig at Dell. Later, I learned from the host that he made that part about leaving up because he felt bad. I later learned he went to work for Nutanix. Poor guy hated his own employer, and it was obvious.

          • Jo Miran@lemmy.ml
            link
            fedilink
            English
            arrow-up
            14
            ·
            18 小时前

            Nutanix…oof. I deal with them every day. It isn’t their fault their shit can’t handle what we do, but it is their sales folk that constantly lie and misrepresent.

            Wanna know one of rhe big reasons people hate Oracle so much? It’s their sales guys. They are awful. If that guy went from Oracle to Nutanix, that tells me that I cannot trust a single syllable out of their mouth.

            • 0x0@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 小时前

              their sales folk that constantly lie and misrepresent.

              So… your average sales folk?

            • frongt@lemmy.zip
              link
              fedilink
              English
              arrow-up
              9
              ·
              17 小时前

              Sales? No, their sales department is second to their legal department in hate.

            • s38b35M5@lemmy.world
              link
              fedilink
              English
              arrow-up
              8
              ·
              18 小时前

              Lol! I’m glad you picked on that. I won’t badmouth them, but the user experience does that for them. That guy from the party must hate himself, haha

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        43
        ·
        20 小时前

        When they bought Sun, they:

        • killed Solaris, effectively
        • tried to kill zfs too
        • nearly killed mysql with licensing audits
        • became borderline evil with licensing practices
        • acted like complete assholes in court, holding up cases for years
        • dukatos@lemmy.zip
          link
          fedilink
          English
          arrow-up
          8
          ·
          7 小时前

          You forgot what they did to Java, plus they sued Google for using Java API.

        • AnUnusualRelic@lemmy.world
          link
          fedilink
          English
          arrow-up
          22
          ·
          18 小时前

          Sun was such a useful contributor to the ecosystem and they fucking trashed absolutely everything. It’s a miracle that so much stuff could be saved.

      • forrgott@lemmy.zip
        link
        fedilink
        English
        arrow-up
        14
        arrow-down
        2
        ·
        18 小时前

        Why would you keep track? Can’t form your own opinions?!

        And what the fuck hasn’t Oracle done? Like, seriously, they’ve been a known bad actor for literally decades now…

        • Psythik@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          6
          ·
          edit-2
          17 小时前

          I’m sorry I don’t follow this company’s actions as closely as you do. I can’t even remember the last time I used Oracle-branded software. (Unless you count MySQL, which I’ve never had an issue with. It just works.)

        • Psythik@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          9
          ·
          20 小时前

          Oh so it’s a greed thing, but not quite a Nestlé level of evil thing, then. Meh.

            • azertyfun@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              4
              ·
              17 小时前

              I mean, Nestlé killed hundreds of thousands in impoverished countries. I think the Oracle service APIs can’t be that bad, though I’m sure they would be if it made Larry Ellison $50.

              • 0x0@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                5 小时前

                Can you elaborate on Nestlé?
                I know they’re shit and avoid anything Nes* but am unaware of actual data.

                • badgermurphy@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  4 小时前

                  They ware widely regarded as among the most villainous companies in history along with DeBeers and the East India Trading Company. Among their more infamous crimes against humanity include bribing the leaders of developing nations to sign over water rights to aquifers their people are using, which they take completely for bottling, destroying the local ecosystem and population. When the malnourished mothers can’t produce milk to feed their babies, they say things like “use our baby formula instead then, which is much healthier than natural milk”. If there’s not already a Behind he Bastards on them, someone could make a whole podcast just on their villainy.

      • fizzle@quokk.au
        link
        fedilink
        English
        arrow-up
        5
        ·
        20 小时前

        I don’t know the actual reason, but I personally get a bad vibe every time I see the logo because usually it means I’m trying to install or fix some java bullshit, which never goes well.

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          34
          ·
          edit-2
          19 小时前

          SQLite is underrated. I’ve used it for high traffic systems with no issues. If your system has a large number of readers and a small number of writers, it performs very well. It’s not as good for high-concurrency write-heavy use cases, but that’s not common (most apps read far more than they write).

          My use case was a DB that was created during the build process, then read on every page load.

            • dan@upvote.au
              link
              fedilink
              English
              arrow-up
              11
              ·
              edit-2
              15 小时前

              One of SQLite’s recommended use cases is as an alternate to proprietary binary formats: https://sqlite.org/appfileformat.html. Programs often store data in binary files for performance, but you get a lot of the same functionality included with SQLite (fast random access, concurrent usage, atomicity, updates that don’t need to rewrite the whole file, etc) without having to implement a file format yourself.

              I’m not sure if this is still the case, but Facebook’a HHVM used to store the compiled bytecode for the whole site in a single SQLite database: https://docs.hhvm.com/docs/hhvm/advanced-usage/repo-authoritative/. Every pageload loaded the bytecode for all required files from the DB.

        • alibloke@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          10 小时前

          The corporation was bought by k1 capital. The foundation and therefore the open source version will always be free

        • FackCurs@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          arrow-down
          1
          ·
          15 小时前

          Oh no… it was the easy solution for Wordpress and other plug and play self hosted services .

  • MrSoup@lemmy.zip
    link
    fedilink
    English
    arrow-up
    48
    arrow-down
    2
    ·
    edit-2
    22 小时前

    MariaDB >>>

    I’ve been using it since ever on my rpi because they say it’s easier on resources

    • YurkshireLad@lemmy.ca
      link
      fedilink
      English
      arrow-up
      13
      ·
      21 小时前

      Who are “they”?

      We use MariaDB at work but I don’t know why it was originally chosen over PostgreSQL, as that was before my time.

    • 0_o7@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 小时前

      If you’re constrained by resources (CPU/RAM).

      There’s a reason most web hosts usually have mariadb and not postgres.

    • Wispy2891@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 小时前

      Maybe that once every 2 years when you upgrade to major version it does it automatically? You save 15 mins every 2 years?

    • kumi@feddit.online
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      edit-2
      15 小时前

      Operating and securing Postgres is a steeper learning curve. MariaDB is more forgiving for best-effort shoestring setups without compensating scalability for it.

      As a dev I’m agnostic, as an owner and computer scientiest I prefer Postgres, as a sysadmin or *Ops I will put my hand up for MariaDB any day if I’ll be on call or maintain deployments.

      • msage@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 小时前

        Is Maria that much better than MySQL?

        Cause that one is absolute shit, very difficult to maintain, and requires lots of config changes and even replicas can disconnect when something’s not 100% ok.

        I will take Postgres over any other DB any day of the week.

    • Rikj000@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      13
      arrow-down
      4
      ·
      21 小时前

      Yeah,
      I did a speed test comparison between Oracle MySQL and MariaDB MySQL,
      MariaDB is about 10 times faster.

      FYI: When Oracle bought MySQL a lot of developers left and created MariaDB, so the brains behind the project moved, and in the meantime Oracle did a great job of fucking things up.

    • Roguelazer@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      edit-2
      21 小时前

      MySQL often has moderately higher performance (particularly for workloads where you want your data clustered by PK, which is how InnoDB is natively structured) and its replication system is much more flexible than either of PostgreSQL’s. I like Percona personally, but MariaDB is fine too.

      • msage@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        9 小时前

        Is it true?

        Postgres with correct fillfactor, it doesn’t create new pages and works very fast.

        Replication in MySQL always sucked ass, only received synchronous replication in some new edition, and that also didn’t sound great.

        Postgres has logstream and logical replication, both of them can be set to various levels of synchronicity, and logical replication is configurable at least as well as MySQL is in terms of which data is sent.

    • illusionist@lemmy.zip
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      2
      ·
      22 小时前

      Depends on the task but for general usage there is no big difference. You would choose one over the other if you need one for work.