Data Management in Large-Scale Distributed Systems Nosql Databases Fundamentals

Total Page:16

File Type:pdf, Size:1020Kb

Data Management in Large-Scale Distributed Systems Nosql Databases Fundamentals Data Management in Large-Scale Distributed Systems NoSQL Databases Fundamentals Thomas Ropars [email protected] http://tropars.github.io/ 2021 1 References • The lecture notes of V. Leroy • The lecture notes of F. Zanon Boito • Designing Data-Intensive Applications by Martin Kleppmann I Chapters 2 and 7 2 In this lecture • Motivations for NoSQL databases • ACID properties and CAP Theorem • A landscape of NoSQL databases 3 Agenda Introduction Why NoSQL? Transactions, ACID properties and CAP theorem Data models 4 Common patterns of data accesses Large-scale data processing • Batch processing: Hadoop, Spark, etc. • Perform some computation/transformation over a full dataset • Process all data Selective query • Access a specific part of the dataset • Manipulate only the needed data I 1 record among millions • Main purpose of a database system 5 Processing / Database Link BatcH Job Stream Job e.g. senCment (Hadoop, Spark) (Spark, Storm) analysis results results data Write Write Load Database Serve queries Insert records e.g. Twier trends page Applicaon 1 Applicaon 2 Applicaon 3 3 Different types of databases • So far we used HDFS – A file system can be seen as a very basic database – Directories / files to organize data – Very simple queries (file system path) – Very good scalability, fault tolerance … • Other end of the spectrum: Relaonal Databases – SQL query language, very expressive – Limited scalability (generally 1 server) 4 Size / Complexity GrapH DB Relaonal DB Document DB Column DB Key/Value Complexity DB Filesystem Size 5 The NoSQL Jungle 6 Agenda Introduction Why NoSQL? Transactions, ACID properties and CAP theorem Data models 6 Relational databases SQL • Born in the 70's { Still heavily used • Data is organized into relations (in SQL: tables) • Each relation is an unordered collection of tuples (rows) • Foreign keys are used to define the relationships among the tables 7 About SQL Advantages • Separate the data from the code I High-level language I Space for optimization strategies • Powerful query language I Clean semantics I Operations on sets • Support for transactions 8 Motivations for alternative models see https://blog.couchbase.com/nosql-adoption-survey-surprises/ Some limitations of relational databases • Performance and scalability I Difficult to partition the data (in general run on a single server) I Need to scale up to improve performance • Lack of flexibility I Will to easily change the schema I Need to express different relations I Not all data are well structured • Few open source solutions • Mismatch between the relational model and object-oriented programming model 9 Illustration of the object-relational mismatch Figure by M. Kleppmann Figure: A CV in a relation database 10 Illustration of the object-relational mismatch Figure by M. Kleppmann f "user id":251, "first name":"Bill", "last name":"Gates", "summary":"Co −chair of the Bill& Melinda Gates; Active blogger.", "region id":"us:91", "industry id":131, "photo url":"/p/7/000/253/05b/308dd6e.jpg", "positions":[ f"job title":"Co −chair","organization":"Bill& Melinda Gates Foundation"g, f"job title":"Co −founder, Chairman","organization":"Microsoft" g ], "education":[ f"school name":"Harvard University","start": 1973,"end": 1975 g, f"school name":"Lakeside School, Seattle","start": null,"end": null g ], "contact info": f "blog":"http://thegatesnotes.com", "twitter":"http://twitter.com/BillGates" g g Figure: A CV in a JSON document 11 About NoSQL What is NoSQL? • A hashtag I NoSQL approaches were existing before the name became famous • No SQL • New SQL • Not only SQL I Relational databases will continue to exist alongside non-relational datastores 12 About NoSQL A variety of NoSQL solutions • Key-Value (KV) stores • Wide column stores (Column family stores) • Document databases • Graph databases Difference with relational databases There are several ways in which they differ from relational databases: • Properties • Data models • Underlying architecture 13 Agenda Introduction Why NoSQL? Transactions, ACID properties and CAP theorem Data models 14 Why do we need transactions? • Crashes may occur at any time I On the database side I On the application side I The network might not be reliable • Several clients may write to the database at the same time About transactions The concept of transaction • Groups several read and write operations into a logical unit • A group of reads and writes are executed as one operation: I The entire transaction succeeds (commit) I or the entire transaction fails (abort, rollback) • If a transaction fails, the application can safely retry 15 About transactions The concept of transaction • Groups several read and write operations into a logical unit • A group of reads and writes are executed as one operation: I The entire transaction succeeds (commit) I or the entire transaction fails (abort, rollback) • If a transaction fails, the application can safely retry Why do we need transactions? • Crashes may occur at any time I On the database side I On the application side I The network might not be reliable • Several clients may write to the database at the same time 15 ACID ACID describes the set of safety guarantees provided by transactions • Atomicity • Consistency • Isolation • Durability Having such properties make the life of developers easy, but: • ACID properties are not the same in all databases I It is not even the same in all SQL databases • NoSQL solutions tend to provide weaker safety guarantees I To have better performance, scalability, etc. 16 ACID: Atomicity Description • A transactions succeeds completely or fails completely I If a single operation in a transaction fails, the whole transaction should fail I If a transaction fails, the database is left unchanged • It should be able to deal with any faults in the middle of a transaction • If a transaction fails, a client can safely retry In the NoSQL context: • Atomicity is still ensured 17 ACID: Consistency Description • Ensures that the transaction brings the database from a valid state to another valid state I Example: Credits and debits over all accounts must always be balanced • It is a property of the application, not of the database I The database cannot enforce application-specific invariant • It is the responsibility of the programmer to issue transactions that make sense. I The database can check some specific invariant • A foreign key must be valid In the NoSQL context: • Consistency is (often) not discussed 18 ACID: Durability Description • Ensures that once a transaction has committed successfully, data will not be lost I Even if a server crashes (flush to a storage device, replication) In the NoSQL context: • Durability is also ensured 19 ACID: Isolation Description • Concurrently executed transactions are isolated from each other I We need to deal with concurrent transactions that access the same data • Serializability I High level of isolation where each transaction executes as if it was the only transaction applied on the database • As if the transactions are applied serially, one after the other I Many SQL solutions provide a lower level of isolation • Example: Read committed (see next slides) In the NoSQL context: • What about the CAP theorem? 20 More about isolation Alternative (weak) isolation levels Read Committed • No dirty reads: A read only sees data that has been committed • No dirty writes: A write only overwrites data that has been committed. Many SQL databases implement this level of isolation. 21 No dirty writes does not prevent all inconsistencies. Example of allowed execution with Read Committed Transaction to be executed (Increment a counter) Begin transaction Read count count = count + 1 Write count End transaction read count write 1 ClientA commit count=0 count=1 DB commit ClientB read count write 1 22 Example of allowed execution with Read Committed Transaction to be executed (Increment a counter) Begin transaction Read count count = count + 1 Write count End transaction read count write 1 ClientA commit count=0 count=1 DB commit ClientB read count write 1 No dirty writes does not prevent all inconsistencies. 22 balance A? Balance B? A+B= $900 ?? Alice commit DB commit Bank B - 100 A + 100 Some inconsistencies can also be observed with no dirty reads. Example of allowed execution with Read Committed 2 Transactions executed concurrently On the accounts of Alice: • initial state: $500 of the two accounts • Transaction 1: Transfer $100 from account B to A • Transaction 2: Check balance. 23 Some inconsistencies can also be observed with no dirty reads. Example of allowed execution with Read Committed 2 Transactions executed concurrently On the accounts of Alice: • initial state: $500 of the two accounts • Transaction 1: Transfer $100 from account B to A • Transaction 2: Check balance. balance A? Balance B? A+B= $900 ?? Alice commit DB commit Bank B - 100 A + 100 23 Example of allowed execution with Read Committed 2 Transactions executed concurrently On the accounts of Alice: • initial state: $500 of the two accounts • Transaction 1: Transfer $100 from account B to A • Transaction 2: Check balance. balance A? Balance B? A+B= $900 ?? Alice commit DB commit Bank B - 100 A + 100 Some inconsistencies can also be observed with no dirty reads. 23 The CAP theorem 3 properties of databases • Consistency I What guarantees do we have on the value returned by a read operation? I It strongly relates to Isolation in ACID (and not to consistency) • Availability I The system should always accept updates • Partition tolerance I The system
Recommended publications
  • Not ACID, Not BASE, but SALT a Transaction Processing Perspective on Blockchains
    Not ACID, not BASE, but SALT A Transaction Processing Perspective on Blockchains Stefan Tai, Jacob Eberhardt and Markus Klems Information Systems Engineering, Technische Universitat¨ Berlin fst, je, [email protected] Keywords: SALT, blockchain, decentralized, ACID, BASE, transaction processing Abstract: Traditional ACID transactions, typically supported by relational database management systems, emphasize database consistency. BASE provides a model that trades some consistency for availability, and is typically favored by cloud systems and NoSQL data stores. With the increasing popularity of blockchain technology, another alternative to both ACID and BASE is introduced: SALT. In this keynote paper, we present SALT as a model to explain blockchains and their use in application architecture. We take both, a transaction and a transaction processing systems perspective on the SALT model. From a transactions perspective, SALT is about Sequential, Agreed-on, Ledgered, and Tamper-resistant transaction processing. From a systems perspec- tive, SALT is about decentralized transaction processing systems being Symmetric, Admin-free, Ledgered and Time-consensual. We discuss the importance of these dual perspectives, both, when comparing SALT with ACID and BASE, and when engineering blockchain-based applications. We expect the next-generation of decentralized transactional applications to leverage combinations of all three transaction models. 1 INTRODUCTION against. Using the admittedly contrived acronym of SALT, we characterize blockchain-based transactions There is a common belief that blockchains have the – from a transactions perspective – as Sequential, potential to fundamentally disrupt entire industries. Agreed, Ledgered, and Tamper-resistant, and – from Whether we are talking about financial services, the a systems perspective – as Symmetric, Admin-free, sharing economy, the Internet of Things, or future en- Ledgered, and Time-consensual.
    [Show full text]
  • MDA Process to Extract the Data Model from a Document-Oriented Nosql Database Amal Ait Brahim, Rabah Tighilt Ferhat, Gilles Zurfluh
    MDA process to extract the data model from a document-oriented NoSQL database Amal Ait Brahim, Rabah Tighilt Ferhat, Gilles Zurfluh To cite this version: Amal Ait Brahim, Rabah Tighilt Ferhat, Gilles Zurfluh. MDA process to extract the data model from a document-oriented NoSQL database. ICEIS 2019: 21st International Conference on Enterprise Information Systems, May 2019, Heraklion, Greece. pp.141-148, 10.5220/0007676201410148. hal- 02886696 HAL Id: hal-02886696 https://hal.archives-ouvertes.fr/hal-02886696 Submitted on 1 Jul 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Open Archive Toulouse Archive Ouverte OATAO is an open access repository that collects the work of Toulouse researchers and makes it freely available over the web where possible This is an author’s version published in: https://oatao.univ-toulouse.fr/26232 Official URL : https://doi.org/10.5220/0007676201410148 To cite this version: Ait Brahim, Amal and Tighilt Ferhat, Rabah and Zurfluh, Gilles MDA process to extract the data model from a document-oriented NoSQL database. (2019) In: ICEIS 2019: 21st International Conference on Enterprise Information Systems, 3 May 2019 - 5 May 2019 (Heraklion, Greece).
    [Show full text]
  • MDA Process to Extract the Data Model from Document-Oriented Nosql Database
    MDA Process to Extract the Data Model from Document-oriented NoSQL Database Amal Ait Brahim, Rabah Tighilt Ferhat and Gilles Zurfluh Toulouse Institute of Computer Science Research (IRIT), Toulouse Capitole University, Toulouse, France Keywords: Big Data, NoSQL, Model Extraction, Schema Less, MDA, QVT. Abstract: In recent years, the need to use NoSQL systems to store and exploit big data has been steadily increasing. Most of these systems are characterized by the property "schema less" which means absence of the data model when creating a database. This property brings an undeniable flexibility by allowing the evolution of the model during the exploitation of the base. However, query expression requires a precise knowledge of the data model. In this article, we propose a process to automatically extract the physical model from a document- oriented NoSQL database. To do this, we use the Model Driven Architecture (MDA) that provides a formal framework for automatic model transformation. From a NoSQL database, we propose formal transformation rules with QVT to generate the physical model. An experimentation of the extraction process was performed on the case of a medical application. 1 INTRODUCTION however that it is absent in some systems such as Cassandra and Riak TS. The "schema less" property Recently, there has been an explosion of data offers undeniable flexibility by allowing the model to generated and accumulated by more and more evolve easily. For example, the addition of new numerous and diversified computing devices. attributes in an existing line is done without Databases thus constituted are designated by the modifying the other lines of the same type previously expression "Big Data" and are characterized by the stored; something that is not possible with relational so-called "3V" rule (Chen, 2014).
    [Show full text]
  • What Is Nosql? the Only Thing That All Nosql Solutions Providers Generally Agree on Is That the Term “Nosql” Isn’T Perfect, but It Is Catchy
    NoSQL GREG SYSADMINBURD Greg Burd is a Developer Choosing between databases used to boil down to examining the differences Advocate for Basho between the available commercial and open source relational databases . The term Technologies, makers of Riak. “database” had become synonymous with SQL, and for a while not much else came Before Basho, Greg spent close to being a viable solution for data storage . But recently there has been a shift nearly ten years as the product manager for in the database landscape . When considering options for data storage, there is a Berkeley DB at Sleepycat Software and then new game in town: NoSQL databases . In this article I’ll introduce this new cat- at Oracle. Previously, Greg worked for NeXT egory of databases, examine where they came from and what they are good for, and Computer, Sun Microsystems, and KnowNow. help you understand whether you, too, should be considering a NoSQL solution in Greg has long been an avid supporter of open place of, or in addition to, your RDBMS database . source software. [email protected] What Is NoSQL? The only thing that all NoSQL solutions providers generally agree on is that the term “NoSQL” isn’t perfect, but it is catchy . Most agree that the “no” stands for “not only”—an admission that the goal is not to reject SQL but, rather, to compensate for the technical limitations shared by the majority of relational database implemen- tations . In fact, NoSQL is more a rejection of a particular software and hardware architecture for databases than of any single technology, language, or product .
    [Show full text]
  • Concurrency Control Basics
    Outline l Introduction/problems, l definitions Introduction/ (transaction, history, conflict, equivalence, Problems serializability, ...), Definitions l locking. Chapter 2: Locking Concurrency Control Basics Klemens Böhm Distributed Data Management: Concurrency Control Basics – 1 Klemens Böhm Distributed Data Management: Concurrency Control Basics – 2 Atomicity, Isolation Synchronisation, Distributed (1) l Transactional guarantees – l Essential feature of databases: in particular, atomicity and isolation. Many users can access the same data concurrently – be it read, be it write. Introduction/ l Atomicity Introduction/ Problems Problems u Example, „bank scenario“: l Consistency must be guaranteed – Definitions Definitions task of synchronization component. Locking Number Person Balance Locking Klemens 5000 l Multi-user mode shall be hidden from users as far as possible: concurrent processing Gunter 200 of requests shall be transparent, u Money transfer – two elementary operations. ‚illusion‘ of being the only user. – debit(Klemens, 500), – credit(Gunter, 500). l Isolation – can be explained with this example, too. l Transactions. Klemens Böhm Distributed Data Management: Concurrency Control Basics – 3 Klemens Böhm Distributed Data Management: Concurrency Control Basics – 4 Synchronisation, Distributed (2) Synchronization in General l Serial execution of application programs Uncontrolled non-serial execution u achieves that illusion leads to other problems, notably inconsistency: l Introduction/ without any synchronization effort, Introduction/
    [Show full text]
  • Nosql Database Technology
    NoSQL Database Technology Post-relational data management for interactive software systems NOSQL DATABASE TECHNOLOGY Table of Contents Summary 3 Interactive software has changed 4 Users – 4 Applications – 5 Infrastructure – 5 Application architecture has changed 6 Database architecture has not kept pace 7 Tactics to extend the useful scope of RDBMS technology 8 Sharding – 8 Denormalizing – 9 Distributed caching – 10 “NoSQL” database technologies 11 Mobile application data synchronization 13 Open source and commercial NoSQL database technologies 14 2 © 2011 COUCHBASE ALL RIGHTS RESERVED. WWW.COUCHBASE.COM NOSQL DATABASE TECHNOLOGY Summary Interactive software (software with which a person iteratively interacts in real time) has changed in fundamental ways over the last 35 years. The “online” systems of the 1970s have, through a series of intermediate transformations, evolved into today’s web and mobile appli- cations. These systems solve new problems for potentially vastly larger user populations, and they execute atop a computing infrastructure that has changed even more radically over the years. The architecture of these software systems has likewise transformed. A modern web ap- plication can support millions of concurrent users by spreading load across a collection of application servers behind a load balancer. Changes in application behavior can be rolled out incrementally without requiring application downtime by gradually replacing the software on individual servers. Adjustments to application capacity are easily made by changing the number of application servers. But database technology has not kept pace. Relational database technology, invented in the 1970s and still in widespread use today, was optimized for the applications, users and inf- rastructure of that era.
    [Show full text]
  • SQL Vs Nosql: a Performance Comparison
    SQL vs NoSQL: A Performance Comparison Ruihan Wang Zongyan Yang University of Rochester University of Rochester [email protected] [email protected] Abstract 2. ACID Properties and CAP Theorem We always hear some statements like ‘SQL is outdated’, 2.1. ACID Properties ‘This is the world of NoSQL’, ‘SQL is still used a lot by We need to refer the ACID properties[12]: most of companies.’ Which one is accurate? Has NoSQL completely replace SQL? Or is NoSQL just a hype? SQL Atomicity (Structured Query Language) is a standard query language A transaction is an atomic unit of processing; it should for relational database management system. The most popu- either be performed in its entirety or not performed at lar types of RDBMS(Relational Database Management Sys- all. tems) like Oracle, MySQL, SQL Server, uses SQL as their Consistency preservation standard database query language.[3] NoSQL means Not A transaction should be consistency preserving, meaning Only SQL, which is a collection of non-relational data stor- that if it is completely executed from beginning to end age systems. The important character of NoSQL is that it re- without interference from other transactions, it should laxes one or more of the ACID properties for a better perfor- take the database from one consistent state to another. mance in desired fields. Some of the NOSQL databases most Isolation companies using are Cassandra, CouchDB, Hadoop Hbase, A transaction should appear as though it is being exe- MongoDB. In this paper, we’ll outline the general differences cuted in iso- lation from other transactions, even though between the SQL and NoSQL, discuss if Relational Database many transactions are execut- ing concurrently.
    [Show full text]
  • IBM Cloudant: Database As a Service Fundamentals
    Front cover IBM Cloudant: Database as a Service Fundamentals Understand the basics of NoSQL document data stores Access and work with the Cloudant API Work programmatically with Cloudant data Christopher Bienko Marina Greenstein Stephen E Holt Richard T Phillips ibm.com/redbooks Redpaper Contents Notices . 5 Trademarks . 6 Preface . 7 Authors. 7 Now you can become a published author, too! . 8 Comments welcome. 8 Stay connected to IBM Redbooks . 9 Chapter 1. Survey of the database landscape . 1 1.1 The fundamentals and evolution of relational databases . 2 1.1.1 The relational model . 2 1.1.2 The CAP Theorem . 4 1.2 The NoSQL paradigm . 5 1.2.1 ACID versus BASE systems . 7 1.2.2 What is NoSQL? . 8 1.2.3 NoSQL database landscape . 9 1.2.4 JSON and schema-less model . 11 Chapter 2. Build more, grow more, and sleep more with IBM Cloudant . 13 2.1 Business value . 15 2.2 Solution overview . 16 2.3 Solution architecture . 18 2.4 Usage scenarios . 20 2.5 Intuitively interact with data using Cloudant Dashboard . 21 2.5.1 Editing JSON documents using Cloudant Dashboard . 22 2.5.2 Configuring access permissions and replication jobs within Cloudant Dashboard. 24 2.6 A continuum of services working together on cloud . 25 2.6.1 Provisioning an analytics warehouse with IBM dashDB . 26 2.6.2 Data refinement services on-premises. 30 2.6.3 Data refinement services on the cloud. 30 2.6.4 Hybrid clouds: Data refinement across on/off–premises. 31 Chapter 3.
    [Show full text]
  • Cache Serializability: Reducing Inconsistency in Edge Transactions
    Cache Serializability: Reducing Inconsistency in Edge Transactions Ittay Eyal Ken Birman Robbert van Renesse Cornell University tributed databases. Until recently, technical chal- Abstract—Read-only caches are widely used in cloud lenges have forced such large-system operators infrastructures to reduce access latency and load on to forgo transactional consistency, providing per- backend databases. Operators view coherent caches as object consistency instead, often with some form of impractical at genuinely large scale and many client- facing caches are updated in an asynchronous manner eventual consistency. In contrast, backend systems with best-effort pipelines. Existing solutions that support often support transactions with guarantees such as cache consistency are inapplicable to this scenario since snapshot isolation and even full transactional atom- they require a round trip to the database on every cache icity [9], [4], [11], [10]. transaction. Our work begins with the observation that it can Existing incoherent cache technologies are oblivious to be difficult for client-tier applications to leverage transactional data access, even if the backend database supports transactions. We propose T-Cache, a novel the transactions that the databases provide: trans- caching policy for read-only transactions in which incon- actional reads satisfied primarily from edge caches sistency is tolerable (won’t cause safety violations) but cannot guarantee coherency. Yet, by running from undesirable (has a cost). T-Cache improves cache consis- cache, client-tier transactions shield the backend tency despite asynchronous and unreliable communication database from excessive load, and because caches between the cache and the database. We define cache- are typically placed close to the clients, response serializability, a variant of serializability that is suitable latency can be improved.
    [Show full text]
  • Top 5 Considerations When Evaluating Nosql Databases February 2015 Table of Contents
    A MongoDB White Paper Top 5 Considerations When Evaluating NoSQL Databases February 2015 Table of Contents Introduction 1 Data Model 2 Document Model 2 Graph Model 2 Key-Value and Wide Column Models 2 Query Model 3 Document Database 3 Graph Database 3 Key Value and Wide Column Databases 3 Consistency Model 4 Consistent Systems 4 Eventually Consistent Systems 4 APIs 4 Idiomatic Drivers 5 Thrift or RESTful APIs 5 Pluggable Storage API 5 Commercial Support and Community Strength 5 Commercial Support 5 Community Strength 5 Conclusion 6 We Can Help 6 Introduction Relational databases have a long-standing position in most Development teams have a strong say in the technology organizations, and for good reason. Relational databases selection process. This community tends to find that the underpin legacy applications that meet current business relational data model is not well aligned with the needs of needs; they are supported by an extensive ecosystem of their applications. Consider: tools; and there is a large pool of labor qualified to • Developers are working with new data types — implement and maintain these systems. structured, semi-structured, unstructured and But companies are increasingly considering alternatives to polymorphic data — and massive volumes of it. legacy relational infrastructure. In some cases the • Long gone is the twelve-to-eighteen month waterfall motivation is technical — such as a need to scale or development cycle. Now small teams work in agile perform beyond the capabilities of their existing systems — sprints, iterating quickly and pushing code every week while in other cases companies are driven by the desire to or two, even every day.
    [Show full text]
  • Nosql Database Evaluation Guide How Leading Nosql Databases Compare Across the Eight Core Requirements TABLE of CONTENTS Introduction
    NoSQL Database Evaluation Guide How Leading NoSQL Databases Compare Across the Eight Core Requirements TABLE OF CONTENTS Introduction Introduction 2 Digital Economy Overview 3 The business world is undergoing massive change as industry after industry shifts to the Digital Economy. It’s an economy powered by the Internet and other 21st-century technologies — the Data Access 5 cloud, mobile, social media, and big data. At the heart of every Digital Economy business are its web, mobile, and Internet of Things (IoT) applications: they’re the primary way companies interact Performance 6 with customers today, and how companies run more and more of their business. The experiences Scalability 7 that companies deliver via those apps largely determine how satisfied — and how loyal — customers will be. Availability 8 Building and running these web, mobile, and IoT applications has created a new set of technology Geographic 9 requirements. Enterprise architecture needs to be far more agile than ever before, and requires Distribution an approach to real-time data management that can accommodate unprecedented levels of scale, speed, and data flexibility. Relational databases are unable to meet these new requirements, and Big Data Integration 10 enterprises are therefore turning to NoSQL database technology. Administration 11 Three Phases of NoSQL Evolution and Adoption: From Grassroots to Mainstream Mobile 12 Enterprise adoption of NoSQL has unfolded in three overlapping phases. In phase I (which Conclusion 12 started around 2010), developers required flexibility to support the agile development of proof Checklist 13 of concepts and small applications. In phase II (which began around 2013), enterprises required performance, scalability, and availability to develop and/or migrate targeted mission-critical services.
    [Show full text]
  • Why Nosql? Your Database Options in the New Non-Relational World 2 Why Nosql?
    IBM Analytics April 2016 White paper Why NoSQL? Your database options in the new non-relational world 2 Why NoSQL? Contents A brief history of NoSQL NoSQL, also known as not only SQL or non-relational databases, 2 New types of apps are generating new types of data were specifically introduced to handle the rise in data types, 2 A brief history of NoSQL data access, and data availability needs brought on by the dot-com boom. 3 Types of NoSQL databases 4 Why consider NoSQL? Going back 20 years or so, when application architects and developers needed a data store for their applications, they were 5 Summary choosing among various relational databases. In fact, relational 5 Getting started with IBM Cloudant databases have been the de facto choice since the 1970s, as they have been the sole option available for both developers 5 For more information (because SQL is taught in computer science programs everywhere) and infrastructure teams (because of the well- understood tooling and predictable operational characteristics of RDBMSs). Some of the most popular are Oracle, MySQL, New types of apps are generating new SQL Server and IBM® DB2®. types of data The continual increase in web, mobile and IoT applications, However, when Internet applications and companies started alongside emerging trends shifting online consumer behavior exploding during the late 90s to early 2000s, applications went and new classes of data, is causing developers to reevaluate how from serving thousands of internal employees within their data is stored and managed. Today’s applications require a companies to having millions of users on the public Internet.
    [Show full text]