schlunker
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days ago

Good Morning

lemmy.ml

message-square
56
fedilink
776

Good Morning

lemmy.ml

cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days ago
message-square
56
fedilink
  • Derpgon@programming.dev
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 day ago

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

    • lime!@feddit.nu
      link
      fedilink
      English
      arrow-up
      27
      ·
      1 day ago

      pg can actually query into json fields!

      • Tanoh@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        1 day ago

        And you can add indexes on those JSON fields too!

        • Tja@programming.dev
          link
          fedilink
          arrow-up
          6
          ·
          1 day ago

          Kind of. I hope you don’t like performance…

          • Tanoh@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            7 hours 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!

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

            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
              arrow-up
              2
              ·
              15 hours ago

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

      • Derpgon@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

        Mysql can too, slow af tho.

        • lime!@feddit.nu
          link
          fedilink
          English
          arrow-up
          4
          ·
          22 hours ago

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

          • Derpgon@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            19 hours ago

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

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.

  • 1.9K users / day
  • 4.25K users / week
  • 7.82K users / month
  • 20.2K users / 6 months
  • 1 local subscriber
  • 25.1K subscribers
  • 1.58K Posts
  • 58.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org