Lemmy.eus
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 months ago

Who needs MongoDB when you have JSONB?

lemmy.world

external-link
message-square
58
fedilink
317
external-link

Who needs MongoDB when you have JSONB?

lemmy.world

qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 months ago
message-square
58
fedilink
  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    71
    ·
    2 months ago

    “You know what ELSE everybody likes? Postgres! Have you ever met a person, you say, ‘Let’s use some Postgres,’ they say, ‘Hell no, I don’t like Postgres’? Postgres is perfect!”

    • The Bard in Green@lemmy.starlightkel.xyz
      link
      fedilink
      arrow-up
      33
      ·
      2 months ago

      Yeah! Postgres is great!

      • Mutters something under his breath about MariaDB.
      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        15
        ·
        2 months ago

        MariaDB

        Let’s schedule a meet-up at 00/00 year 0000 to talk about it.

      • somerandomperson@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        2 months ago

        elephant walks in

    • RustyNova@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      2 months ago

      I 100% agree… If you don’t need portable databases. For those, everybody like SQLite (even if it can be annoying sometimes)

      • wetbeardhairs@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        You can pry sqlite out of my cold dead hands. Because I’ll probably die while using it out of frustration due to the poor performance of triggers.

        • RustyNova@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          Tbh trigger performance isn’t that much of a concern unless you need to write lots of data, which most usage don’t need.

          Also try check statements instead or even re-evaluate your schema to prevent them if you really need to.

          Personally my death would be multiple write transaction deadlocks. Sadly it doesn’t play that well with async code, like with sqlx (rust).

          • tatterdemalion@programming.dev
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 months ago

            My death was the fact that table lock acquisition is not FIFO.

            https://sqlite.org/forum/forumpost/8d7d253df1b9811b4b76c2c4c26ac0740e73d06e9edfeb2ab8aabaebd899cbc8

            Thankfully I can at least have FIFO in a single process by wrapping every write transaction in a mutex.

            P.S. can’t wait for turso’s SQLite replacement to have feature-parity and sqlx support.

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 5.31K users / day
  • 5.31K users / week
  • 5.41K users / month
  • 17.5K users / 6 months
  • 3 local subscribers
  • 27.2K subscribers
  • 1.64K Posts
  • 37.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org