MongoDB is a product between relational databases and non-relational databases. It has the most abundant functions and features like relational databases. The supported data structure is very loose and is similar to the json bjson format. Therefore, it can store complicated data types. The biggest feature of Mongo is that it supports a very powerful query language. Its syntax is somewhat similar to an Object-Oriented Query Language. It can almost implement most of the functions similar to single-table queries in relational databases, it also supports data indexing.
It features high performance, ease of deployment, and ease of use, making it easy to store data. Features:
- It is designed for centralized storage and is easy to store object-type data.
- Free mode.
- Supports dynamic query.
- Supports full indexing, including internal objects.
- Query is supported.
- Supports replication and fault recovery.
- Use efficient binary data storage, including large objects (such as videos ).
- Automatic fragment processing to support scalability at the cloud computing level
- Supports RUBY, PYTHON, JAVA, C ++, PHP, and other languages.
- The file storage format is BSON (a json extension)
- Accessible through the network
The so-called "Collenction-Orented" means that data is stored in a data set by groups and is called a collection ). Each set has a unique identification name in the database and can contain an infinite number of documents. The concept of a set is similar to that of a table in a relational database service (RDBMS). The difference is that it does not need to define any schema ).
Schema-free means that we do not need to know any schema definitions for the files stored in the mongodb database. If necessary, you can store files of different structures in the same database.
The document stored in the set is saved as a key-value pair. The key uniquely identifies a document, which is a string type, and the value can be a complex file type. We call this storage form BSON (Binary Serialized dOcument Format ).
The MongoDB server can run on Linux, Windows, or OS X. It supports 32-bit and 64-bit applications. The default port is 27017. It is recommended to run on a 64-bit platform because MongoDB
The maximum file size supported when running in 32-Bit mode is 2 GB.
MongoDB stores data in files (the default path is/data/db) and uses memory ing files for management to improve efficiency.
Release 2.0.3 official version on. The previous version is 2.0.2 of 2011-12-14. This version has been improved by two RC versions, including the following:
Bug
- [SERVER-3112]-mongo * tools logs shocould not log to stdout (broken w/-- out -)
- [SERVER-3641]-support using stat through mongos with authentication
- [SERVER-3672]-use min (majority, all "real" nodes) for majority
- [SERVER-3763]-when one shard goes down, mongos starts returning failure in getlasterror for all the shards, to already connected client.
- [SERVER-3817]-Increment opcounters for bulk insert
- [SERVER-3939]-Rollback is trying to log something in the oplog
- [SERVER-4115]-copyCollectionFromRemote needs to authenticate
- [SERVER-4238]-Make sure authentication always happens when a ScopedConn connects
- [SERVER-4387]-command shocould force reload of config data after multiple stale config exceptions
- [SERVER-4399]-mongos doesn' t always update shards in response to replica set changes
- [SERVER-4400]-attempt to record query plan for a dropped cursor triggers bad file number assertion
- [SERVER-4401]-query optimizer cursor may return partial result set for a $ or query if the last index match for a $ or clause is deleted while it is "current"
- [SERVER-4474]-Initial sync shoshould ignore capped collection dup key error, too
- [SERVER-4546]-Oplog replay can assert on initial sync if there's no _ id index on a capped collection
- [SERVER-4547]-Disable full restore of sharded cluster
- [SERVER-4591]-MongoDB 2.0.2 fails to build: 'str' object has no attribute 'rpartition'
- [SERVER-4626]-If update does not contain an _ id in criteria, sync apply can assert and get stuck
- [SERVER-4634]--- use-system-all (and -- use-system-snappy ?) Don't actually use system snappy
- [SERVER-4643]-one of the shard is down
- [SERVER-4665]-Querying against sparse index creates bad state, affecting later queries
- [SERVER-4695]-getLog auth checks needs backport
- [SERVER-4699]-mongos can segfault after primary failover
- [SERVER-4712]-Shards crash fairly frequently when memory is low
- [SERVER-4714]-ScopedConn is segfaulting
- [SERVER-4745]-Figuring out which shard to send a query to takes a long time when doing large $ in queries on the shard key
- [SERVER-4749]-fix concurrency api when using openssl
- [SERVER-4765]-sharded currentOp doesn't actually pass query
Improvement
- [SERVER-2612]-support logRotate under windows
- [SERVER-4673]-Don't lock authenticate command if we don't need
- [SERVER-4780]-Improve Memory Leak Warning Message
Download: 32-bit http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.3.tgz
64-bit http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.3.tgz
Source package http://downloads.mongodb.org/src/mongodb-src-r2.0.3.tar.gz