• Derpgon
      link
      fedilink
      101 month ago

      Mysql / Mari can handle it too! Just use BLOB 🤣

      • lime!
        link
        fedilink
        English
        261 month ago

        pg can actually query into json fields!

            • The performance is actually not bad. You’re far better off using conventional columns but in the one off cases where you have to store queryable JSON data, it actually performs quite well.

              • @Tja@programming.dev
                link
                fedilink
                21 month ago

                Quite well is very subjective. It’s much slower than columns or specialized databases like MongoDB.

            • @Tanoh@lemmy.world
              link
              fedilink
              11 month ago

              Sure, if you use a field often it is most likely better to extract it into a column with auto-updates from the JSON data.

              But you have to tune it and see what is best for your use case. Just saying that you can add indexes to JSON fields as well!

          • lime!
            link
            fedilink
            English
            31 month ago

            oh i didn’t know that. iirc postgres easily beats mongo in json performance which is a bit embarrassing.

            • Derpgon
              link
              fedilink
              11 month ago

              Holy, never knew, and never would expect. Postgres truly is king.