{"id":4958,"date":"2014-10-16T07:00:23","date_gmt":"2014-10-16T15:00:23","guid":{"rendered":"http:\/\/formtek.com\/blog\/?p=4958"},"modified":"2014-10-27T13:11:46","modified_gmt":"2014-10-27T21:11:46","slug":"big-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets","status":"publish","type":"post","link":"https:\/\/formtek.com\/blog\/big-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets\/","title":{"rendered":"Big Data\/Dremel\/Metanautix: Applying Interactive SQL-Based Data Analytics to Massive Data Sets"},"content":{"rendered":"<p><a title=\"Dremel summary\" href=\"http:\/\/research.google.com\/pubs\/pub36632.html\" target=\"_blank\">Dremel <\/a>is a big-data analytics tool developed by Google that lets analysts interactively explore data using standard SQL. \u00a0While Dremel has\u00a0already been used at Google for eight years in production and while it&#8217;s been four years since Google first described the concept publicly in a research paper, Dremel hasn&#8217;t achieved anything like the hype that\u00a0<a title=\"Google 2004 paper on MapReduce\" href=\"http:\/\/research.google.com\/archive\/mapreduce.html\" target=\"_blank\">MapReduce<\/a>\u00a0has garnered, another technology out of Google used for processing large data sets.<\/p>\n<p>That may be changing. \u00a0Dremel is used now as the core of Google&#8217;s publicly available cloud-based service called\u00a0<a title=\"Google BigQuery\" href=\"https:\/\/cloud.google.com\/bigquery\/sign-up?csw=1#queries\" target=\"_blank\">BigQuery<\/a>, the incubator project <a title=\"Apache Drill project\" href=\"http:\/\/incubator.apache.org\/drill\/\" target=\"_blank\">Apache Drill<\/a>\u00a0has an open source implementation of Dremel, and\u00a0Cloudera\u2019s <a title=\"Cloudera Impala\" href=\"http:\/\/blog.cloudera.com\/blog\/2012\/10\/cloudera-impala-real-time-queries-in-apache-hadoop-for-real\/\" target=\"_blank\">Impala<\/a> has also tried to clone the idea. \u00a0And most recently, in August of this year, the startup <a title=\"Metanautix home page\" href=\"https:\/\/metanautix.com\" target=\"_blank\">Metanautix <\/a>has come out of stealth mode and launched the <a title=\"Metanautix Quest\" href=\"https:\/\/metanautix.com\/pressrelease\/metanautix-announces-quest-the-data-compute-engine-for-a-simplified-data-supply-chain\/\" target=\"_blank\">Quest<\/a>\u00a0data compute engine, a tool that enables fast and easy analysis of any type of data, from any source, and at any scale.<\/p>\n<p>Metanautix was <a title=\"Wired on the founding of Metanautix\" href=\"http:\/\/www.wired.com\/2014\/09\/metanautix\/\" target=\"_blank\">founded <\/a>by\u00a0<a title=\"Theo Vassilakis bio\" href=\"https:\/\/www.linkedin.com\/pub\/theo-vassilakis\/1\/4a6\/550\" target=\"_blank\">Theo Vassilakis<\/a> and <a title=\"Toli Lerios bio\" href=\"http:\/\/usa.greekreporter.com\/2012\/10\/10\/meet-facebooks-greek-engineer-toli-lerios\/\" target=\"_blank\">Toli Lerios<\/a>\u00a0in 2012. \u00a0In August 2014, Metanautix received <a title=\"$7 million in funding\" href=\"http:\/\/www.crunchbase.com\/organization\/metanautix\" target=\"_blank\">$7 million <\/a>in a first round of venture funding led by the Sequoia group. \u00a0Metanautix has a handful of early customers, including HP and Shutterfly, and they have also recently partnered with <a title=\"Metanautix with Tableau\" href=\"https:\/\/metanautix.com\/tableau\/\" target=\"_blank\">Tableau<\/a> to enable a front-end experience for their back-end analytics engine.<\/p>\n<p>Prior to Metanautix, Vassilakis had been Engineering Director at Google and managed the team of 75 engineers that developed Dremel as well as other data warehousing, visualization and analysis projects. \u00a0Vassilakis teamed with Lerios, an infrastructure software engineer who developed\u00a0video and image algorithms at Facebook, to found <a title=\"Metanautix web site\" href=\"https:\/\/metanautix.com\" target=\"_blank\">Metanautix<\/a>.<\/p>\n<p>Vassilakis said that their objective in founding Metanautix was to &#8220;create an enterprise-ready product that makes it possible for a traditional non-Google-type enterprise that doesn&#8217;t have a large engineering workforce or lots of machines and data centers to be able to do analytics from end to end.&#8221;<\/p>\n<p>The<a title=\"Google 2010 paper on Dremel\" href=\"http:\/\/static.googleusercontent.com\/media\/research.google.com\/en\/us\/pubs\/archive\/36632.pdf\" target=\"_blank\"> 2010 paper from Google describes Dremel<\/a>\u00a0as an enabler for\u00a0&#8220;interactive analysis of very large datasets over shared clusters of commodity machines. \u00a0Unlike traditional databases, it is capable of operating on in-situ nested data&#8230; and it can execute many queries over such data that would ordinarily require a sequence of MapReduce jobs, but at a fraction of the execution time.&#8221;<\/p>\n<p>A benchmark run by Google in 2012 found that Dremel could perform a complex regular expression text-matching problem that involved searching over 35 billion rows\u00a0in 20 TB of data in about ten seconds. \u00a0In fact, since Dremel searches over petabytes of data are often performed in seconds and because queries can be expressed simply in standard SQL format, Dremel is a useful tool for interactively analyzing massive amounts of data. \u00a0Think trillions of records running on many thousands of servers.<\/p>\n<p>The <a title=\"Secret to Dremel's high performance\" href=\"https:\/\/cloud.google.com\/files\/BigQueryTechnicalWP.pdf\" target=\"_blank\">secret to Dremel&#8217;s lighting performance<\/a> can be attributed to two core technologies:<\/p>\n<ul>\n<li><strong>Columnar storage<\/strong>\u00a0This allows very high compression of data and scan throughput.<\/li>\n<li><strong>Tree architecture<\/strong> Queries can be dispatched across thousands of nodes and then aggregated into a final result<\/li>\n<\/ul>\n<p><a title=\"Armando Fox bio\" href=\"http:\/\/www.eecs.berkeley.edu\/Faculty\/Homepages\/fox.html\" target=\"_blank\">Armando Fox<\/a>, a professor of computer science at the University of California at Berkeley, <a title=\"Armando Fox reaction to the high performance of Dremel\" href=\"http:\/\/www.wired.com\/2013\/03\/google-bigquery\/\" target=\"_blank\">commented that<\/a>\u00a0&#8220;if you had told me beforehand me what Dremel claims to do, I wouldn\u2019t have believed you could build it.&#8221;<\/p>\n<p>While Metanautix Quest was inspired by Dremel, Quest goes significantly beyond Dremel to include unstructured data like media, text and office-type documents. \u00a0They&#8217;ve also added connectors or &#8216;pipes&#8217; that can reach out into datastores like Amazon S3, Hadoop and Oracle database.<\/p>\n<p>Vassilakis \u00a0said that &#8220;in general, we view the format of the data as a coincidental thing.\u00a0We can see if the user is trying to query a JPEG file, for example&#8230; One way you might look at that, is as a table of metadata. \u00a0The picture might have GPS coordinates for where it was taken, information about the device and also the time the picture was taken, and those values would make up a table of information. \u00a0Or, you might look at it as a collection of pixels. At position (x, y) of the photo, the color is (r, g, b). \u00a0We give mechanisms and user-defined functions so that you can take any piece of data and make it look like a table or multiple versions of a table,\u00a0and then just query it, as though it had been imported into a database&#8230;&#8221;<\/p>\n<p>Vassilakis \u00a0continued, saying that\u00a0&#8220;looking at the JPEG image that way, you might say &#8216;wow! there&#8217;s a lot of pixels out there&#8217;&#8230; \u00a0But basically our observation is that every insurance company has a bunch of photos from every claim, and every retailer has a bunch of video from every store,\u00a0and every telco has a bunch of recordings from all their calls. To date, you pretty much have to do custom software development for all those things. \u00a0Even for simple things&#8230; But with technology like Quest, a lot of that could be automated.&#8221;<\/p>\n<p>&nbsp;<\/p>\n<div class=\"lightsocial_container\"><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/digg.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/digg.png\" alt=\"Digg This\" title=\"Digg This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/reddit.png\" alt=\"Reddit This\" title=\"Reddit This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.stumbleupon.com\/submit?url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F&amp;title=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/stumbleupon.png\" alt=\"Stumble Now!\" title=\"Stumble Now!\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/buzz.yahoo.com\/buzz?targetUrl=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F&amp;headline=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/yahoo_buzz.png\" alt=\"Buzz This\" title=\"Buzz This\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.dzone.com\/links\/add.html?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dzone.png\" alt=\"Vote on DZone\" title=\"Vote on DZone\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.facebook.com\/sharer.php?t=&amp;u=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/facebook.png\" alt=\"Share on Facebook\" title=\"Share on Facebook\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/delicious.com\/save?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/delicious.png\" alt=\"Bookmark this on Delicious\" title=\"Bookmark this on Delicious\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.dotnetkicks.com\/kick\/?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dotnetkicks.png\" alt=\"Kick It on DotNetKicks.com\" title=\"Kick It on DotNetKicks.com\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/dotnetshoutout.com\/Submit?title=&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/dotnetshoutout.png\" alt=\"Shout it\" title=\"Shout it\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.linkedin.com\/shareArticle?mini=true&amp;url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F&amp;title=&amp;summary=&amp;source=\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/linkedin.png\" alt=\"Share on LinkedIn\" title=\"Share on LinkedIn\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.technorati.com\/faves?add=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/technorati.png\" alt=\"Bookmark this on Technorati\" title=\"Bookmark this on Technorati\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/twitter.com\/home?status=Reading+https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/twitter.png\" alt=\"Post on Twitter\" title=\"Post on Twitter\" \/><\/a><\/div><div class=\"lightsocial_element\"><a class=\"lightsocial_a\" href=\"http:\/\/www.google.com\/buzz\/post?url=https%3A%2F%2Fformtek.com%2Fblog%2Fbig-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets%2F\" target=\"_blank\"><img decoding=\"async\" class=\"lightsocial_img\" src=\"https:\/\/formtek.com\/blog\/wp-content\/plugins\/light-social\/google_buzz.png\" alt=\"Google Buzz (aka. Google Reader)\" title=\"Google Buzz (aka. Google Reader)\" \/><\/a><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Dremel is a big-data analytics tool developed by Google that lets analysts interactively explore data using standard SQL. \u00a0While Dremel has\u00a0already been used at Google for eight years in production and while it&#8217;s been four years since Google first described<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/formtek.com\/blog\/big-datadremel-applying-interactive-sql-based-data-analytics-to-massive-data-sets\/\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-4958","post","type-post","status-publish","format-standard","hentry","category-big-data"],"_links":{"self":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/4958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/comments?post=4958"}],"version-history":[{"count":0,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/posts\/4958\/revisions"}],"wp:attachment":[{"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/media?parent=4958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/categories?post=4958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/formtek.com\/blog\/wp-json\/wp\/v2\/tags?post=4958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}