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
Code Project
  1. Home
  2. The Lounge
  3. No Sql

No Sql

Scheduled Pinned Locked Moved The Lounge
databasemongodbcom
20 Posts 8 Posters 0 Views 1 Watching
  • 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.
  • H Offline
    H Offline
    hayrob
    wrote on last edited by
    #1

    As a bemused Relational DB oik, I have noted the emergence of No Sql and not really made sense of it (apart from the obvious - no sql!). This http://martinfowler.com/articles/nosql-intro.pdf[^] has made me better informed. Might be helpful for you too.

    R OriginalGriffO K C 4 Replies Last reply
    0
    • H hayrob

      As a bemused Relational DB oik, I have noted the emergence of No Sql and not really made sense of it (apart from the obvious - no sql!). This http://martinfowler.com/articles/nosql-intro.pdf[^] has made me better informed. Might be helpful for you too.

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #2

      I don't get the concept, and honestly, the pdf does not help. Does NoSQL simply mean, I store my data in a hierarchical manner, not in tables ? As in an xml file, for instance (and if we oversimplify) ?

      J 1 Reply Last reply
      0
      • H hayrob

        As a bemused Relational DB oik, I have noted the emergence of No Sql and not really made sense of it (apart from the obvious - no sql!). This http://martinfowler.com/articles/nosql-intro.pdf[^] has made me better informed. Might be helpful for you too.

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        I got to page four (with my eyes propped open, I hope he speaks better than he writes, that is a dull way to introduce a topic) and meth this:

        they don’t have a fixed schema, allowing you to store any data in any record

        At which point I lost all interest. One of the reasons I like C# is strong typing! Weak typing (presumably with automatic data conversion) is a PITA... What idiots Q&A questioners the inexperienced could do with a completely variable record doesn't bear thinking about.

        Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        R J C 3 Replies Last reply
        0
        • R Rage

          I don't get the concept, and honestly, the pdf does not help. Does NoSQL simply mean, I store my data in a hierarchical manner, not in tables ? As in an xml file, for instance (and if we oversimplify) ?

          J Offline
          J Offline
          Jorgen Andersson
          wrote on last edited by
          #4

          There is no concept really, and there lies the problem, it's just a collective name for the databases that doesn't fit into the rdbms description.

          Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

          R 1 Reply Last reply
          0
          • J Jorgen Andersson

            There is no concept really, and there lies the problem, it's just a collective name for the databases that doesn't fit into the rdbms description.

            Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #5

            I find it fascinating though that Google or Amazon would go for something not relational. I was quite convinced that relational database would be THE ultimate scalable solution. I was obviously all wrong.

            J 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              I got to page four (with my eyes propped open, I hope he speaks better than he writes, that is a dull way to introduce a topic) and meth this:

              they don’t have a fixed schema, allowing you to store any data in any record

              At which point I lost all interest. One of the reasons I like C# is strong typing! Weak typing (presumably with automatic data conversion) is a PITA... What idiots Q&A questioners the inexperienced could do with a completely variable record doesn't bear thinking about.

              Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

              R Offline
              R Offline
              Rage
              wrote on last edited by
              #6

              I think it is like most powerful tools : used properly, they can be kept quite simple, but the users have to be aware of what they do. Making a tool idiot-proof usually comes with all sort of unnecessary (To the experienced) limitations.

              OriginalGriffO 1 Reply Last reply
              0
              • R Rage

                I find it fascinating though that Google or Amazon would go for something not relational. I was quite convinced that relational database would be THE ultimate scalable solution. I was obviously all wrong.

                J Offline
                J Offline
                Jorgen Andersson
                wrote on last edited by
                #7

                A relational database as a shelf product, made for any general use, and therefore not optimized for specific needs. What Google and Amazon has made is a tailored database for their own purposes. NoSql is nothing for the small company, in my own very biased opinion.

                Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                R 1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  I got to page four (with my eyes propped open, I hope he speaks better than he writes, that is a dull way to introduce a topic) and meth this:

                  they don’t have a fixed schema, allowing you to store any data in any record

                  At which point I lost all interest. One of the reasons I like C# is strong typing! Weak typing (presumably with automatic data conversion) is a PITA... What idiots Q&A questioners the inexperienced could do with a completely variable record doesn't bear thinking about.

                  Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #8

                  Think of it (oversimplified) as a hashtable.

                  Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                  1 Reply Last reply
                  0
                  • J Jorgen Andersson

                    A relational database as a shelf product, made for any general use, and therefore not optimized for specific needs. What Google and Amazon has made is a tailored database for their own purposes. NoSql is nothing for the small company, in my own very biased opinion.

                    Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                    R Offline
                    R Offline
                    Rage
                    wrote on last edited by
                    #9

                    Jörgen Andersson wrote:

                    oSql is nothing for the small company, in my own very biased opinion

                    Not sure: I developed some xml-based database app in my previous small company. Anything including relational database would have been over-engineered.

                    J 1 Reply Last reply
                    0
                    • R Rage

                      Jörgen Andersson wrote:

                      oSql is nothing for the small company, in my own very biased opinion

                      Not sure: I developed some xml-based database app in my previous small company. Anything including relational database would have been over-engineered.

                      J Offline
                      J Offline
                      Jorgen Andersson
                      wrote on last edited by
                      #10

                      Rage wrote:

                      xml-based database app

                      :wtf: That sentence gave me the creeps. It must have been an extremely small db, as performance would have been abysmal otherwise. I wouldn't use xml for anything bigger than defining a menu. (I have admittedly used it for exports though :sigh: )

                      Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                      R 1 Reply Last reply
                      0
                      • R Rage

                        I think it is like most powerful tools : used properly, they can be kept quite simple, but the users have to be aware of what they do. Making a tool idiot-proof usually comes with all sort of unnecessary (To the experienced) limitations.

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #11

                        Even for the experienced, those limitations are there for a reason. They catch errors, as well as restricting your design. How many times have you been told by the compiler that you "can't assign this to that" because you forgot the ".Text" property on the end? Or the braces that make it a method call, instead of a delegate reference? And don't forget, there are a lot more inexperienced people designing on the "hope and pray it works" principle than experienced doing it properly. If they get away with it on a small project they use it on a big one. Then you or I have top clean up the mess when they leave...

                        Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        1 Reply Last reply
                        0
                        • J Jorgen Andersson

                          Rage wrote:

                          xml-based database app

                          :wtf: That sentence gave me the creeps. It must have been an extremely small db, as performance would have been abysmal otherwise. I wouldn't use xml for anything bigger than defining a menu. (I have admittedly used it for exports though :sigh: )

                          Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                          R Offline
                          R Offline
                          Rage
                          wrote on last edited by
                          #12

                          Jörgen Andersson wrote:

                          an extremely small db

                          A few dozen files of a few hundred lines. All loaded in mem right at app start, so no performance issue. It was an easy and cheap solution, believe me. In the embedded world, xml is used for a lot of purposes, not only to define menus.

                          J L 2 Replies Last reply
                          0
                          • R Rage

                            Jörgen Andersson wrote:

                            an extremely small db

                            A few dozen files of a few hundred lines. All loaded in mem right at app start, so no performance issue. It was an easy and cheap solution, believe me. In the embedded world, xml is used for a lot of purposes, not only to define menus.

                            J Offline
                            J Offline
                            Jorgen Andersson
                            wrote on last edited by
                            #13

                            That is a very small "database", so I quite understand you.

                            Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                            1 Reply Last reply
                            0
                            • R Rage

                              Jörgen Andersson wrote:

                              an extremely small db

                              A few dozen files of a few hundred lines. All loaded in mem right at app start, so no performance issue. It was an easy and cheap solution, believe me. In the embedded world, xml is used for a lot of purposes, not only to define menus.

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              We do something similar for our mobile systems. We then wrote a messaging layer to keep the control data up to date when connected, and send / receive transactive data as needed, if a connection is available. I also proposed doing the same thing at a previous company, again for a mobile solution, about 8 years ago now, but in the end they bought something that didn't quite fit our needs instead.

                              Every man can tell how many goats or sheep he possesses, but not how many friends.

                              1 Reply Last reply
                              0
                              • H hayrob

                                As a bemused Relational DB oik, I have noted the emergence of No Sql and not really made sense of it (apart from the obvious - no sql!). This http://martinfowler.com/articles/nosql-intro.pdf[^] has made me better informed. Might be helpful for you too.

                                K Offline
                                K Offline
                                Keith Barrow
                                wrote on last edited by
                                #15

                                I can't work NoSql out, but I'm not sure whether this is just because it is outside the comfort zone or whether it is a solution looking for a problem, or whether just lack of knowledge on my part. The thing seems to be just a glorified way of saying SQL isn't the right storage choice in all situations, which was true before the term was coined.

                                Sort of a cross between Lawrence of Arabia and Dilbert.[^]
                                -Or-
                                A Dead ringer for Kate Winslett[^]

                                1 Reply Last reply
                                0
                                • H hayrob

                                  As a bemused Relational DB oik, I have noted the emergence of No Sql and not really made sense of it (apart from the obvious - no sql!). This http://martinfowler.com/articles/nosql-intro.pdf[^] has made me better informed. Might be helpful for you too.

                                  C Offline
                                  C Offline
                                  Chris Maunder
                                  wrote on last edited by
                                  #16

                                  I've also heard it be referred to as NO SQL, standing for Not Only SQL, hence the "Polyglot Persistence" in the (great) PDF you linked to. We suffer exactly the same issues and have already moved to a NoSQL (ie Polyglot) solution where some data is stored in non-relational (in our case, Lucene) and we're actively working to reduce our reliance on traditional SQL even further. With Microsoft adding Hadoop into SQL 2012 it will be interesting to see what they can do - and also telling that IBM and Oracle are also jumping on the Hadoop band wagon. Maybe if Microsoft had heeded years of customer calls and made SQL horizontally scalable they wouldn't be jumping to stuff in an Apache product. I'm hoping for the best but fearing the worst out of that particular marriage.

                                  cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                  H A 2 Replies Last reply
                                  0
                                  • C Chris Maunder

                                    I've also heard it be referred to as NO SQL, standing for Not Only SQL, hence the "Polyglot Persistence" in the (great) PDF you linked to. We suffer exactly the same issues and have already moved to a NoSQL (ie Polyglot) solution where some data is stored in non-relational (in our case, Lucene) and we're actively working to reduce our reliance on traditional SQL even further. With Microsoft adding Hadoop into SQL 2012 it will be interesting to see what they can do - and also telling that IBM and Oracle are also jumping on the Hadoop band wagon. Maybe if Microsoft had heeded years of customer calls and made SQL horizontally scalable they wouldn't be jumping to stuff in an Apache product. I'm hoping for the best but fearing the worst out of that particular marriage.

                                    cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                    H Offline
                                    H Offline
                                    hayrob
                                    wrote on last edited by
                                    #17

                                    Interesting reply, especially set against the "there be dragons" replies above.

                                    1 Reply Last reply
                                    0
                                    • OriginalGriffO OriginalGriff

                                      I got to page four (with my eyes propped open, I hope he speaks better than he writes, that is a dull way to introduce a topic) and meth this:

                                      they don’t have a fixed schema, allowing you to store any data in any record

                                      At which point I lost all interest. One of the reasons I like C# is strong typing! Weak typing (presumably with automatic data conversion) is a PITA... What idiots Q&A questioners the inexperienced could do with a completely variable record doesn't bear thinking about.

                                      Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

                                      C Offline
                                      C Offline
                                      Chris Maunder
                                      wrote on last edited by
                                      #18

                                      Not all data is always the same. and... It's not loose schemas that kill people, it's bad programmers.

                                      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        I've also heard it be referred to as NO SQL, standing for Not Only SQL, hence the "Polyglot Persistence" in the (great) PDF you linked to. We suffer exactly the same issues and have already moved to a NoSQL (ie Polyglot) solution where some data is stored in non-relational (in our case, Lucene) and we're actively working to reduce our reliance on traditional SQL even further. With Microsoft adding Hadoop into SQL 2012 it will be interesting to see what they can do - and also telling that IBM and Oracle are also jumping on the Hadoop band wagon. Maybe if Microsoft had heeded years of customer calls and made SQL horizontally scalable they wouldn't be jumping to stuff in an Apache product. I'm hoping for the best but fearing the worst out of that particular marriage.

                                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                        A Offline
                                        A Offline
                                        Andy Brummer
                                        wrote on last edited by
                                        #19

                                        Breaking down what gets stored where and why would make an interesting article.

                                        Curvature of the Mind now with 3D

                                        C 1 Reply Last reply
                                        0
                                        • A Andy Brummer

                                          Breaking down what gets stored where and why would make an interesting article.

                                          Curvature of the Mind now with 3D

                                          C Offline
                                          C Offline
                                          Chris Maunder
                                          wrote on last edited by
                                          #20

                                          Well, we have Dalek Dave's stuff over in the corner in the paisley box, JSOPs stuff in the triple locked metal case in the basement, Sacha's stuff is hanging on the walls in the foyer...

                                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

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


                                          • Login

                                          • Don't have an account? Register

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