Go NoSQL Series: Choosing the Right Database

Source: Internet
Author: User
Tags orientdb

Content directory:
    • Why use a NoSQL database?
    • Key-Value Database
    • Document Database
    • Column Family Database
    • Graph database
    • Attached Mind Map
    • Reference
NoSQL Series: Choosing the right database why use a NoSQL database?
    • Impedance imbalance
      Relational model and in-memory data structures do not match
      Improve development efficiency with more convenient data interaction

    • Large amount of data to be processed
      The amount of data exceeds the load-carrying capacity of relational database
      The emergence of large clusters
      In terms of cost, the application of relational database in the cluster, the license fee is a large expenditure;
      Scale-out and scale-out: relational databases can generally only be scaled vertically, implemented by the performance enhancements of single-machine servers, and for scaling to multiple servers,
      (DBMS not designed for use by the cluster)

    • High efficiency requirements for data access

Classification key-value database for NoSQL databases
    • Products
      Redis
      Berkerleydb
      Memcached
      Project Voldemort
      Riak
      LevelDB

    • Applicable scenarios
      Storing session information
      User Configuration information
      Shopping Cart Data

    • Not suitable for the scene
      There is a lot of relationship between data
      Transactions that contain multiple operations
      Querying data based on the part of the key value
      Operation Keyword Collection

Document Database
    • Products
      Mongodb
      Couchdb
      RavenDB
      Terrastore
      Orientdb

    • Applicable scenarios
      Event logging
      Content management system and blog platform
      Website analysis and real-time analysis
      E-commerce applications
      (Requires more flexible mode, low cost to build data model)

    • Not suitable for scenes
      Complex query with multiple operations
      Querying a continuously changing aggregation structure

Column Family Database
    • Products
      HBase
      Amazon SimpleDB
      Cassdndra
      Hypertable
      BigTable (Google)

    • Applicable scenarios
      Event logging
      (Save application state, errors encountered during run)
      CMS and blogging platform
      Counter

    • Scenario Not applicable
      Acid Transaction Required
      Where query patterns change frequently

Graph database
    • Products
      Flockdb
      Hypergraphdb
      Infinite Graph
      Neo4j
      Orientdb

    • Applicable scenarios
      Interconnect data
      Recommended engine
      Location-based Services

    • Scenario Not applicable
      Update entities for all or a subset

Attached Mind Map

Reference

The essence of NoSQL

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.