Readings in Database Systems, 5Th Edition (2015)

Readings in Database Systems, 5Th Edition (2015)

Readings in Database Systems Fifth Edition edited by Peter Bailis Joseph M. Hellerstein Michael Stonebraker Readings in Database Systems Fifth Edition (2015) edited by Peter Bailis, Joseph M. Hellerstein, and Michael Stonebraker Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International http://www.redbook.io/ Contents Preface 3 Background Introduced by Michael Stonebraker 4 Traditional RDBMS Systems Introduced by Michael Stonebraker 6 Techniques Everyone Should Know Introduced by Peter Bailis 8 New DBMS Architectures Introduced by Michael Stonebraker 12 Large-Scale Dataflow Engines Introduced by Peter Bailis 14 Weak Isolation and Distribution Introduced by Peter Bailis 18 Query Optimization Introduced by Joe Hellerstein 22 Interactive Analytics Introduced by Joe Hellerstein 25 Languages Introduced by Joe Hellerstein 29 Web Data Introduced by Peter Bailis 33 A Biased Take on a Moving Target: Complex Analytics by Michael Stonebraker 35 A Biased Take on a Moving Target: Data Integration by Michael Stonebraker 40 List of All Readings 44 References 46 2 Readings in Database Systems, 5th Edition (2015) Introduction In the ten years since the previous edition of Read- Third, each selection is a primary source. There are ings in Database Systems, the field of data management good surveys on many of the topics in this collection, has exploded. Database and data-intensive systems to- which we reference in commentaries. However, read- day operate over unprecedented volumes of data, fueled ing primary sources provides historical context, gives in large part by the rise of “Big Data” and massive de- the reader exposure to the thinking that shaped influen- creases in the cost of storage and computation. Cloud tial solutions, and helps ensure that our readers are well- computing and microarchitectural trends have made dis- grounded in the field. Finally, this collection represents tribution and parallelism nearly ubiquitous concerns. our current tastes about what is “most important”; we Data is collected from an increasing variety of hetero- expect our readers to view this collection with a critical geneous formats and sources in increasing volume, and eye. utilized for an ever increasing range of tasks. As a result, One major departure from previous editions of the commodity database systems have evolved considerably Red Book is the way we have treated the final two sec- along several dimensions, from the use of new and stor- tions on Analytics and Data Integration. It’s clear in age media to processor architectures, up through query both research and the marketplace that these are two of processing architectures, programming interfaces, and the biggest problems in data management today. They new application requirements in both transaction pro- are also quickly-evolving topics in both research and in cessing and analytics. It is an exciting time, with con- practice. Given this state of flux, we found that we had siderable churn in the marketplace and many new ideas a hard time agreeing on “canonical” readings for these from research. topics. Under the circumstances, we decided to omit of- In this time of rapid change, our update to the tradi- ficial readings but instead offer commentary. This obvi- tional “Red Book” is intended to provide both a ground- ously results in a highly biased view of what’s happen- ing in the core concepts of the field as well as a commen- ing in the field. So we do not recommend these sections tary on selected trends. Some new technologies bear as the kind of “required reading” that the Red Book has striking resemblance to predecessors of decades past, traditionally tried to offer. Instead, we are treating these and we think it’s useful for our readers to be familiar as optional end-matter: “Biased Views on Moving Tar- with the primary sources. At the same time, technology gets”. Readers are cautioned to take these two sections trends are necessitating a re-evaluation of almost all di- with a grain of salt (even larger that the one used for the mensions of database systems, and many classic designs rest of the book.) are in need of revision. Our goal in this collection is We are releasing this edition of the Red Book free to surface important long-term lessons and foundational of charge, with a permissive license on our text that al- designs, and highlight the new ideas we believe are most lows unlimited non-commercial re-distribution, in mul- novel and relevant. tiple formats. Rather than secure rights to the rec- Accordingly, we have chosen a mix of classic, tradi- ommended papers, we have simply provided links to tional papers from the early database literature as well as Google Scholar searches that should help the reader lo- papers that have been most influential in recent develop- cate the relevant papers. We expect this electronic for- ments, including transaction processing, query process- mat to allow more frequent editions of the “book.” We ing, advanced analytics, Web data, and language design. plan to evolve the collection as appropriate. Along with each chapter, we have included a short com- A final note: this collection has been alive since mentary introducing the papers and describing why we 1988, and we expect it to have a long future life. Ac- selected each. Each commentary is authored by one of cordingly, we have added a modicum of “young blood” the editors, but all editors provided input; we hope the to the gray beard editors. As appropriate, the editors of commentaries do not lack for opinion. this collection may further evolve over time. When selecting readings, we sought topics and pa- pers that met a core set of criteria. First, each selec- Peter Bailis tion represents a major trend in data management, as Joseph M. Hellerstein evidenced by both research interest and market demand. Michael Stonebraker Second, each selection is canonical or near-canonical; we sought the most representative paper for each topic. 3 Readings in Database Systems, 5th Edition (2015) Chapter 1: Background Introduced by Michael Stonebraker Selected Readings: Joseph M. Hellerstein and Michael Stonebraker. What Goes Around Comes Around. Readings in Database Systems, 4th Edition (2005). Joseph M. Hellerstein, Michael Stonebraker, James Hamilton. Architecture of a Database System. Foundations and Trends in Databases, 1, 2 (2007). I am amazed that these two papers were written a we record will be different and hobbies are funda- mere decade ago! My amazement about the anatomy mentally sparse. This is straightforward to model paper is that the details have changed a lot just a few in a relational DBMS but it leads to very wide, years later. My amazement about the data model paper very sparse tables. This is disasterous for disk- is that nobody ever seems to learn anything from history. based row stores but works fine in column stores. Lets talk about the data model paper first. In the former case, JSON is a reasonable encod- A decade ago, the buzz was all XML. Vendors were ing format for the “hobbies” column, and several intent on adding XML to their relational engines. In- RDBMSs have recently added support for a JSON dustry analysts (and more than a few researchers) were data type. touting XML as “the next big thing”. A decade later it • As a mechanism for “schema on read”. In effect, is a niche product, and the field has moved on. In my the schema is very wide and very sparse, and es- opinion, (as predicted in the paper) it succumbed to a sentially all users will want some projection of combination of: this schema. When reading from a wide, sparse schema, a user can say what he wants to see at • excessive complexity (which nobody could un- run time. Conceptually, this is nothing but a pro- derstand) jection operation. Hence, ’schema on read” is just • complex extensions of relational engines, which a relational operation on JSON-encoded data. did not seem to perform all that well and In summary, JSON is a reasonable choice for sparse • no compelling use case where it was wildly ac- data. In this context, I expect it to have a fair amount of cepted “legs”. On the other hand, it is a disaster in the mak- ing as a general hierarchical data format. I fully ex- It is a bit ironic that a prediction was made in the pect RDBMSs to subsume JSON as merely a data type paper that X would win the Turing Award by success- (among many) in their systems. In other words, it is a fully simplifying XML. That prediction turned out to be reasonable way to encode spare relational data. totally wrong! The net-net was that relational won and No doubt the next version of the Red Book will XML lost. trash some new hierarchical format invented by people Of course, that has not stopped “newbies” from rein- who stand on the toes of their predecessors, not on their venting the wheel. Now it is JSON, which can be viewed shoulders. in one of three ways: The other data model generating a lot of buzz in the last decade is Map-Reduce, which was purpose-built by • A general purpose hierarchical data format. Any- Google to support their web crawl data base. A few body who thinks this is a good idea should read years later, Google stopped using Map-Reduce for that the section of the data model paper on IMS. application, moving instead to Big Table. Now, the rest • A representation for sparse data. Consider at- of the world is seeing what Google figured out earlier; tributes about an employee, and suppose we wish Map-Reduce is not an architecture with any broad scale to record hobbies data. For each hobby, the data applicability.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    54 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us