Andrej Koelewijn

  • Home
  • About
  • Departments
    • cloud
    • java
    • mobile
    • open standards
    • oracle
    • oss
    • other
    • soa
    • software development
    • tablet
    • Uncategorized
    • web
  • Subscribe via RSS

Your data wants to be free

February 16th, 2009  |  Published in software development  |  2 Comments

In a response to Is the Relational Database Doomed, and my post REST is a distributed data model, Anders Nawroth wrote an interesting post, The future of RDBMS’s, which made me think about the role of databases.

Anders makes the statement that RDBMSes aren’t very good at storing relationships. He points out that there are better ways to store relationships. Is this really what matters? Especially if this means that your data will be tied to the technology used by the application?

I think that having your data stored independent of the application technology, is much more important. Even if this means that the database can’t offer the best features possible. Being able to access all the data from anywhere, any program, any technology, makes is that much more valuable. This is one of the reasons why Object Databases never became a big hit. It limits the use of your data to object oriented languanges, and in some cases to a single language. The value of data is directly related to the ability to use it.

This is why RDBMSes are so great: it doesn’t bind your data to a single application. You can collect the data with one application, enrich it with another, publish it with yet another, and combine it with other data to create a comprehensive consistent whole.

On a related note: RDBMSes may not offer the richest relational model, but it’s a shame that in most SOA implementations you lose what little you have. Data is broken up into services related portions. Next it’s serialized to xml or something similar. Relations between data from different services is lost, circular relationships are lost when translated to hierarchical data. Yet another good reason to have a good look at REST, which could restore the ability to have cross service data relationships.

But remember: Your data wants to be free.

Share and Enjoy:
  • del.icio.us
  • Google Bookmarks
  • DZone
  • SphereIt
  • StumbleUpon
  • Technorati
  • LinkedIn
  • HackerNews
  • PDF
  • Digg
  • Facebook
  • FriendFeed
  • Posterous
  • Tumblr
  • Twitter
  • RSS
  • charlieC

    Thank you for highlighting this much forgotten issue about user-defined queries on K/V DBs.


    While some headaches with scaling RDBMs can be solved by replacing it with a K/V store, indexing/searching such a database is still cumbersome.


    As you said, CouchDB solves this by it’s map/reduce views. Not sure about the performance on this, but it really has potential.


    This comment was originally posted on <a href="http://debasishg.blogspot.com/2009/03/your-data-model-can-speak-different.html?showComment=1236852660000#c877261993857399102" rel="nofollow" title="“Your data model can speak different languages too” (http://debasishg.blogspot.com/)">Ruminations of a Programmer

  • Ophir

    Brilliant, thank you.


    This comment was originally posted on <a href="http://debasishg.blogspot.com/2009/03/your-data-model-can-speak-different.html?showComment=1236034260000#c3973217240704996744" rel="nofollow" title="“Your data model can speak different languages too” (http://debasishg.blogspot.com/)">Ruminations of a Programmer

  • akoelewijn
    Graph databases may be a better solution than rdbms, i don't know, haven't got any experience with them. As you say, it's not that important if the solution is universal enough that you can use if from any application.

    One important requirement in my opinion would be a declarative query engine, which would enable you to easily get the data required. I think rdf is xml, so xquery could be a solution here.

    In the long term, REST may be the ultimate solution, but we need a good query engine first. Maybe existing xquery engines could be used, or extended to serve this purpose?

    Is there already a json-query extension to xquery? JQuery would be a good name, but i'm afraid that's taken.

    Just done some research, looks like some smart people have already done this: JAQL. A xquery implementation for json. It seems to work with Haadop.
  • Anders Nawroth
    RDBMS's does bind you to a specific way to model your data. There are two typical scenarios that doesn't fit into that model very well: 1. semi-structured data. 2. data about social/other networks. That's why the big scale sites go for homegrown solutions, not RDBMS, when they face those scenarios.

    I really don't understand your focus on how data is stored. The nice thing about REST in my opinion is that applications can expose an external API, where the client doesn't have to bother about the underlying technology at all. The problem may be that this isn't standardized yet, so there a lack of tool support. -- Actually the great tool support could be one of the big advantages of RDBMS today!

    If you want to store data in a truly application-agnostic way, RDF could be the way to go. It's a standardized way of expressing data as a graph. And most application data fits good in the graph model. There are also multiple implementations of RDF stores and some tools. Neo4j is a generic graph database, but does also have a RDF layer on top. BTW, RDF is all about resources/URIs/links or a "metadata data model" if you like :-) There's also a standardized query language as well (SPARQL).

    As for OODB, I second that they are to tightly bound to the programming languages. It shouldn't be relevant if you just consume a resource, but from a development perspective it's a pain! -- On the other hand RDBMS can be a pain too during development. Like when going from one-to-many to many-to-many for some relationship. In a graph database this requires no work on the database at all, just add the new data! So that would be one more scenario, but more from the development perspective: evolving schemas. Here you can read about evolving databases over time: http://push.cx/2009/rules-of-database-app-aging
blog comments powered by Disqus

Tags

bi bpel camel cep css dsl esb esper google governance grails groovy gtalk html5 innovation internet ipad ivy java javascript jaxrs jersey jigsaw jquery linkeddata linux maven middleware mule noiv openoffice openweb oracle osgi oss plsql rdbms rest soa sql sun tablet web 2.0 xmpp yql

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Posts

  • Getting started with Nexus maven repository manager
  • JEE CDI tip: Target Unreachable, identifier resolved to null
  • Absent Code attribute in method that is not native or abstract
  • Prezi presentation software needs to add visual
  • So you think it’s the iPad that’s missing features?

Categories

  • cloud
  • java
  • mobile
  • open standards
  • oracle
  • oss
  • other
  • soa
  • software development
  • tablet
  • Uncategorized
  • web

Recent Comments

  • andrej on So you think it’s the iPad that’s missing features?
  • Dave on So you think it’s the iPad that’s missing features?
  • andrej on So you think it’s the iPad that’s missing features?
  • Fernando on So you think it’s the iPad that’s missing features?
  • andrej on So you think it’s the iPad that’s missing features?

RSS Friendfeed

  • Amerikanen rangschikken Rotterdams MVRDV in top 50 March 9, 2010
    andrej koelewijn Amerikanen rangschikken Rotterdams MVRDV in top 50 - http://www.idealize.nl/2010... 15 hours ago from Google Reader - Comment - Like […]
    FriendFeed
  • Getting started with Nexus maven repository manager March 9, 2010
    andrej koelewijn Getting started with Nexus maven repository manager - http://www.andrejkoelewijn.com/wp... 15 hours ago from Google Reader - Comment - Like […]
    FriendFeed
  • @eelzinga Did you add the remote repository to the correct reposutory group in nexus? http://bit.ly/a2gTmZ March 9, 2010
    andrej koelewijn @eelzinga Did you add the remote repository to the correct reposutory group in nexus? http://www.andrejkoelewijn.com/wp... 15 hours ago from Twitter - Comment - Like […]
    FriendFeed
  • Getting started with Nexus maven repository manager March 9, 2010
    andrej koelewijn Getting started with Nexus maven repository manager - http://www.andrejkoelewijn.com/wp... 15 hours ago from Andrej Koelewijn - Comment - Like […]
    FriendFeed
  • Re: 7 Reasons For Apple To Acquire Adobe March 7, 2010
    andrej koelewijn Re: 7 Reasons For Apple To Acquire Adobe - http://thenextweb.com/apple... Saturday from Disqus - Comment - Like "Seems to me you left out the most important reason: ipad will be about media convergence: combining books with magazines, newspapers, tv and internet. Currently adobe seems to have the best tools to create these new types of […]
    FriendFeed
  • Do we need a new tech literacy? (Behind the “big data” services like Twitter, Facebook use) March 6, 2010
    andrej koelewijn Do we need a new tech literacy? (Behind the “big data” services like Twitter, Facebook use) - http://scobleizer.com/2010... Saturday from Google Reader - Comment - Like […]
    FriendFeed
  • Pivot: Business intelligence meets the internet as a database http://bit.ly/bFc6wp March 6, 2010
    andrej koelewijn Pivot: Business intelligence meets the internet as a database http://infosthetics.com/archive... Saturday from Twitter - Comment - Like […]
    FriendFeed
  • Live Labs Pivot: A Massive Interactive Zoom on Data (TED Talk) March 6, 2010
    andrej koelewijn Live Labs Pivot: A Massive Interactive Zoom on Data (TED Talk) - http://infosthetics.com/archive... Saturday from Google Reader - Comment - Like […]
    FriendFeed
  • http://twitpic.com/16ykk7 - March 6, 2010
    andrej koelewijn http://twitpic.com/16ykk7 - Saturday from Twitter - Comment - Like […]
    FriendFeed
  • http://twitpic.com/16y8ve - #vuurtoren #scheveningen March 6, 2010
    andrej koelewijn http://twitpic.com/16y8ve - #vuurtoren #scheveningen Saturday from Twitter - Comment - Like […]
    FriendFeed


©2010 Andrej Koelewijn
Powered by WordPress using the Gridline Lite theme by Graph Paper Press.