Sunday, January 31, 2010

New England Database Summit 2010

2010 was my first year attending the New England Database Summit. Who could resist a full day of geek talk centered around current academic projects and the future of databases, held at probably the most interesting building in all of Cambridge, MIT's STATA center? I just couldn't stay away.

The event, sponsored by Netezza, a data warehouse firm, kicked off at 9am with an introduction by Daniel Abadi. We learned that the title of the event had apparently been altered from the New England Database Day to the New England Database Summit due to the high volume of speakers the organizers had crammed into this one day session. Apparently, once you have a large enough number of speakers, you qualify as a summit, rather than simply a day. The program listed 11 different presenters in 6 and a half hours; aggressive.

The first of three keynote talks was by Raghu Ramakrishnan, the Chief Scientist for Audience & Cloud Computing at Yahoo!. His was one of the few hour long talks, but could have easily been expanded to an entire day. He proved his knowledge of the cloud to be expansive.
Ramakrishnan began with an overview of the Yahoo! front page and its various services. Every query run in their search indexer uses map data generated by Apache Hadoop running on a 10,000 core Linux cluster. Yahoo! Ads use a similar service. Content optimization, the name they give their rotating news items on the front page, is run on PNUTS, Yahoo!'s massively parallel and geographically distributed database system. Image and video is all stored on their MObStor system; an unstructured data cloud. Finally, they again used Hadoop to process data which has allowed them to drastically cut down spam in Yahoo! email services. The front page was dissected before us into a puzzle of independent services; each one separately serving up optimized content to billions of users in a split second.

Ramakrishnan then dove into the details of PNUTS, which was a perfect topic for this database-centric crowd. He described this Yahoo! creation as a parallel database system utilizing geographic replication. What I found interesting is that all of the storage units that PNUTS utilizes are simply vanilla mySQL boxes. Another highlight of this database is its use of record-level mastering. After finding that 85 of the writes to any record originated from only one data-center, Yahoo! implemented record-level mastering whereby each row has a master located at the data-center where the majority of its writes originate from. This has achieved great decrease in write latency. Its worth reading the white-paper "PNUTS: Yahoo!’s Hosted Data Serving Platform" on this fascinating system.

Following up this presentation chock full of interesting information could not have been easy, but Carlo Curino did a great job in his talk entitled "RelationalCloud: The case for a database service". Beginning with the scenario of a small business growing over time, needing to scale up with hardware and people to manage that hardware, he effortlessly exhibited the cost-benefit of a cloud-based solution. Curino then proceeded to hammer the point home by explaining how the cloud reduces total cost of ownership including hardware and administrative cost, provides transparent scalability and high availability, and increases the ease of access. I was a bit disappointed not to have heard about the concerns surrounding DB cloud services such as security, compliance, and scalability. A summary of this project can be found at http://relationalcloud.com/.

A talk for "The Query Mesh Project: A Powerful Multi-Route Query Processing Paradigm", kicked off with a brief and entertaining marketing video for their project, which quickly grabbed the attention of the audience. Query Mesh purports to provide a middle ground between the traditional single pre-computed optimizer route and current multi-route systems, such as Eddies, a continually adaptive query processor. Future work on Multi-Route hopes to venture further into the realm of machine learning in query optimization, but admittedly, it may have a difficult time scaling to the enterprise level, especially to distributed transactions.

Andy Pavlo quickly set up and began his talk titled "MapReduce and Parallel DBMSs: Together at Last". His presentation was a paired down version of a paper he contributed to: "MapReduce and parallel DBMSs: friends or foes?". The result of his research was that MapReduce technologies are not capable of performing traditional RDBMS type tasks more efficiently than their counterparts. Instead, Pavlo has come to the conculsion that MapReduce will, at least for the time being, best serve the needs of ETL type processes.

MongoDB, a database system in the fairly new space of "noSQL", was discussed by Mike Dirolf. A schema-free, document-oriented database system, MongoDB boasts high performance and ease of use for developers due to its use of JSON and absence of joins. The presentation took a difficult turn when the presenter tried to explain an example using python. It was by far the most contentious of the topics with questions about the practicality of it, and challenges that it is not much different than xml.

An hour-long break for lunch, and we were right back into the thick of things with Curt Monash's "Database and analytic technology: The state of the union". Opening with a politically charged rant about information gathering, information usage, and the government's use of antiquated systems and software, I expected good things from this talk. However, I was a bit let down when the talk turned into a rambling of somewhat disjointed subjects interspersed with the occasional joke that didn't go over well. The content was very relevant, but the delivery, which I thought very much resembled that of comedian Lewis Black, came across as more of a reading of a blog post than a presentation. Key points were Monash's belief (mirroring that of Oracle), that Storage Class Memory (SCM) will be the most important hardware technology this decade. He's not at all impressed with mySQL, he finds Ingress annoying, and didn't he speak too kindly of Oracle. Monash then called upon the industry to create a "viable, general purpose, cheap RDBMS". Positive about QlikTech, and SciDB, he seems excited about the newest B/I and data mining systems. Despite his rather negative overtones, I'll probably keep up on his blog, as he seems to be watching and reporting on many facets of the industry.

What I thought was the most engaging talk of the day was given by Paul Brown. "SciDB: Massively Parallel Array Data Storage, Processing and Analysis" was fascinating. Driven by demand from the scientific community, this database system aims to provide an efficent way to search XLDBs (extremely large databases) that contain terabytes, or even petabytes of data. An example of one problem SciDB is solving is Novartis' gene sequencing. The data is stored in a table which is 50 columns wide and 85 million rows in height. Traditional RDBMS' begin to encounter problems with data loads of this size and Paul Brown is hoping to solve them. He concluded his talk with an appeal for help. Voulenteers can sign up at scidb.org and help move the scientific community forward.

"Semantic Ranking and Result Visualization for Life Sciences Publications" was a presentation about a method by which a team came up with a way of searching documents based on their annotations. I had originally been excited to hear this, thinking that the searching was done on the documents themselves. However, the methods used in this study are nothing too dissimilar from the what my team does at work. Additionally, its tie-in to the overarching topic of databases was minimal, at best.

Two other talks discussed a very academic view at creating code to verify a database, and a slightly new take on analytical processing. Both were decent presentations, although neither left me with a desire to learn more.

The day was closed by the third keynote speaker, C. Mohan, a Fellow at IBM, and IBM's former India Chief Scientist. His talk, entitled "Implications of Storage Class Memories (SCMs) on Software Architectures" delved into the latest advancements in Flash memory and PCM (phase-change memory). With charts and slides to back him up, he all but proved that the industry will be moving away from from standard disks for many of its needs. Admitting that flash memory has problems with write endurance, he sees great promise in PCM, which he predicts will address most, if not all current flash shortcomings. Mohan sees SCM used in the paging system, as fast storage for quick PC boot-ups, and possibly in conjunction with current DRAM in the database buffer pool. With the prices of SCM dropping faster than traditional disk and RAM, Mohan is sure its a matter of time before we begin to see these technologies become more widespread. With the emergence of cloud-based databases, I can see the day where local machines will run on almost solely SCM memory and let the cloud handle the rest.

As I left the MIT campus and headed back to the subway in the chilly winter air and thought of the myriad topics I had heard today, I realized I've been living in an isolated Microsoft world; ignorant to the countless useful and exciting database technologies in existence. Specializing in SQL Server has been great for me and my career, but I can't help but think that it has from time to time prevented me from thinking outside the proverbial box. This summit has awakened me from my SQL Server sleep and caused me to seek out new database knowledge in new areas, even if the end result is that I become a better SQL Server programmer.

No comments:

Post a Comment