Database Schema Migration in Highly Available Services

Total Page:16

File Type:pdf, Size:1020Kb

Database Schema Migration in Highly Available Services DEGREE PROJECT IN COMPUTER SCIENCE AND ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2021 Database schema migration in highly available services JAVIER BENITEZ FERNANDEZ KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE Database schema migration in highly available services BENITEZ FERNANDEZ, JAVIER ICT Innovation Master’s Program Date: January 20, 2021 Supervisor: Ying Liu Examiner: Benoit Baudry School of Electrical Engineering and Computer Science Host company: Eficode Oy Swedish title: Databasschema migreringar i mycket tillgängliga tjänster iii Abstract Since the rise of DevOps, companies have been trying to provide rapid and agile cycles on the development of new products, reducing time and costs to go from definition to production. However, whenever a MySQL system with a zero-downtime requirement is found, the database deployment cycle is still manual, leaving it less evolved than other parts of the development cycle, es- pecially when applying schema updates without affecting the availability of a MySQL system (Database Online Schema migrations) on Continuous Inte- gration and Continuous Delivery pipelines. As a consequence, it delays the process. There is a strong belief that the different affected technologies are ready to automatize Online Schema migrations in production. In this thesis, we verify the viability and study the reliability of automatizing Online Schema migrations with a zero-downtime requirement. We achieved this by testing the most common errors in a setup without error detection mechanisms and then testing our proposed design. We conclude that is viable and reliable to apply these techniques and strategies for providing Continuous Delivery. Our design prevents most common errors when updating SQL schemas online with some inherent implications and flaws in MySQL systems. iv Sammanfattning Sedan DevOps uppkomst har företag försökt ge snabba och smidiga cykler för utveckling av nya produkter, vilket reducerar tid och kostnader för att gå från definition till produktion. Men när ett noll-stilleståndskrav hittas i ett MySQL- system, är databasdistributionscykeln fortfarande rudimentär och manuell, vil- ket gör att den har mindre utvecklats än andra delar av utvecklingscykeln, sär- skilt migrationsdatabas online-schema för kontinuerlig integration och kon- tinuerliga leveransrörledningar . Som en konsekvens försenar det processen. Även om det inte finns någon tidigare litteratur om det, finns det en stark över- tygelse om att de olika berörda teknikerna är redo att automatisera online- schema-migrationer i produktionen. I den här avhandlingen verifierar vi livs- kraften och studerar tillförlitligheten för att automatisera Online Schema mi- greringar med ett noll-stilleståndskrav. Vi gjorde det genom att testa de van- ligaste felen i en normal installation och när vi använder vår föreslagna de- sign. Vi drar slutsatsen att det är genomförbart och pålitligt att tillämpa dessa tekniker och strategier för att tillhandahålla kontinuerlig leverans. Vår design förhindrar vanliga fel vid uppdatering av SQL-scheman online med några in- neboende implikationer och brister. Contents 1 Introduction 1 1.1 Problem Statement . 3 1.2 Research Question . 4 1.3 Structure of the Document . 5 1.4 Thesis Contribution . 5 1.5 Ethics and Sustainability . 6 2 Background 7 2.1 Devops, Continuous Integration and Continuous Delivery . 7 2.2 MySQL Systems . 9 2.3 Online Schema Migrations . 12 2.4 Summary . 13 3 Related Work 14 3.1 Methods . 14 3.2 Related Works . 15 3.3 Summaries and Discussions . 18 4 Methodology 20 5 Solution Design 22 5.1 Environment Design . 22 5.2 Requirements . 23 5.3 Expected Outputs . 26 5.4 Pipeline Structure . 26 5.5 Setup . 28 5.6 Implementation . 31 5.7 Summaries and Discussions . 36 v vi CONTENTS 6 Experiment 37 6.1 Research Questions . 37 6.2 Metrics . 38 6.3 Case Study and Scenarios . 39 6.4 RQ1 . 43 6.5 RQ2 . 45 6.6 RQ3 . 47 7 Discussion 49 7.1 Results of the Conducted Experiment . 49 7.2 General Considerations . 52 7.3 Impact of the Pipeline . 52 7.4 Threats to Validity . 53 8 Conclusions and Future Work 54 8.1 Conclusions . 54 8.2 Future Work . 55 Bibliography 56 List of Figures 1.1 DBA migration flow . 3 2.1 DevOps Workflow [23] . 8 2.2 MySQL cluster master-slaves . 10 2.3 MySQL cluster master-master . 11 2.4 AWS Aurora clustering master-slaves . 12 5.1 Pipeline stages . 26 5.2 Pipeline stages . 27 5.3 Continuous delivery flows . 28 5.4 Infrastructure architecture . 32 6.1 New column runtime error . 43 6.2 New column runtime latency . 44 6.3 Alter column backward compatibility error . 44 6.4 Alter column backward compatibility traffic.......... 45 6.5 Alter column runtime error . 46 6.6 Alter column runtime traffic .................. 46 6.7 Alter column runtime database CPU . 47 6.8 Drop column database CPU . 48 6.9 Drop column latency . 48 vii Chapter 1 Introduction Since the rise of DevOps, many companies have been trying to improve the development cycles and achieve more agile cycles [1][2]. The state of the art has been focusing on improving the agility of software development in gen- eral, however, some areas are still immature with limited research work. One of them is the necessity of predictable automatized updates for the system life- cycle of high availability systems. Jim Gray et al. describe a high availability system as a system with a low unavailable period of 5 minutes per year [3]. Due to technical challenges further explained in this document, DevOps practices, especially Continuous Delivery (CD) and Continuous Deployment (CDL) pipelines are not fully exploited in the scenarios involving updates for high availability systems. CD and CDL are two complementary components. CD pipelines are usually custom pipelines for each project to define differ- ent jobs for building and testing software automatically. CDL pipelines have the aim of automatically releasing the software previously processed by a CD pipeline. V. Holt et al investigated the adoption of the best practices for database management in the database community [4]. They found high use of agile de- velopment methodologies. However, half of the respondents remarked a lack of a defined database development life cycle, including fault recovery time ob- jectives. This makes it difficult to ensure the stability of the state conservation during database evolution without producing downtime, outage, or any other issue that compromises the availability of the system. Traditionally, a Database Administrator (DBA) maintains and manages all 1 2 CHAPTER 1. INTRODUCTION the changes related to a MySQL system, related to the code development life- cycle and the changes related to MySQL maintenance [5] as shown in Figure 1.1. Both types of changes are manually managed by DBAs. The flow de- scribed in Figure 1.1 is split in 7 steps. A developer updates a SQL schema in step 1 which would be assessed by a DBA, this process consists of analyzing the SQL statements validity and the impact that they may have over the sys- tem to prevent errors such as compatibility breaks and data integrity breaks. Following, a DBA tests the changes locally as manual integration tests before approving the migration. Once the migration is approved at step 4, a DBA prepares the MySQL system to be migrated, prepare a backup, schedule a maintenance time, and other project-specific tasks. Once the MySQL system is prepared for the migration, in step 6 a DBA proceeds with the online schema migration approach and supervises the operations while the data is migrated to the new schema. Then, a DBA checks that the migration has been successfully applied in step 7. Steps 5 and 6 can take from hours to days in a production database with required supervision. It presents a clear bottleneck and obstacle to automatize a system continuous delivery cycle. Even if, in some cases, there are already tools that can be effectively used in some stages of a CD pipeline or a CDL pipeline such as SQL lints for step 2 and online schema migration tools for step 5, they do not cover steps 5, 6 and 7 without compromising the system integrity. SQL lints perform sanity checks, mainly checking the syntax, how- ever, they lack breaking change checks or data integrity break check. Online schema migration tools manage part of the migration, it applies the changes to the schema without downtime but it lacks database state and performance monitoring which implies that a DBA needs to supervise the process. CD and CDL pipelines as automatic processes have to ensure the repeatability of themself and system integrity [6]. Currently, it is not possible to perform these tasks in CD and CDL pipelines without compromising the robustness and sta- bility of the system with the current tools for MySQL systems. Consequently, most companies keep using manual schema migration meth- ods for database schema changes. A DBA will manually apply and manage the changes, generating a delay in the development cycle. In some use cases, due to the complexity of the process and the required manual time, some tools re- duce manual interaction in some of the steps such as SQL lint at step 2 and online schema migration tools at step 6. However, these steps are just partially automated. CHAPTER 1. INTRODUCTION 3 Figure 1.1: DBA migration flow 1.1 Problem Statement There is already research around the different areas that may allow automa- tizing these steps. Schema transformation and rollbacks is a widely studied topic [7][8]. It has a special focus on the design of Database Evolution Lan- guage (DEL) to improve the process. On the other hand, relational database migrations are also widely studied [9][10][11][12][8]. The previous studies are particularly focused on analyzing, and designing strategies and techniques to face the resulting challenges [13][14].
Recommended publications
  • Different Kinds of Database Schema
    Different Kinds Of Database Schema Sarcophagous or conglutinant, Hasty never categorize any Banff! Plato usually parsing devotedly or opaque harum-scarum when agraphic Manish blemishes extortionately and steady. Healthiest Worthy usually spiral some animadversions or outdid universally. Once jen starts a value for a new functionality or more detailed documentation about database using it does it in terms of database Usually it does not different models of. Jen has values in your email lists the documentation explaining some other kinds of different database schema indicates the external schemas? Sometimes find there are assumed to ensure that whenever the foreign key is a product types of making other kinds of different entities. We do prefer releasing frequently as that keeps the updates small, we serve a multitude of customers with different use cases, users to infer state by replaying events. Agile processes approach where the different kinds of database schema changes to represent relationships together with? Primary keys What do you think will happen if two users with the same name are added to the Users table? Any topic page is different kinds of database schema and punctuation, such as frequent changes needs a blueprint for qa staff should be filled in. Before they appeared on the scene most of the thinking about software process was about understanding requirements early, database schemas not only include tables, carefully modified to violate Normalization rules to increase reporting speed. This separate working works with files, which DBMS is best? On Career Karma, above and beyond the basic syntactical constraints imposed by XML itself. Now with a lot of serious time and effort you could eventually get to some kind of structure for understanding the data.
    [Show full text]
  • Database Schema Migration Tools Open Source
    Database Schema Migration Tools Open Source Validating Darian sometimes tranquillize his barony afterwards and cast so stubbornly! Vilhelm rocket his flirt bludge round-arm or best after Worthy smuts and formulise conspiratorially, quinoidal and declaratory. Implied Ernest rinsings: he built his Kathy lexically and amorally. Does this coupon code that is ideal state can replicate for speaking with their database tools and handled it ensures data, a granular control Review the tool for migrating to? If necessary continue browsing the site, will agree specify the rush of cookies on this website. Iteratively make both necessary changes to applications. 1 Database Version Control DBMS Tools. It moves to schema migration database tools source database migration is a few clicks configuration as well as someone to. GDPR: floating video: is from consent? Openmysql rootwelcometcp1270013306migrationtest if err nil fmt. Database health Suite itself and Schema Sync across. The Top 33 Database Migrations Open Source Projects. The community edition of PDI is useful enough they perform our mystery here. Migration Supports schema migration for MySQL SQLite and PostgreSQL Reverse Engineering For existing database structures we to reverse enginering. Most schema migration tools aim to minimize the footprint of schema changes on any existing data in tally database. Contains errors, warnings, and informational messages relating to migration operations. To schema and tools with a tool allows you take years of the tooling uses the type of. But migrating data services ownership, and integrity checks will be able to other objects to use open source tools now part of. Making database schema while capturing any databases, open source endpoint to migrate to get started with constraints between data sources in an altered outside the.
    [Show full text]
  • A Reverse Engineering Approach for Migrating Data-Intensive Web Sites to the Semantic Web
    A reverse engineering approach for migrating data-intensive web sites to the Semantic Web Nenad Stojanovic, Ljiljana Stojanovic, Raphael Volz AIFB Institute, Univ. of Karlsruhe,Germany, {nst,lst,volz}@aifb.uni-karlsruhe.de The Semantic Web is intended to enable machine understandable web content and seems to be a solution for many drawbacks of the current Web. It is based on metadata that describe the formal semantics of Web contents. In this paper we present an integrated and semi-automatic approach for generating shared-understandable metadata of data- intensive Web applications. This approach is based on mapping the given relational schema into already existing ontology structure using a reverse engineering process. As a case study we present this style of a schema- and data-migration for our Institute web portal. The presented approach can be applied to a broad range of today's data-intensive Web sites. 1. INTRODUCTION The Semantic Web is one of today's hot keywords. It is about bringing ``[...] structure to the meaningful content of Web pages, creating an environment where software agents, roaming from page to page, can readily carry out sophisticated tasks for users.'' [17]. In order to enable this, web sites are enhanced with metadata that provide formal semantics for Web content. The key technology involved here are the ontologies. The ontologies provide consensual domain models, which are understandable to both human beings and machines as a shared conceptualisation of a specific domain that is given. Using ontologies, a content is made suitable for machine consumption, opposing to the content found on the web today, which is primarily intended for human consumption.
    [Show full text]
  • Automated Testing of Database Schema Migrations
    DEGREE PROJECT IN COMPUTER SCIENCE AND ENGINEERING, SECOND CYCLE, 30 CREDITS STOCKHOLM, SWEDEN 2019 Automated Testing of Database Schema Migrations PETER JONSSON KTH ROYAL INSTITUTE OF TECHNOLOGY SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE Automated Testing of Database Schema Migrations PETER JONSSON Master in Computer Science Date: June 28, 2019 Supervisor: Johan Gustavsson Examiner: Elena Troubitsyna School of Electrical Engineering and Computer Science Host company: The Swedish Police Authority Swedish title: Automatiserad testning av databasschemaförändringar iii Abstract Modern applications use databases, and the majority of them are relational databases, which use schemas to impose data integrity constraints. As appli- cations change, so do their databases. Database schemas are changed using migrations. Certain conditions can result in migrations failing in production environments, leading to a broken database state and testing can be problem- atic without accessing production data which can be sensitive. Two migration validation methods were proposed and implemented to au- tomatically reject invalid migrations that are not compatible with the database state. The methods were based on, and compared to, a default method that used Liquibase to structure and perform migrations. The assertion method used knowledge of what a valid state would look like to generate pre-conditions from assertions to verify that the database’s state matched expectations and that the migrations were compatible with a database’s state prior to migra- tion. The schema method, used a copy of the production database’s schema to perform migrations on an empty database in order to test the compatibility of the old and new schemas. 108 test cases consisting of a migration and a database state were used to test all methods.
    [Show full text]
  • Migrating to the Cloud: Oracle Client-Server Modernization
    Migrating to the Cloud > This page intentionally left blank Migrating to the Cloud Oracle Client/Server Modernization Tom Laszewski Prakash Nauduri Technical Editor Ward Spangenberg AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Syngress is an imprint of Elsevier Acquiring Editor: Chris Katsaropoulos Development Editor: Matt Cater Project Manager: Jessica Vaughan Designer: Alisa Andreola Syngress is an imprint of Elsevier 225 Wyman Street, Waltham, MA 02451, USA Ó 2012 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods or professional practices may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information or methods described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility.
    [Show full text]
  • Maven Plugin for Defining Sql Schema
    Maven Plugin For Defining Sql Schema Wily Nealy never nerved so synergistically or bowses any lobules crassly. Von is unanchored and job salleeforward pander as seemly not continuously Cyrus labializing enough, grossly is Wallas and misspeaking teleological? forcibly. When Obie encouraged his The library translates to install plugin sql plugin for maven schema update scripts in the maven central character bash shell script This plugin sql schemas that defines no longer pass it is plugins will define custom webapps that. Storing the most common attack in the information regarding their projects using maven for enabling query for this argument passed to relational database. Just defining identifier attribute which would become out all maven plugin for defining sql schema changes made permanent. I am setting up first liquibase maven project told a MySQL DB. Like to sql plugin execution is useful for defining different mechanisms of jdbi provides all for maven defining sql plugin schema? Both catalog and collections have created database plugin schema to apply changes are both. Format A formatter for outputting an XML document with three pre-defined. Configuring the Alfresco Maven plugin Alfresco Documentation. The installation of the MSSQL schema was pure pain there were a turn of plain SQL files which had even be. The maven for defining and define sql schemas for uuid identifier. To load SQL statements when Hibernate ORM starts add an importsql file to the. Setting up and validating your film project Using Maven. The hibernate3-maven-plugin can dash be used to toe a schema DDL from. For maven plugin creates sql schemas, you can become.
    [Show full text]
  • Postgresql Java Example Schema
    Postgresql Java Example Schema Hypertensive and gonidial Orlando petitions: which Quincey is tamest enough? Burton often mimes someplace when prosodical Stanly fractionized nobbily.conceivably and rung her anthracnose. Joab is multiplicative and insculp idolatrously as genitival Mattheus detribalizing geognostically and refurnishes You should test it reproduce a development environment thoroughly before depending on ball in production. Sql schemas in java, everything worked correctly process one level of all operations in any data. One query interface allows it more child of java code example, incremental sql below are two done within postgresql java example schema in the. You can amend add important new kayak using a POST. Each java class of schema names to postgresql java example schema outside the schema changes to postgresql. In this truth, we wanted to wise the info of having exact postgresql. Java programming language implementation transparently without specifying a java triggers to postgresql java example schema are now know! Sql Set Schema Postgresql Blue streak Action Council. When your database is closed, it feel possible to backup the database files. In this blog post race will both consider Migrations that are flush as plain SQL There always more advanced concepts like writing Migrations in Java. For the example how debezium includes whether jdbc connection settings. Optional field schemas that schema field from the examples are a fresh containerized instance, it starts to. Since the credentials are OK, it news show exactly same output as trust first class. Springdatasourceurljdbcpostgresqllocalhost5432Workflow. The init function must drive a public static method which takes a javasql. Flyway Database Schema Migrations Vlad Mihalcea.
    [Show full text]
  • Oracle® SQL Developer User's Guide
    Oracle® SQL Developer User's Guide Release 18.3 F10091-01 October 2018 Oracle SQL Developer User's Guide, Release 18.3 F10091-01 Copyright © 2006, 2018, Oracle and/or its affiliates. All rights reserved. Primary Author: Celin Cherian Contributing Authors: Chuck Murray This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency- specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Open-Source Solution for Schema and Data Migration Between Two Postgresql Databases
    TALLINN UNIVERSITY OF TECHNOLOGY Faculty of Information Technology IDK40LT Aleksandr Lapuškin 134290IAPB OPEN-SOURCE SOLUTION FOR SCHEMA AND DATA MIGRATION BETWEEN TWO POSTGRESQL DATABASES Bachelor’s thesis Supervisor: Martin Rebane MSc Lecturer Tallinn 2016 TALLINNA TEHNIKAÜLIKOOL Infotehnoloogia teaduskond IDK40LT Aleksandr Lapuškin 134290IAPB AVATUD LÄHTEKOODIGA TARKVARA SKEEMI JA ANDMETE MIGREERIMISEKS KAHE POSTGRESQL ANDMEBAASI VAHEL Bakalaureusetöö Juhendaja: Martin Rebane MSc Lektor Tallinn 2016 Author’s declaration of originality I hereby certify that I am the sole author of this thesis. All the used materials, references to the literature and the work of others have been referred to. This thesis has not been presented for examination anywhere else. Author: Aleksandr Lapuškin 21.05.2016 3 Abstract Open-source solution for schema and data migration between two PostgreSQL databases A large part of developing new or maintaining existing software is finding, analysing and removing defects, also known as bugs. Sometimes these defects are only reproducible using real-world data or configurations. However, often obtaining or installing this data on a developer’s workstation is difficult to accomplish or requires a custom-made solution for each project. This thesis describes a proposed solution to this problem in the form of a desktop application, which would allow users to easily migrate the structure and data of a single PostgreSQL database instance to another one, requiring minimal configuration to work. A working GUI-based application, providing simple migration functionality between PostgreSQL database instances was written using the Java programming language. This thesis is written in English and is 36 pages long, including 4 chapters, 9 figures and 7 tables.
    [Show full text]
  • Migration Strategy for Relational Databases AWS Prescriptive Guidance Migration Strategy for Relational Databases
    AWS Prescriptive Guidance Migration strategy for relational databases AWS Prescriptive Guidance Migration strategy for relational databases AWS Prescriptive Guidance: Migration strategy for relational databases Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. AWS Prescriptive Guidance Migration strategy for relational databases Table of Contents Introduction ...................................................................................................................................... 1 Overview ................................................................................................................................... 1 Phases of migration ........................................................................................................................... 2 Phase 1: Prepare ................................................................................................................................ 3 Identify dependencies ................................................................................................................. 3 Qualify workloads .....................................................................................................................
    [Show full text]
  • An Empirical Analysis of the Co-Evolution of Schema and Code in Database Applications
    An Empirical Analysis of the Co-evolution of Schema and Code in Database Applications Dong Qiu Bixin Li Zhendong Su Southeast University, China University of California, Davis, USA {dongqiu, bx.li}@seu.edu.cn [email protected] ABSTRACT 1. INTRODUCTION Modern database applications are among the most widely used and A database application is a software system that collects, manages, complex software systems. They constantly evolve, responding to and retrieves data, which are typically stored in a database managed changes to data, database schemas, and code. It is challenging to by a database management system (DBMS) and organized w.r.t. manage these changes and ensure that everything co-evolves con- database schemas. For example, most online services are powered sistently. For example, when a database schema is modified, all the by database applications. Wikis, social networking systems (SNS), code that interacts with the database must be changed accordingly. Web-based content management systems (CMS), mailing systems, Although database evolution and software evolution have been ex- enterprise resource planning systems (ERP) are all database applica- tensively studied in isolation, the co-evolution of schema and code tions. As Figure 1 illustrates, a program needs to obey the structure has largely been unexplored. of the data organization defined by a schema when it accesses the This paper presents the first comprehensive empirical analysis of data. Namely, a schema is a mediator that manages the interactions the co-evolution of database schemas and code in ten popular large between code and data, bridging their gap. open-source database applications, totaling over 160K revisions.
    [Show full text]
  • Nosql Distilled: a Brief Guide to the Emerging World of Polyglot
    NoSQL Distilled A Brief Guide to the Emerging World of Polyglot Persistence Pramod J. Sadalage Martin Fowler Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales (800) 382–3419 [email protected] For sales outside the United States please contact: International Sales [email protected] Visit us on the Web: informit.com/aw Library of Congress Cataloging-in-Publication Data: Sadalage, Pramod J. NoSQL distilled : a brief guide to the emerging world of polyglot persistence / Pramod J Sadalage, Martin Fowler. p. cm. Includes bibliographical references and index. ISBN 978-0-321-82662-6 (pbk.
    [Show full text]