As we all know, relational data types have always been one of SQL's criticism. With the increasing variety of data, the conversion from various data types to relational data types has plagued most SQL database users. However, the advantages of SQL databases are undeniable. If you can have both the fish and the bear's paw-implementing nosql Data Types in the SQL database, isn't everything a wonderful change
Recently, the company is making a NoSQL model selection, and has made the following Rough Analysis and Comparison on several common NoSQL databases over a week.
Recently, the company is making a NoSQL model selection, and has made the following Rough Analysis and Comparison on several common
. Katayama. The Phi accrual Failure Detector
M.J Fischer, N.a Lynch, and M.S. Paterson. Impossibility of distributed Consensus with one faulty Process
N. Hayashibara, A. Cherif, T. Katayama. Failure detectors for large-scale distributed Systems
M. Leslie, J. Davies, and T. Huffman. A Comparison of Replication Strategies for Reliable decentralised Storage
A. Lakshman, P.malik. Cassandra–a Decentralized structured Storage System
N. A. Lynch. Distributed algorithms
G. Tel.
may encounter. In fact, mongodb installation is relatively simple.
With the rise of Internet Web websites, traditional relational databases are insufficient in Hong Kong Space.
High-concurrency database read/write requirements
High concurrent database load, website space, tens of thousands of read/write requests per second, disk I/O bottleneck
High-efficiency access to massive data
Efficient query of hundreds of millions or even billions of records
H
Nosql definition:Next Generation databases mostly addressing some of the points: being non-relational, distributed, open-source and horizontally scalable. the original intention has beenmodern web-scale databases. the movement began early 2009 and is growing rapidly. oftenMore characteristics apply as: Schema-free, easy replication support, Simple API, eventually
This article is about 《Will nosql databases live up to their promise?Brief translation of the article. The name of the person or institution is omitted in the translation, and only the opinions of others cited by the author or the author are translated.
[Original]
Compared with relational databases, nosqlThe biggest advantage of
When SQL doesn't meet your needs or SQL is not a must or the best choice, it's time to consider this kind of nosql.When your memory is larger than your data, the schema is not too sure, MongoDB here quietly waiting for my SQL job to see the busy, do not change the design mode, cool in front of pain in the back;When you are the only pursuit of speed, but also to memcached too simple discord, just memory is more than the data, Redis Qiao sang and stood there;Big, big, too big, I said the data, our
NoSQL database: Consistent read consistency for data
Strong consistencyWhen visiting any node in the cluster at any time, the data results are consistent;
User consistencyFor the same user, access to the data obtained during the cluster is consistent;Resolve user consistency: Use sticky sessions to bind sessions to specific nodes for processing;This will reduce the performance of the load balancer;
Finally consistentThe data synchroni
number of fragmented files,theCPU can first throw this heap of files into a faster cache, and then the CPU You can do other things first. The hard disk then writes this heap of fragmented small files from the cache to the hard disk surface. Hard disk caching helps to improve the performance of hard disk's burst read-write and random read/write. Good , before we get back to our point of , Why does it appear NoSQL Database example : record the clic
function relative limitation
3. Document-based database
Examples
CouchDB, MongoDb
Typical application Scenarios
Web applications (similar to Key-value, value is structured, but the database is able to understand the contents of value)
Data model
Key-value corresponding key-value pairs, value is structured data
Strengths
Data structure requirements are not strict, table structure is variable, do not need to
The NoSQL product to be evaluated in this article is Redis. It can be understood as a Key-Value data structure operation. The data is stored in the memory and regularly refreshed to the disk.
The NoSQL product to be evaluated in this article is Redis. It can be understood as a Key-Value data structure operation. The data is stored in the memory and regularly refreshed to the disk.
The
Random access performance comparable to MySQL
Best practice scenario: for Preference BigTable:) and for random, real-time access to big data.For example: Facebook message database (more common use cases are about to appear)Note 4:thrift is an interface definition language that provides definition and creation services for a variety of other languages, developed by Facebook and open source.Of course, all systems do not only have these features listed above. Here I just list some of the
. TT actually has a memory buffer, but it is much smaller than the former.The above tests are not complete, but they are just the beginning. For example, there is no small data test (using numbers as the key, 100 bytes Value), and there is no big data test (about 20 kB ); performance in hit situations is not tested; concurrent read/write performance is not tested, it is reported that MongoDB's concurrent read/write efficiency is not particularly outstanding, and MongoDB features a powerful q
Tags: nosqlNoSQL databases: Consistency of dataRead consistency
Strong consistencyAccess to any node in the cluster at any time, resulting in consistent data results;
User consistency for the same user, access to the data during the cluster is consistent;Resolve user consistency: Use sticky sessions to bind sessions to specific nodes for processing;This reduces the performance of the load balancer;
Final consistencyThe data synchroniz
I. MongoDB Introduction
MongoDB (named from "humongous") is a scalable, high-performance, open-source, free-mode, document-oriented database, it combines the advantages of document databases, key-value pairs, and relational databases. Official site: http://www.mongodb.org/,mongodbhighlights:
• Document-oriented storage (simple and powerful JSON-like data mode)• D
The NoSQL product to be evaluated in this article is Redis. It can be understood as a Key-Value data structure operation. The data is stored in the memory and regularly refreshed to the disk, high read/write efficiency has attracted much attention. Sina Weibo in China uses Redis to store user relationships and count on a large scale.
Jieshao
According to the official statement, Redis is developed using ansi c and runs on Most POSIX (Linux, * BSD, OS X
1. MongoDB
Introduction
MongoDB is a distributed file storage-based database. Written in C ++. It mainly solves the access efficiency of massive data and provides scalable and high-performance data storage solutions for Web applications. When the data volume exceeds 50 GB, The MongoDB database access speed is more than 10 times that of MySQL. MongoDB's concurrent read/write efficiency is not particularly good. According to the official performance tes
Source: comparison of various nosql databases in http://hi.baidu.com/eastdoor/blog/item/758d0e3eedb5d92471cf6c14.html Cassandra, MongoDB, CouchDB, Redis, Riak, HBaseCouchDBDevelopment language: ErlangMain advantages: data consistency and ease of useLicense: ApacheProtocol: HTTP/RESTApplicable: accumulated, less changed data. Or a large number of versions are required.Example: CRM, CMS systems. multi-site de
Introduction and use of the nosql database CodernityDB developed in Python only, nosqlcodernitydb
Look at this logo. It's a bit python-like. The database codernityDB introduced this time is developed in python only.
I used the tinyDB local database and an api service. At first, I thought the speed was a little poor. The result showed that the implementation method was really amazing, it is actually the sto
I. MongoDB Introduction
MongoDB (named from "humongous") is a scalable, high-performance, open-source, free-mode, document-oriented database, it combines the advantages of document databases, key-value pairs, and relational databases. Official site: http://www.mongodb.org/,mongodbhighlights:
• Document-oriented storage (simple and powerful JSON-like data mode)• D
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.