Introduction of MongoDB
MongoDB (name from "Humongous") is an extensible, high-performance, open source, schema free, document-oriented database with the advantages of a document database, key values for storage and relational databases. Official site: Http://www.mongodb.org/,MongoDB Features:
• Document-oriented storage (class JSON data schemas are simple and powerful)• Dynamic Query• Full index support,
This is a creation in
Article, where the information may have evolved or changed.
Brief introduction
Project Open Source Address: Https://github.com/HouzuoGuo/tiedot
The initiator left his Twitter, apparently surnamed Guo, a Chinese-American.
In the project introduction, there is a description of the performance, someone used this database to crawl Wikipedia, save 59 million data, a total of 73G.
Installation
After configuring the Go environmen
Http://fallabs.com/kyotocabinet/ official website Introduction
Kyoto cabinet is a library of key-value database management programs. Both key and value can be in binary or string format. Data storage is divided into hash and B + tree modes.
Kyoto cabinet is very fast. In hash mode, it takes 1 million seconds to insert 0.9 data, and 1.1 seconds to insert data in B + tree mode. It takes only one second to query 2 million data records. In addition, the d
tracing, APIs used to program stack unrolling, and APIs that support the C ++ exception handling mechanism.
2. Install google-perftools:
Install apsaradb for redis
Check whether tcmalloc is effective
# Lsof-n | grep tcmalloc
The following information takes effect:
Redis-ser 13768 root mem REG 1616491 788696/usr/local/lib/libtcmalloc. so.0.1.0
Modify the configuration file:
Vim redis. conf
Find the daemonize and change the following no to yes so that it can run as a service.
Then start redis:
$.
log records), and the number of nodes is faster.2. CouchDB
Suitable for CMS, phone book, address book, and other applicationsTri-MongoDB
It is applicable to distributed applications that support dynamic queries and require indexes. It requires performance requirements for large databases. Youku's online comment service has been partially migrated to mongodb.Redis
Suitable for applications with fast data changes and predictable database size (suita
A detailed description of the branch product of DBosql Database Introductionis a non-relational database service, it can solve the common database concurrency, such as traditional database IO and performance bottlenecks, as well as a relational database is a supplement, has
Tags: style blog http using OS dataContent directory:
Why use a NoSQL database?
Key-Value Database
Document Database
Column Family Database
Graph database
Attached Mind Map
Reference
In terms of creating, communicating, accessing content, sharing information, and buying products, the rapid expansion of a new generation of internet-based services, such as e-mail, blogs, social media, search, and E-commerce, has actually redefined the behavior and trends of WEB users. As the number of these systems continues to grow, IT professionals are witnessing the scaling up of data and data consumed, and growing scalability requirements and new functional requirements pose new challenges
Brief introductionMean is a full stack development framework for JavaScript. More aboutThe storage of persistent data with MongoDB is a part of mean web full stack development.MongoDB is a product between a relational database and a non-relational database, and is the most versatile and most like relational database in a non-relational
Reprint Please specify source: Jiq's technical BlogHBase Features:Recently in the learning Hbase,hbase based on the row Jian is indexed, the query speed will be very fast, completely real-time.But if HBase is to query based on fields other than row health, it can only be a full-fledged scan, which is basically unacceptable.So HBase will generally be designed for specific scenarios to design the health, the use of the real-time query based on row health to achieve real-time HBase data query.A rel
Label:Scylla 1.2.4 was released.SCYLLADB is a Cassandra that is rewritten in C + +, processing 1 million TPS per node per second. The SCYLLADB is fully compatible with Apache Cassandra and has a throughput of 10x times more than Cassandra, reducing latency. Qkxue.net Experience Summary:SCYLLADB claims to be the world's fastest NoSQL columnstore database. No official update notes.:
Source Code (Zip)
Tags: nosql database redis ubuntu nosql concurrencyI. Introduction to REDIS:NOSQL and no only SQL, is high concurrency, large data exists, different from relational database. Owned: Non-relational, distributed, open source, can be horizontally expanded.Redis is a key-value storage system. Similar to memcached, it suppo
Tags: customers ast conversions stringstr Reverse order nosql database flush variable type 1, set a 1 assignment is converted to a character type by default (type a can query the variable type) 2, get a query A's value 3, Rpush list_a a b c defines a list containing a,b,c three variables list_a 4, Lpus H List_a A inserts element a 5, lrange list_a 0 9 to the left of the list list_a the first 10 elem
Today's web sites are becoming more and more flexible with data storage requirements, where NoSQL is becoming more prevalent in non-relational databases. The so-called non-relational database refers to a database that does not use the SQL language for data manipulation. Such a database does not have a fixed pattern for
Hadoop2.6 cluster deployment based on the previous article Blog :http://lizhenliang.blog.51cto.com/7876557/1661354Next, deploying the HBase1.0 Distributed NoSQL database, hbase involves two concepts of hmaster and hregionserver.(Note: The following concept is Baidu Encyclopedia)Hmaster is primarily responsible for table and region management work:1. Manage user's increment, delete, change, check operation
:
Using Mongodb.bson;Using Mongodb.driver;
To perform data operations, first instantiate a mongoclient
var client = new Mongoclient ("mongodb://127.0.0.1:27017");
Then create DATABASE and collection
var database = client. Getdatabase ("foo");var collection = database. Getcollection
Then we can try to insert a piece
192.168.157.11 6379Redis6381.confPort 6381182 Dbfilename Dump6381.rdb513 Appendfilename "Appendonly6381.aof"211 Slaveof 192.168.157.11 6379Note: default: Read-only from node(Error) READONLY you can ' t write against a read only slave.Modify Parameters:Slave-read-only Yes# Masterauth 4. The process of communication between master and slave nodesMaster node from nodeSynchronizing an RDB----------->Synchronizing the aof-----------> Redo LogsMust NOTE: Each time you start, the number of nodes from
Tags: empty god name for Sys + + ... lang csdn?? One: Normal index 1 to create a new database > Use Toto; Switched to DB Toto > Show DBS; Admin (empty) Local 0.078GB > Use Toto; Switched to DB Toto > DB Toto > 2 Create - million-piece data > for (var i=1; I ... db.c3.insert ({name: "Zhangsan", age:i}); ... } >db.c3.count (); 3 No index lookup >db.c3.find ({age:500000}). Explain (); 4 bit Age field to create an index Db.c3.en
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.