MongoDBÊÇÒ»¸ö½éÓÚ¹ØÏµÊý¾Ý¿âºÍ·Ç¹ØÏµÊý¾Ý¿âÖ®¼äµÄ²úÆ·£¬ ÊǷǹØÏµÊý¾Ý¿âµ±Öй¦ÄÜ×î·á¸»£¬×îÏñ¹ØÏµÊý¾Ý¿âµÄ¡£ËûÖ§³ÖµÄÊý¾Ý½á¹¹·Ç³£ËÉÉ¢£¬ÊÇÀàËÆjsonµÄbjson¸ñʽ£¬Òò´Ë¿ÉÒÔ´æ´¢±È½Ï¸´ÔÓµÄÊý¾ÝÀàÐÍ¡£ Mongo×î´óµÄÌØµãÊÇËûÖ§³ÖµÄ²éѯÓïÑԷdz£Ç¿´ó£¬ÆäÓï·¨ÓеãÀàËÆÓÚÃæÏò¶ÔÏóµÄ²éѯÓïÑÔ£¬¼¸ºõ¿ÉÒÔʵÏÖÀàËÆ¹ØÏµÊý¾Ý¿âµ¥±í²éѯµÄ¾ø´ó²¿·Ö¹¦ÄÜ£¬¶øÇÒ»¹Ö§³Ö ¶ÔÊý¾Ý½¨Á¢Ë÷Òý¡£
ËüµÄÌØµãÊǸßÐÔÄÜ¡¢Òײ¿Êð¡¢Ò×ʹÓ㬴洢Êý¾Ý·Ç³£·½±ã¡£Ö÷Òª¹¦ÄÜÌØÐÔÓУº
ÃæÏò¼¯ºÏ´æ´¢£¬Ò×´æ´¢¶ÔÏóÀàÐ͵ÄÊý¾Ý¡£
ģʽ×ÔÓÉ¡£
Ö§³Ö¶¯Ì¬²éѯ¡£
Ö§³ÖÍêÈ«Ë÷Òý£¬°üº¬ÄÚ²¿¶ÔÏó¡£
Ö§³Ö²éѯ¡£
Ö§³Ö¸´Öƺ͹ÊÕϻָ´¡£
ʹÓøßЧµÄ¶þ½øÖÆÊý¾Ý´æ´¢£¬°üÀ¨´óÐͶÔÏó£¨ÈçÊÓÆµµÈ£©¡£
×Ô¶¯´¦ÀíË鯬£¬ÒÔÖ§³ÖÔÆ¼ÆËã²ã´ÎµÄÀ©Õ¹ÐÔ
Ö§³ÖRUBY£¬PYTHON£¬JAVA£¬C++£¬PHPµÈ¶àÖÖÓïÑÔ¡£
Îļþ´æ´¢¸ñʽΪBSON£¨Ò»ÖÖJSONµÄÀ©Õ¹£©
¿Éͨ¹ýÍøÂç·ÃÎÊ
Ëùν¡°ÃæÏò¼¯ºÏ¡±£¨Collenction-Orented£©£¬Òâ˼ÊÇÊý¾Ý±»·Ö×é´æ´¢ÔÚÊý¾Ý¼¯ÖУ¬±»³ÆÎªÒ»¸ö¼¯ºÏ£¨Collenction)¡£Ã¿¸ö ¼¯ºÏÔÚÊý¾Ý¿âÖж¼ÓÐÒ»¸öΨһµÄ±êʶÃû£¬²¢ÇÒ¿ÉÒÔ°üº¬ÎÞÏÞÊýÄ¿µÄÎĵµ¡£¼¯ºÏµÄ¸ÅÄîÀàËÆ¹ØÏµÐÍÊý¾Ý¿â£¨RDBMS£©ÀïµÄ±í£¨table£©£¬²»Í¬µÄÊÇËü²»ÐèÒª¶¨ ÒåÈκÎģʽ£¨schema)¡£
ģʽ×ÔÓÉ£¨schema-free)£¬Òâζ×ŶÔÓÚ´æ´¢ÔÚmongodbÊý¾Ý¿âÖеÄÎļþ£¬ÎÒÃDz»ÐèÒªÖªµÀËüµÄÈκνṹ¶¨Òå¡£Èç¹ûÐèÒªµÄ»°£¬ÄãÍêÈ«¿ÉÒ԰Ѳ»Í¬½á¹¹µÄÎļþ´æ´¢ÔÚͬһ¸öÊý¾Ý¿âÀï¡£
´æ´¢ÔÚ¼¯ºÏÖеÄÎĵµ£¬±»´æ´¢Îª¼ü-Öµ¶ÔµÄÐÎʽ¡£¼üÓÃÓÚΨһ±êʶһ¸öÎĵµ£¬Îª×Ö·û´®ÀàÐÍ£¬¶øÖµÔò¿ÉÒÔÊǸ÷Öи´ÔÓµÄÎļþÀàÐÍ¡£ÎÒÃdzÆÕâÖÖ´æ´¢ÐÎʽΪBSON£¨Binary Serialized dOcument Format£©¡£
MongoDB·þÎñ¶Ë¿ÉÔËÐÐÔÚLinux¡¢Windows»òOS Xƽ̨£¬Ö§³Ö32λºÍ64λӦÓã¬Ä¬È϶˿ÚΪ27017¡£ÍƼöÔËÐÐÔÚ64λƽ̨£¬ÒòΪMongoDB
ÔÚ32λģʽÔËÐÐʱ֧³ÖµÄ×î´óÎļþ³ß´çΪ2GB¡£
MongoDB°ÑÊý¾Ý´æ´¢ÔÚÎļþÖУ¨Ä¬ÈÏ·¾¶Îª£º/data/db£©£¬ÎªÌá¸ßЧÂÊʹÓÃÄÚ´æÓ³ÉäÎļþ½øÐйÜÀí¡£
2012-10-31 ÉÏÒ»¸ö°æ±¾ÊÇ2012-08-29µÄ2.2.0 Õâ¸öÖ÷ÒªÊÇBugÐÞÕý£¬ÆäËû²úÆ·Ïß»¹ÊÇ2.0.7 1.8.5¡£
ÍêÈ«¸Ä½ø£º
Bug
[SERVER-4781] - replica set initial sync failure when update cannot be applied to a future version of an object received via clone
[SERVER-5890] - HTTP Digest authentication doesn't work with Internet Explorer
[SERVER-6540] - queueing writebacks register with lastError too early
[SERVER-6671] - oplog is not strictly idempotent when unique index is present
[SERVER-6672] - slaveDelay Setting Causes Replica Ops to be Applied in Batches at approximately the slaveDelay Interval
[SERVER-6717] - The 'test' program does not log messages in msgasserted()
[SERVER-6810] - Memory leak in mongos when using auth
[SERVER-6821] - findAndModify update code path didn't result in splits in findAndModify2.js
[SERVER-6832] - sharding on prefix doesn't trigger "move top chunk" heuristic and causes assertion 10367
[SERVER-6834] - jstests/sharding/read_pref.js fails sometimes
[SERVER-6856] - potential out of bounds read in prefetchRecordPages()
[SERVER-6878] - distinct3.js test may leave an operation running after the test finishes; evalb does not restrict profiling query to operations the test itself generates
[SERVER-6897] - 2.2.0 upgrade of secondary of replica set with --keyfile authentication produces authentication errors - cannot upgrade without downtime
[SERVER-6902] - MongoDB 2.2 and MongoDB 2.0 cannot be mixed in sharded cluster
[SERVER-6909] - verify assertion when new version of a document is requested that does not match dotted field expression of original query; excessive logging
[SERVER-6911] - TTL monitor reports "ERROR: error processing ttl for db" during initial sync
[SERVER-6925] - DR102 too much data written uncommitted
[SERVER-6931] - warning message occasionally logged incorrectly when a client cursor is exhausted
[SERVER-6943] - addTagRegion/addShardTag fail with 3 config server sharded clusters
[SERVER-6948] - Can't call commitIfNeeded in DBDirectClient::call if not write-locked
[SERVER-6960] - Build system produces incorrect debugsymbols archive
[SERVER-6993] - findAndModify positional operator regression with undotted query fields
[SERVER-7003] - Deletions during chunk movement can cause migrations to fail
[SERVER-7004] - db.hostInfo() crashes mongod with: Uncaught std::exception: basic_string::_S_create
[SERVER-7061] - mongos can use invalid ptr to master conn when setShardVersion fails
[SERVER-7160] - Mongorestore doesn't auth against admin DB when using username and password arguments
[SERVER-7177] - state transition for replica sets isn't correct
[SERVER-7181] - Assertion: 13111:field not found, expected type 2 when an error occured during the index building phase in restore
[SERVER-7182] - Getting need to login error when trying to restore a single database
[SERVER-7186] - Batched oplog application increases frequency of idempotency violations
[SERVER-7198] - Do not go into rollback before reaching minvalid
[SERVER-7199] - Bump minvalid when recloning ops on initial sync
[SERVER-7204] - logging for shard selection for chunk migration is too verbose
[SERVER-7238] - power of 2 allocation breaks with docs > 8mb
[SERVER-7367] - Make replica set members pick up their own connection via DBDirectClient, not over the network
[SERVER-7371] - Fix corner case where an update mod is applied twice
[SERVER-7376] - migrate deletion not aggressive enough and tied to migrate moves
Improvement
[SERVER-6808] - RecoveryJob shouldn't find MMF for each entry
[SERVER-6816] - Improve journal data handling after multithreaded batch writing
[SERVER-6930] - Trim minvalid document to avoid "DFM::findAll extent empty" log messages
Task
[SERVER-7302] - Add SpiderMonkey info to THIRD-PARTY-NOTICES file
ÏÂÔØ£º32λ http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.2.1.tgz
64λ http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.1.tgz
Ô´Âë http://downloads.mongodb.org/src/mongodb-src-r2.2.1.tar.gz
À´×Ô:¿ªÔ´ÖйúÉçÇø