{"id":1415,"date":"2012-05-02T13:14:16","date_gmt":"2012-05-02T13:14:16","guid":{"rendered":"http:\/\/www.odbms.org\/blog\/?p=1415"},"modified":"2012-05-02T13:14:16","modified_gmt":"2012-05-02T13:14:16","slug":"interview-with-mike-stonebraker","status":"publish","type":"post","link":"https:\/\/www.odbms.org\/blog\/2012\/05\/interview-with-mike-stonebraker\/","title":{"rendered":"Interview with Mike Stonebraker."},"content":{"rendered":"<p><strong><em>&#8220;I believe that \u201cone size does not fit all\u201d. I.e. in every vertical market I can think of, there is a way to beat legacy relational DBMSs by 1-2 orders of magnitude.&#8221; <\/em>&#8212; Mike Stonebraker. <\/strong><\/p>\n<p>I have interviewed <strong>Mike Stonebraker<\/strong>, serial entrepreneur and professor at MIT.  In particular, I wanted to know more about his last endeavor, VoltDB.<\/p>\n<p>RVZ<\/p>\n<p><strong> Q1. In your career you developed several data management systems, namely:  the Ingres relational DBMS, the object-relational DBMS  PostgreSQL, the Aurora Borealis stream processing  engine(commercialized as StreamBase), the C-Store column-oriented DBMS (commercialized as Vertica), and the H-Store transaction processing engine (commercialized as VoltDB).  In retrospective, what are, in a nutshell, the main differences and similarities between all these systems? What are they respective strengths and weaknesses?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> In addition, I am building SciDB, a DBMS oriented toward complex analytics.<br \/>\nI believe that <em>&#8220;one size does not fit all&#8221;<\/em>.  I.e. in every vertical market I can think of, there is a way to beat legacy relational DBMSs by 1-2 orders of magnitude.<br \/>\nThe techniques used vary from market to market.  Hence, StreamBase, Vertica, VoltDB and SciDB are all specialized to different markets.  At this point Postgres and Ingres are legacy code bases.<\/p>\n<p><strong>Q2. In 2009 you co-founded VoltDB, a commercial start up based on ideas from the  H-Store project. H-Store is a distributed In Memory OLTP system.  What is special of VoltDB?  How does it compare with other In-memory databases, for example SAP HANA, or Oracle TimesTen? <\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> A bunch of us wrote a paper <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/dl.acm.org\/citation.cfm?id=1376713');\"  href=\"http:\/\/dl.acm.org\/citation.cfm?id=1376713\">&#8220;Through the OLTP Looking Glass and What We Found There&#8221;<\/a> (SIGMOD 2008).  In it, we identified 4 sources of significant OLTP overhead (concurrency control, write-ahead logging, latching and buffer pool management).<br \/>\nUnless you make a big dent in ALL FOUR of these sources, you will not run dramatically faster than current disk-based RDBMSs.  To the best of my knowledge, VoltDB is the only system that eliminates or drastically reduces  all four of these overhead components.  For example, TimesTen uses conventional record level locking, an Aries-style write ahead log and conventional multi-threading,  leading to substantial need for latching.  Hence, they eliminate only one of the  four sources.<\/p>\n<p><strong>Q3. VoltDB is designed for what you call &#8220;high velocity&#8221; applications. What do you mean with that? What are the main technical challenges for such systems?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> Consider an application that maintains the &#8220;state&#8221; of a multi-player  internet game.  This state is subject to a collection of perhaps thousands of<br \/>\nstreams of player actions.  Hence, there is a collective &#8220;firehose&#8221; that the DBMS must keep up with.  <\/p>\n<p>In a variety of OLTP applications, the input is a high velocity stream of some sort.   These include electronic trading, wireless telephony, digital advertising, and network monitoring.<br \/>\nIn addition to drinking from the firehose, such applications require ACID  transactions and light real-time analytics, exactly the requirements of traditional OLTP.<\/p>\n<p>In effect, the definition of transaction processing has been expanded to include non-traditional applications.<\/p>\n<p><strong> Q4. Goetz Grafe (HP fellow) said in <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2011\/08\/the-future-of-data-management-disk-less-databases-interview-with-goetz-graefe\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2011\/08\/the-future-of-data-management-disk-less-databases-interview-with-goetz-graefe\/\">an interview<\/a>  that  <em>&#8220;disk-less databases are appropriate where the database contains only application state, e.g., current account balances, currently active logins, current shopping carts, etc.  Disks will continue to have a role and economic value where the database also contains history (e.g. cold history such as transactions that affected the account balances, login &#038; logout events, click streams eventually leading to shopping carts, etc.)&#8221; <\/em> What is your take on this?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> In my opinion the best way to organize data management is to run a specialized OLTP engine on current data.  Then, send transaction history data,<br \/>\nperhaps including an ETL component, to a companion data warehouse.  VoltDB is a factor of 50 or so faster than legacy RDBMSs on the transaction piece, while column stores, such as Vertica, are a similar amount faster on historical analytics.  In other words, specialization allows each component to run dramatically faster than a &#8220;one size fits all&#8221; solution.  <\/p>\n<p>A &#8220;two system&#8221; solution also avoids resource management issues and lock contention, and is very widely used as a DBMS architecture. <\/p>\n<p><strong>Q5. Where will the (historical) data go if we have no disks? In  the Cloud?<br \/>\n<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> Into a companion data warehouse.  The major DW players are all disk-based.<\/p>\n<p><strong>Q6. How VoltDB ensures durability?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> VoltDB automatically replicates all tables.  On a failure, it performs  &#8220;Tandem-style&#8221; failover and eventual failback.  Hence, it totally masks most  errors.   To protect against cluster-wide failures (such as power issues), it supports snapshotting  of data and an innovative &#8220;command logging&#8221; capability.  Command logging<br \/>\nhas been shown to be wildly faster than data logging, and supports the same durability as data logging.<\/p>\n<p><strong>Q7. How does VoltDB support atomicity, consistency and isolation? <\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> All transaction are executed (logically) in timestamp order.  Hence, the net outcome of a stream of transactions on a VoltDB data base is equivalent<br \/>\nto their serial execution in timestamp order.<\/p>\n<p><strong>Q8. Would you call VoltDB a relational database system?  Does it supports standard SQL? How do you handle scalability problems for complex joins of large amount of data?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> VoltDB supports standard SQL.<br \/>\nComplex joins should be run on a companion data warehouse.  After all, the only way to interleave &#8220;big reads&#8221; with &#8220;small writes&#8221; in a legacy RDBMS is to use snapshot isolation or run with a reduced level of consistency.<br \/>\nYou either get an out-of-date, but consistent answer or an up-to-date, but inconsistent answer.  Directing big reads to a companion DW, gives you the same result as snapshot isolation.  Hence, I don&#8217;t see any disadvantage to doing big reads on a companion system.<\/p>\n<p>Concerning larger amounts of data, our experience is that OLTP problems with more than a few Tbyte of data are quite rare.  Hence, these can easily fit in main memory, using a VoltDB architecture.<\/p>\n<p>In addition, we are planning extensions of the VoltDB architecture to handle larger-than-main-memory  data sets.  Watch for product announcements in this area.<\/p>\n<p><strong>Q9. Does VoltDB handle disaster recovery? If yes, how?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> VoltDB just announced support for replication over a wide area network. This capability support failover to a remote site if a disaster occurs.  Check<br \/>\nout <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.voltdb.com');\"  href=\"http:\/\/www.voltdb.com\">voltdb web site<\/a> for details.<\/p>\n<p><strong>Q10. VoltDB`s mission statement is &#8220;to deliver the fastest, most scalable in-memory database products on the planet&#8221;. What performance measurements do you have until now to sustain this claim?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> We have run TPC-C at about 50 X the performance of a popular legacy RDBMS.   In addition, we have shown linear TPC-C scalability to 384 cores<br \/>\n(more than 3 million transactions per second).  That was the biggest cluster we could get access to; there is no reason why VoltDB would not continue to scale.<\/p>\n<p><strong>Q11. Can In-Memory Data Management play a significant role also for Big Data Analytics (up to several PB of data)? If yes, how? What are the largest data sets that VoltDB can handle?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> VoltDB is not focused on analytics.  We believe they should be run on a companion data warehouse.  <\/p>\n<p>Most of the warehouse customers I talk to want to keep increasing large amounts of  increasingly diverse history to run their analytics over.  The major data warehouse players are routinely being asked to manage petabyte-sized data warehouses.  It is not  clear how important main memory will be in this vertical market.<\/p>\n<p><strong>Q12. You were very critical about Apache Hadoop, but VoltDB offers an integration with Hadoop. Why? How does it work technically?<br \/>\nWhat are the main business benefits from such an integration? <\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> Consider the &#8220;two system&#8221; solution mentioned above.  VoltDB is intended for the OLTP portion, and some customers wish to run Hadoop as a data<br \/>\nwarehouse platform. To facilitate this architecture, VoltDB offers a Hadoop connector.<\/p>\n<p><strong>Q13. How &#8220;green&#8221; is VoltDB?  What are the tradeoff between total power consumption and performance: Do you have any benchmarking results for that?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> We have no official benchmarking numbers.  However, on a large variety of applications VoltDB is a factor of 50 or more faster than traditional RDBMSs.  Put differently, if legacy folks need 100 nodes, then we need 2!<\/p>\n<p>In effect, if you can offer vastly superior performance (say times 50) on the same hardware, compared to another system, then you  can offer the same performance on 1\/50th of the hardware.  By definition, you are 50 times &#8220;greener&#8221; than they are.<\/p>\n<p><strong> Q14. You are currently working on science-oriented DBMSs and search engines for accessing the deep web. Could you please give us some details. What kind of results did you obtain so far?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> We are building SciDB, which is oriented toward complex analytics (regression, clustering, machine learning, &#8230;).  It is my belief that such analytics<br \/>\nwill become much more important off into the future.  Such analytics are invariably defined on arrays, not tables.  Hence, SciDB is an array DBMS, supporting a dialect of SQL for array data.  We expect it  to be wildly faster than legacy RDBMSs on this kind of application.  See <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/SciDB.org');\"  href=\"http:\/\/SciDB.org\">SciDB.org<\/a> for more information.  <\/p>\n<p><strong>Q15. You are a co-founder of several venture capital backed start-ups. In which area?<\/strong><\/p>\n<p><strong>Stonebraker:<\/strong> The recent ones are: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.streambase.com\/');\"  href=\"http:\/\/www.streambase.com\/\">StreamBase<\/a> (stream procession),  <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/vertica.com\/');\"  href=\"http:\/\/vertica.com\/\">Vertica<\/a> (data warehouse market), <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/voltdb.com\/');\"  href=\"http:\/\/voltdb.com\/\">VoltDB<\/a> (OLTP),  <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.goby.com\/');\"  href=\"http:\/\/www.goby.com\/\">Goby.com<\/a> (data aggregation of web sources),  <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/paradigm4.com\/');\"  href=\"http:\/\/paradigm4.com\/\">Paradigm4<\/a> (SciDB and complex analytics)<\/p>\n<p>Check the company web sites for more details.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n<strong>Mike Stonebraker<\/strong><br \/>\n<em>Dr. Stonebraker has been a pioneer of data base research and technology for more than a quarter of a century.  He was the main architect of the INGRES relational DBMS, and the object-relational DBMS, POSTGRES.  These prototypes were developed at the University of California at Berkeley where Stonebraker was a Professor of Computer Science for twenty five years.  More recently at M.I.T. he was a co-architect of the Aurora\/Borealis stream processing engine, the C-Store column-oriented DBMS, and the H-Store transaction processing engine.   Currently, he is working on science-oriented DBMSs, OLTP DBMSs, and search engines for accessing the deep web.  He is the founder of five venture-capital backed startups, which commercialized his prototypes.  Presently he serves as Chief Technology Officer of VoltDB, Paradigm4, Inc. and Goby.com.<\/p>\n<p>Professor Stonebraker is the author of scores of research papers on data base technology, operating systems and the architecture of system software services.  He was awarded the ACM System Software Award in 1992, for his work on INGRES.  Additionally, he was awarded the first annual Innovation award by the ACM SIGMOD special interest group in 1994, and was elected to the National Academy of Engineering in 1997.  He was awarded the IEEE John Von Neumann award in 2005, and is presently an Adjunct Professor of Computer Science at M.I.T.<\/em><\/p>\n<p><strong>Related Posts<\/strong><\/p>\n<p>&#8211; <a href=\"http:\/\/www.odbms.org\/blog\/2012\/03\/in-memory-database-systems-interview-with-steve-graves-mcobject\/\">In-memory database systems. Interview with Steve Graves, McObject.<br \/>\n(March 16, 2012)<\/a> <\/p>\n<p>&#8211; <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2012\/02\/on-big-data-analytics-interview-with-florian-waas-emcgreenplum\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2012\/02\/on-big-data-analytics-interview-with-florian-waas-emcgreenplum\/\">On Big Data Analytics: Interview with Florian Waas, EMC\/Greenplum. (February 1, 2012) <\/a><\/p>\n<p>&#8211; <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2012\/02\/a-super-set-of-mysql-for-big-data-interview-with-dr-john-busch-schooner\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2012\/02\/a-super-set-of-mysql-for-big-data-interview-with-dr-john-busch-schooner\/\">A super-set of MySQL for Big Data. Interview with John Busch, Schooner. (February 20, 2012)<\/a><\/p>\n<p>&#8211; <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2011\/12\/re-thinking-relational-database-technology-interview-with-barry-morris-founder-ceo-nuodb\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2011\/12\/re-thinking-relational-database-technology-interview-with-barry-morris-founder-ceo-nuodb\/\">Re-thinking Relational Database Technology. Interview with Barry Morris, Founder &#038; CEO NuoDB. (December 14, 2011) <\/a> <\/p>\n<p>&#8211; <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2011\/11\/on-big-data-interview-with-shilpa-lawande-vp-of-engineering-at-vertica\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2011\/11\/on-big-data-interview-with-shilpa-lawande-vp-of-engineering-at-vertica\/\">On Big Data: Interview with Shilpa Lawande, VP of Engineering at Vertica. (November 16, 2011) <\/a><\/p>\n<p>&#8211; <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2011\/10\/vfabric-sqlfire-better-then-rdbms-and-nosql\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2011\/10\/vfabric-sqlfire-better-then-rdbms-and-nosql\/\"> vFabric SQLFire: Better then RDBMS and NoSQL? (October 24, 2011)<\/a> <\/p>\n<p>&#8211; <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.odbms.org\/blog\/2011\/08\/the-future-of-data-management-disk-less-databases-interview-with-goetz-graefe\/');\"  href=\"http:\/\/www.odbms.org\/blog\/2011\/08\/the-future-of-data-management-disk-less-databases-interview-with-goetz-graefe\/\">The future of data management: \u201cDisk-less\u201d databases? Interview with Goetz Graefe.  (August 29, 2011).<\/a><\/p>\n<p>##<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>&#8220;I believe that \u201cone size does not fit all\u201d. I.e. in every vertical market I can think of, there is a way to beat legacy relational DBMSs by 1-2 orders of magnitude.&#8221; &#8212; Mike Stonebraker. I have interviewed Mike Stonebraker, serial entrepreneur and professor at MIT. In particular, I wanted to know more about his [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[51,66,67,86,221,235,237,239,274,279,388,436,451,456,477,490,499,516,523,549,560,616],"_links":{"self":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts\/1415"}],"collection":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/comments?post=1415"}],"version-history":[{"count":0,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/posts\/1415\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/media?parent=1415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/categories?post=1415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.odbms.org\/blog\/wp-json\/wp\/v2\/tags?post=1415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}