• tyfon@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        6 hours ago

        I have used libre office base and found it’s buggy mess.

        1. Not all drivers support all functions, so if you are wondering why some options are not present it’s probably adapter not supporting it.
        2. Errors and help are usually empty or super generic like ‘syntax incorrect’.
        3. Interface sometimes bugs out when long syntax is present in input fields
        4. Because of 1. It also doesn’t support all syntax from Microsoft SQL, MySQL etc.

        I sugest to use dbbever for any DB, it’s different but at least it’s not a buggy mess. Or pgAdmin for Postgresql. Or DB Browser for SQLite

  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    53
    ·
    21 hours 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!”

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    23
    arrow-down
    1
    ·
    20 hours ago

    Just use Mongo, it scales so well!

    Never understood why anyone chose Mongo. Though I have some funny memories getting rid of it because it was slowing the app down sooo much.

    If you need something for storing JSONs and querying, just use ElasticSearch/OpenSearch.

    • Venator@lemmy.nz
      link
      fedilink
      arrow-up
      2
      ·
      6 hours ago

      Or add a column next to the json with some data about the json and index that.

    • NigelFrobisher@aussie.zone
      link
      fedilink
      arrow-up
      9
      ·
      20 hours ago

      Oh god, all the people storing massive JSON documents, and then having to lock the whole thing to modify sub-entities.

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      16 hours ago

      used OpenSearch in a recent project, but the number of annoyances with it are through the roof. From SSL certs setup to bad defaults in settings, and the fact it does type inference for indices requiring you to manually recreate the index, and the docker container that takes 30s to start every time…

      If you can use mongo, just use that. Or pick something other than OpenSearch if that’s overkill for you.

    • Mirror Giraffe@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      18 hours ago

      Where I work we use mongo, it’s not what I would’ve picked but i guess it helped early dev speed and bad practices like having productus do direct db edits to save a situation because the app isn’t mature yet.

      By now when collections are getting huge and documents as well we’ve had to archive more and more recent data, which causes problems, and we have to really make sure our queries are sharp or cost and lag will go through the roof.

      With that said, it actually works pretty ok for a production platform with quite a big customer base, and there are many improvements we could do if we had the time.

      If I were there at day one I’d have rooted for sql, mainly based on how much these different collections have to relate, but I don’t think mongo is as horrible as many people make it out to be and it does have upsides.

    • Flamekebab@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      18 hours ago

      I’ve used it for one small project and quite liked it. I struggle with the concepts behind relational databases and Mongo’s approach was understandable for me.

  • Psaldorn@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    20 hours ago

    Had to roll my own JSON storage system after spending weeks trying to get sqlite to work on Godot/android.

    It took a day and will suck at scale because there are no indexes. It just goes through the whole file, line by line when you search for an id.

    BUT IT WORKS.

    Hopefully the repos and stuff I piled on top have made it abstract able enough I can move it to a real database if the issue ever gets resolved.

    • fxdave@lemmy.ml
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      19 hours ago

      That’s not the point of JSONB. Use normalized tables whenever you can. JSONB allows you to store a document with unknown structure, and it allows you to access that data within SQL.

      • Simulation6@sopuli.xyz
        link
        fedilink
        arrow-up
        2
        ·
        18 hours ago

        I probably have just run into a bad example of its use. I can see it being useful for unknown documents.

    • jubilationtcornpone@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      15 hours ago

      I run a web app that processes at least one third party JSON document that is so large it would exceed the table column limit if flattened out. It gets stored in a JSONB column. EFCore with Npgsql can query JSON documents in Postgres. Works just fine as long as you put indexes on the fields you’re going to be querying.

    • Slotos@feddit.nl
      link
      fedilink
      arrow-up
      2
      ·
      19 hours ago

      I can’t muster any sarcasm out of sheer disappointment. You win this time…