ºìÁªLinuxÃÅ»§
Linux°ïÖú

MongoDB 2.2.2·¢²¼£¬·Ö²¼Ê½ÎĵµÊý¾Ý¿â

·¢²¼Ê±¼ä:2012-11-28 15:23:38À´Ô´:ºìÁª×÷Õß:empast
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-11-27 ¾­¹ýÒ»¸öRC ÉÏÒ»¸ö°æ±¾ÊÇ2012-10-31µÄ2.2.1 Õâ¸ö°æ±¾Ö÷ÒªÊÇBugÐÞÕý£¬ÆäËû²úÆ·Ïß»¹ÊÇ2.0.8 1.8.5¡£¿ª·¢°æ±¾ÊÇ2.3.1

ÍêÈ«¸Ä½ø£º

Bug
[SERVER-1887] - dropIndex not working if a name was specified during the ensureIndex
[SERVER-6207] - Windows version of printStackTrace is not thread-safe
[SERVER-6625] - db.adminCommand('top') seems to record commands as queries
[SERVER-6765] - mongos_validate_backoff.js too sensitive
[SERVER-6881] - Do not replicate from hidden nodes
[SERVER-6966] - Mongodump badly exports some collection
[SERVER-7031] - Windows service shuts down when user logs out
[SERVER-7036] - long log lines are logged with added NULs when truncated
[SERVER-7045] - validate command does not explain failure in all cases
[SERVER-7104] - jsonString has incorrect output on undefined BSON elements.
[SERVER-7111] - DBClientReplicaSet::connect should not assert if primary is down but secondaries are available
[SERVER-7190] - Mongodump metadata.json files should be in proper json format
[SERVER-7204] - logging for shard selection for chunk migration is too verbose
[SERVER-7206] - potential mongod crash in profiling, 2.2
[SERVER-7253] - Do not use indirect pointer to call 'snprintf'
[SERVER-7259] - mongodump output to stdout broken
[SERVER-7352] - Do not try to exit cleanly after unhandled exception in Windows
[SERVER-7367] - Make replica set members pick up their own connection via DBDirectClient, not over the network
[SERVER-7369] - WBL too verbose when calling GLE
[SERVER-7378] - Windows Azure logs errors and retries if WRITETODATAFILES and FlushViewOfFile run at the same time
[SERVER-7408] - Need to handle $limit differently in sharding if before first $sort or $group
[SERVER-7410] - SYSLIBDEPS functionality broken
[SERVER-7460] - Issue with threads re-using previously released memory containing a Shard version
[SERVER-7472] - Replication lag can cause cluster to hang in migration critical section
[SERVER-7484] - empty mongos queries with returnPartial can segfault
[SERVER-7491] - Can't use subfields of composite _id in $group _id
[SERVER-7493] - Possible for read starvation to cause migration to get stuck in critical section
[SERVER-7494] - If _recvChunkCommit throws an exception we don't properly roll back the migration
[SERVER-7501] - Background indexes should be built in foreground on secondaries
[SERVER-7516] - exhaustReceiveMore() doesn't propagate error on recv()
[SERVER-7551] - _id Unique key violation during initial sync
[SERVER-7612] - explicit primary read pref does not work well with shard versioning
[SERVER-7665] - Connection used to update rs config in config servers should get the internal auth table
[SERVER-7666] - shard maxSize does not support draining well
Improvement
[SERVER-7289] - validate command should do more inexpensive tests
[SERVER-7498] - top level option in replica set to disable chaining
New Feature
[SERVER-7443] - writeback ids can be generated out of order
Task
[SERVER-7302] - Add SpiderMonkey info to THIRD-PARTY-NOTICES file
[SERVER-7500] - Set socket timeout on connection used to run _recvChunkCommit to greater than the internal timeout of the command

ÏÂÔØ£º32λ http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.2.2.tgz

64λ http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.2.tgz

Ô´Âë http://downloads.mongodb.org/src/mongodb-src-r2.2.2.tar.gz

À´×Ô:¿ªÔ´ÖйúÉçÇø
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ