Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Good Morning

Good Morning

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
57 Posts 31 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • lime@feddit.nuL [email protected]

    pg can actually query into json fields!

    D This user is from outside of this forum
    D This user is from outside of this forum
    [email protected]
    wrote last edited by
    #47

    Mysql can too, slow af tho.

    lime@feddit.nuL 1 Reply Last reply
    2
    • O [email protected]

      I usually tell people running MySQL that they would probably be better off using a NoSQL key-value store, SQLite, or PostgreSQL, in that order. Most people using MySQL don't actually need an RDBMS. MySQL occupies this weird niche of being optimised for mostly reads, not a lot of concurrency and cosplaying as a proper database while being incompatible with SQL standards.

      L This user is from outside of this forum
      L This user is from outside of this forum
      [email protected]
      wrote last edited by
      #48

      incompatible with SQL standards.

      Wait... Wait a minute, is that Oracle's entrance music‽

      1 Reply Last reply
      4
      • D [email protected]

        Mysql can too, slow af tho.

        lime@feddit.nuL This user is from outside of this forum
        lime@feddit.nuL This user is from outside of this forum
        [email protected]
        wrote last edited by
        #49

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

        D 1 Reply Last reply
        3
        • lime@feddit.nuL [email protected]

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

          D This user is from outside of this forum
          D This user is from outside of this forum
          [email protected]
          wrote last edited by
          #50

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

          1 Reply Last reply
          0
          • A [email protected]

            Or portable like on a USB stick that you can put in any computer instead of installed on a single system.

            M This user is from outside of this forum
            M This user is from outside of this forum
            [email protected]
            wrote last edited by
            #51

            Either way, the funny thing is that Postgres can do both too. You may not want to use it for those, but you absolutely can.

            1 Reply Last reply
            0
            • T [email protected]

              Kind of. I hope you don't like performance...

              J This user is from outside of this forum
              J This user is from outside of this forum
              [email protected]
              wrote last edited by
              #52

              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.

              T 1 Reply Last reply
              0
              • J [email protected]

                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.

                T This user is from outside of this forum
                T This user is from outside of this forum
                [email protected]
                wrote last edited by
                #53

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

                1 Reply Last reply
                1
                • cm0002@lemmy.worldC [email protected]

                  It isn't pronounceable as a word, it is an initialism because the letters that compromise it do not allow it to be pronounced as a word. Unlike something like NASA which is a full blown acronym because it can be pronounced

                  Do you say hetips for HTTPS?

                  The sequel thing didn't even start naturally, it picked up this sequel moniker because of some ancient trademark beef in the 70s between the original devs when it was named "Sequel" and some company (That isn't even in business anymore)

                  They renamed it SQL and out of protest against the company people continued to call it sequel even though it makes no sense and 50 damn years later here we are. Everybody involved with direct involvement is probably dead or longggg since retired. It wasn't termed because it was easier to say and it sure as hell wasn't termed because its proper.

                  If it was originally called SQL and the above never happened, I guarantee it would just be another DNS or HTTP and many many pointless debates about it would have never happened

                  Disclaimer, this doesn't apply to the MS product that is called sequel

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #54

                  Do you say hetips for HTTPS?

                  No but now I want to start (though I'd go hittips instead, and its insecure alternative, hittip). HTTPS has always been a mouthful lol

                  1 Reply Last reply
                  1
                  • T [email protected]

                    Kind of. I hope you don't like performance...

                    T This user is from outside of this forum
                    T This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #55

                    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!

                    1 Reply Last reply
                    0
                    • M [email protected]

                      This is literally me at every possible discussion regarding any other RDBMS.

                      My coworkers joked that I got paid for promoting Postgres.

                      Then we switched from Percona to Patroni and everyone agreed that... fuck yes, PostgreSQL is the best.

                      O This user is from outside of this forum
                      O This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #56

                      Sure, once you make the move it’s great. It’s just that it takes time and resources to actually make the move

                      M 1 Reply Last reply
                      0
                      • O [email protected]

                        Sure, once you make the move it’s great. It’s just that it takes time and resources to actually make the move

                        M This user is from outside of this forum
                        M This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #57

                        I mean, with mysql_fwd, I migrated the data quickly, and apart from manual 'on duplicate update' queries (or rare force index) it works the same.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups