Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Are Relational Databases Obsolete?

Posted by kdawson on Thu Sep 06, 2007 11:27 AM
from the long-in-the-tooth dept.
jpkunst sends us to Computerworld for a look at Michael Stonebraker's opinion that RDBMSs "should be considered legacy technology." Computerworld adds some background and analysis to Stonebraker's comments, which appear in a new blog, The Database Column. Stonebraker co-created the Ingres and Postgres technology while a researcher at UC Berkeley in the early 1970s. He predicts that "column stores will take over the [data] warehouse market over time, completely displacing row stores."

Related Stories

This discussion has been archived. No new comments can be posted.
Are Relational Databases Obsolete? | Log In/Create an Account | Top | 417 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • They're not mutually exclusive. (Score:5, Insightful)

    by KingSkippus (799657) * on Thursday September 06, @11:28AM (#20495819)
    (http://skippus.blogspot.com/ | Last Journal: Sunday June 19 2005, @07:25AM)

    Okay, at the risk of sounding stupid...

    Since when is a column store database and a relational database mutually exclusive concepts? I thought that both column store and row store (i.e. traditional) databases were just different means of storing data, and had nothing to do with whether a database was relational or not. I think the article misinterpreted what he said.

    Also, I don't think it's news that Michael Stonebraker (a great name, by the way), co-founder and CEO of a company that (surprise!) happens to develop column store database software, thinks that column store databases are going to be the Next Big Thing. Right or wrong, his opinion can't exactly be considered unbiased...

  • C'mon, the guy is biased! (Score:5, Funny)

    by winkydink (650484) * <sv.dude@gmail.com> on Thursday September 06, @11:28AM (#20495821)
    (http://www.networkmirror.com/ | Last Journal: Thursday July 05, @04:34PM)
    The name of his blog is The Database Column after all.
  • by DrinkDr.Pepper (620053) on Thursday September 06, @11:33AM (#20495879)
    Relational databases aren't being obsoleted. Some schema design heuristics are.
  • dual-mode db? (Score:5, Interesting)

    Is there a dual-mode db, that lets you create a row-based or column-based "table"? I imagine cross-mode queries would kill performance, but at least you could have a system front-loaded with row tables, where data comes in, and then archive this data over time into the column-based tables, so that reads were fast.
  • well (Score:5, Informative)

    by stoolpigeon (454276) * <bittercode@gmail> on Thursday September 06, @11:34AM (#20495891)
    (http://thepeckfamily.us/ | Last Journal: Thursday November 08, @11:19AM)
    every article linked makes it clear that this is about warehousing as opposed to oltp. so is the technology dead? no - can it do everything? no
    • Re:well by lucabrasi999 (Score:2) Thursday September 06, @11:41AM
    • Re:well by jimstapleton (Score:2) Thursday September 06, @11:46AM
      • Re:well by stoolpigeon (Score:2) Thursday September 06, @11:53AM
        • Re:well by jimstapleton (Score:2) Thursday September 06, @12:01PM
          • Re:well by stoolpigeon (Score:2) Thursday September 06, @01:59PM
        • Re:well by TechyImmigrant (Score:2) Thursday September 06, @12:04PM
          • Re:well by Scaba (Score:2) Thursday September 06, @12:12PM
          • Re:well by jedidiah (Score:2) Thursday September 06, @03:43PM
            • Re:well by smellotron (Score:1) Thursday September 06, @11:22PM
          • 1 reply beneath your current threshold.
  • Rotate (Score:5, Funny)

    by Kozar_The_Malignant (738483) on Thursday September 06, @11:35AM (#20495909)

    >"column stores will take over the [data] warehouse market over time, completely displacing row stores."

    Hmmmm. So if I rotate my Paradox or Excel table by 90 degrees, I have achieved database coolness? Who knew it was so easy.

    • Re:Rotate by MightyMartian (Score:1) Thursday September 06, @11:38AM
    • Re:Rotate by jellomizer (Score:2) Thursday September 06, @11:43AM
      • Re:Rotate (Score:4, Informative)

        by Hijacked Public (999535) * on Thursday September 06, @11:50AM (#20496159)
        The most recent release (2007) will handle 2^14 columns.
        [ Parent ]
      • Re:Rotate (Score:5, Insightful)

        by ben there... (946946) on Thursday September 06, @12:12PM (#20496473)
        (Last Journal: Tuesday October 17 2006, @12:18AM)

        Excel only handles 255 Columns.
        It should be noted that if you've designed a database (rather than an Excel abomination) with more than 255 columns, chances are, you're doing it wrong.
        [ Parent ]
        • Re:Rotate by Anonymous Coward (Score:2) Thursday September 06, @01:10PM
          • Re:Rotate by Anonymous Coward (Score:1) Thursday September 06, @01:46PM
        • Re:Rotate by Tablizer (Score:1) Thursday September 06, @04:32PM
        • Re:Rotate by garyok (Score:2) Thursday September 06, @04:46PM
          • Re:Rotate by Corporate Troll (Score:1) Friday September 07, @06:33AM
        • Re:Rotate by Pseudonym (Score:2) Thursday September 06, @07:03PM
          • 1 reply beneath your current threshold.
        • Re:Rotate by sco08y (Score:2) Thursday September 06, @07:45PM
          • Re:Rotate by espressojim (Score:2) Thursday September 06, @10:29PM
          • Re:Rotate by gringer (Score:2) Thursday September 06, @10:33PM
            • 1 reply beneath your current threshold.
          • Re:Rotate by smellotron (Score:1) Thursday September 06, @11:35PM
    • Re:Rotate by kpainter (Score:2) Thursday September 06, @12:12PM
    • re: rotate - one word by villy (Score:1) Thursday September 06, @02:35PM
    • Re:Rotate by himself (Score:2) Thursday September 06, @03:17PM
    • Re:Rotate by ichigo 2.0 (Score:2) Friday September 07, @12:24AM
  • The guy... (Score:5, Interesting)

    ...is duping [slashdot.org] himself [slashdot.org] and thus Slashdot is duping the stories by extension.

    Stonebraker has been pushing the concept of column-oriented databases for quite some time now, trying to get someone, ANYONE, to listen that it's superior. While I think he has a point, I'm not sure if he really goes far enough. Our relational databases of today are heavily based on the ISAM files of yesteryear. Far too many products threw foreign keys on top of a collection of ISAMs and called it a day. Which is why we STILL have key integrity issues to this day.

    It would be nice if we could take a step back and re-engineer our databases with more modern technology in mind. e.g. Instead of passing around abstract id numbers, it would be nice if we had reference objects that abstracted programmers away from the temptation of manually managing identifiers. Data storage is another area that can be improved, with Object Databases (really just fancy relational databases with their own access methods) showing how it's possible to store something more complex than integers and varchars.

    The demands on our DBMSes are only going to grow. So there's something to be said for going back and reengineering things. If column-oriented databases are the answer, my opinion is that they're only PART of the answer. Take the redesign to its logical conclusion. Let's see databases that truly store any data, and enforce the integrity of their sets.
  • Differnt Solutions by jythie (Score:2) Thursday September 06, @11:38AM
  • You've all heard of the IBM product called DB2, right? So what was DB1? Answer: IMS, which is a hierarchical database. They were a pain in the ass to use--PSBs and all--but they were/are faster than hell and I doubt any company is going to throw them out for any reason. Same goes for relational databases. They're going nowhere. Sure, we have room for more but nobody is going to displace the RDBMS anytime soon.
    • by cdn-programmer (468978) <terr AT terralogic DOT net> on Thursday September 06, @12:35PM (#20496819)
      On the contrary.

      From a standard 3rd generation programing language one can read and write into flat files and we can do close to this with a hierachical database.

      We lose this with relational databases because the way the database organises data has no direct mapping to the way it might be set up in a standard programming language.

      What this means is that every transaction to and from the database must go through a literally horrible re-mapping. IE. The language data structures do not correspond to the RDBMS data structures and visa versa.

      As an example - in postgreSQL the last I looked at writing a simple row into a table where there were something like 100 columns in the row...

      In the 3rd generation programming languages this was just a simple structure with 100 entries.

      The data transfer from that structure generated a function call with more than 1000 parameters. This was to be mapped and re-mapped with each call to transfer data, this is even though the structure itself is static and determined at compile time.

      Next: There were about 10 parameters per field (column).

      1: Column name
      2: Column name length
      3: data type
      4: data length
      5: character representation ... etc

      finally 10: Address where the data lives.

      The thing is such a table could be set up very easily and populated with a simple loop that rolls in the required values via say a mapping function with about 10 arguments. This could be done ONCE at run time to prepare for the transfer of data and then the same table could be referenced for each call and simply an address could be sent with the transfer.

      Noooo.. It was dynamic and the data was encoded as parameters on the stack. This means the stack must be build and torn down and rebuilt for each call.

      Next - the implementation was so bad that the program would run in test mode with only a few parameter but it failed when the whole row was to be transfered.

      I gave up on that interface.

      ---------------

      Oracle had pre-compilers. They did the same damn thing. The code generated by the pre-compilers was just awful.

      ---------------

      While there is much good to say about RDBMS's in general. The issue I ran into was the interface from 3rd generation languages took a HUGE step backward. IMHO we should have a high level language statement called DBRead() and DBWrite(). In C this should generally correspond to fread() and fwrite(). If this is too complex then DBWriteStruct() could be implemented with suitable mapping helper function.

      Nooo...

      In the old days one could read and write into a flat file at a given location with a single statement or function call depending on the language. Of course "where" to read and write became a real issue and I do fully understand the complexity of file based tree structures and so forth, especially since I wrote a lot of code to implement these algorithms.

      The thing is now we have RDBMS and other solutions that give us the data organisational abilities we need - and we lose the ease of mapping these structures into a suitable structure or object in the programming language.

      I for one do not think we have stepped forward very far at all.

      -------------

      I'll toss in a case in point made by a good buddy of mine who just happens to be one of the top geophysical programmers in this city.

      One of his clients was running an application hooked to an Oracle database running on a fast SUN. Run times were measured in close to a day.

      Finally they removed the Oracle interface and replaced it with a glorified flat file. They clearly built in some indexing. The result is the run times dropped to under 20 minuets.

      As my buddy says - He will NOT use any RDBMS. He can take 5 views of the data comprising 1000's of seismic lines and the user can click on any trace number, line number, well tie and so forth and in real time he can modify all views of the data on as many as 5 s
      [ Parent ]
      • Re:IMS--Hierarchical DB harder to use? by Sharkeys-Day (Score:3) Thursday September 06, @01:06PM
      • Re:IMS--Hierarchical DB harder to use? by SixDimensionalArray (Score:2) Thursday September 06, @03:13PM
      • On the contrary.

        From a standard 3rd generation programing language one can read and write into flat files and we can do close to this with a hierachical database.
        I think there is a key distinction here. Application object store vs data management. Hierarchical db's are far better at storing object information, but *far* worse at real data managment.

        We lose this with relational databases because the way the database organises data has no direct mapping to the way it might be set up in a standard programming language.

        What this means is that every transaction to and from the database must go through a literally horrible re-mapping. IE. The language data structures do not correspond to the RDBMS data structures and visa versa.
        In LedgerSMB, we solved this by putting a functional interface in the db. Then we dynamically map the objects and their properties into functions and arguments. Works great :-)

        As an example - in postgreSQL the last I looked at writing a simple row into a table where there were something like 100 columns in the row...
        You are either trolling or you need to fire the DB architect who designed that. THere is *no way* that a 100-column table is good DB design. (Ok, mathematically, there is nothing that precludes it being good db design, but I can't even imagine a scenario where this would be OK).

        In the 3rd generation programming languages this was just a simple structure with 100 entries.
        Oh, you were the one who designed the 100-column table. Sorry..... Please go out and get some books on db design. You will thank me :-)

        The data transfer from that structure generated a function call with more than 1000 parameters. This was to be mapped and re-mapped with each call to transfer data, this is even though the structure itself is static and determined at compile time.
        IMO, your problem honestly is in the fact that you are using a monkey wrench as a ball peen hammer. It may sorta work but you are using the wrong tool for the job. If you want a simple object store use BDB or something like it. If you want a real data management solution, build your db *first.* If that is not your goal, use something other than an RDBMS.

        Next: There were about 10 parameters per field (column).

        1: Column name
        2: Column name length
        3: data type
        4: data length
        5: character representation ... etc

        finally 10: Address where the data lives.

        The thing is such a table could be set up very easily and populated with a simple loop that rolls in the required values via say a mapping function with about 10 arguments. This could be done ONCE at run time to prepare for the transfer of data and then the same table could be referenced for each call and simply an address could be sent with the transfer.

        Noooo.. It was dynamic and the data was encoded as parameters on the stack. This means the stack must be build and torn down and rebuilt for each call.
        How is this an issue with RDBMS's?

        Next - the implementation was so bad that the program would run in test mode with only a few parameter but it failed when the whole row was to be transfered.
        Again, this is not a PostgreSQL problem ;-)

        I gave up on that interface.
        From your description, that sounds like a wise choice.

        While there is much good to say about RDBMS's in general. The issue I ran into was the interface from 3rd generation languages took a HUGE step backward. IMHO we should have a high level language statement called DBRead() and DBWrite(). In C this should generally correspond to fread() and fwrite(). If this is too complex then DBWriteStruct() could be implemented with suitable mapping helper function.
        Again, this is an issue with the frameworks you are using. Personally, I tend to do the
        [ Parent ]
      • Re:IMS--Hierarchical DB harder to use? by Tablizer (Score:1) Thursday September 06, @05:04PM
      • Re:IMS--Hierarchical DB harder to use? by ozphx (Score:1) Thursday September 06, @08:35PM
      • Re:IMS--Hierarchical DB harder to use? by jadavis (Score:3) Friday September 07, @01:22AM
      • 1 reply beneath your current threshold.
    • 1 reply beneath your current threshold.
  • by littlefoo (704485) on Thursday September 06, @11:39AM (#20495981)
    No. There, that was easy !

    It's like the packet of crisps that says "Is there a 20 pound note in here !!?" - the answer should always be 'No'.

    Except maybe for one person.

    sed -e 's/crisps/potato chips/' -e 's/pound/dollar/'
  • Obviously, he's biased. But more importantly, he just said that column-store databases are going to take over the WAREHOUSE market. That doesn't mean that row-store databases are going to become obsolete, because there will always be applications out there that do a substantial amount of writing as well as reading.

    In fact, the new wave of user-generated-content websites and webapps seems to me to indicate the exact opposite - if anything, row-store databases, with their usefulness in write-heavy applications, should becoming, if anything, more and more necessary/useful on the web.

    So...chalk this one up to some grandstanding on the part of a guy who wants to put more money in his pockets...
  • Marketing hype by FUD.. typical by cwford (Score:2) Thursday September 06, @11:40AM
  • No. by Just Some Guy (Score:2) Thursday September 06, @11:41AM
    • Re:No. by dada21 (Score:2) Thursday September 06, @11:53AM
      • Re:No. by plague3106 (Score:1) Thursday September 06, @12:21PM
        • Re:No. by dada21 (Score:2) Thursday September 06, @12:37PM
          • Re:No. by LurkerXXX (Score:2) Thursday September 06, @12:44PM
            • Re:No. by dada21 (Score:2) Thursday September 06, @12:51PM
          • Re:No. by plague3106 (Score:1) Thursday September 06, @03:07PM
          • 1 reply beneath your current threshold.
      • Re:No. by Just Some Guy (Score:2) Thursday September 06, @12:32PM
        • Re:No. by dada21 (Score:2) Thursday September 06, @12:47PM
          • Re:No. by Retric (Score:2) Thursday September 06, @02:15PM
          • 1 reply beneath your current threshold.
      • Re:No. by Retric (Score:2) Thursday September 06, @01:01PM
      • 1 reply beneath your current threshold.
  • Aha! (Score:5, Funny)

    by Stanistani (808333) on Thursday September 06, @11:42AM (#20496029)
    (http://ofteninspired.com/ | Last Journal: Sunday April 01 2007, @05:49PM)
    The next big thing in DBMS:
    turning your head sideways.
    • Re:Aha! by lucabrasi999 (Score:2) Thursday September 06, @11:50AM
  • In my IT business, a vast majority of our top tier clients (grossing over US$100 million annually) are still using antiquated software that is still using a relational database backend. While these companies are generally VERY efficient in terms of providing services or products to their market, their accounting, purchase orders and project management software is decades outdated. Many of the companies that maintain these packages have merely made the interface more current (but still 5+ years old, but are still using terribly outdated software. I can't begin to tell you how often the words "FoxPro" and "MS SQL" come up and it ends up being a relational database "solution" or even worse.

    It is very frustrating because we do have programmers on staff that create third party plug-ins to these databases to try to make solutions that the OEM code doesn't. When you meet younger programmers, many of them are frustrated themselves to work on ancient solutions that have no hope of being upgraded, because these industries we work in are not in a rush to try anything new and shiny, but instead are happy with the status quo.

    I just bid a job a few months back that would cost $150,000 to upgrade their database infrastructure, and likely save the company $300,000+ annually in added efficiency, less downtime, and a more robust report system. Guess what they said? "We all think it is fine the way it is." That's money thrown out the window, employees who are frustrated (without knowing why), and forcing the company to lose efficiency by not being able to compete with newer companies that are utilizing newer technology to better their bottom line.

    Ugh.