红联Linux门户
Linux帮助

MongoDB 2.2.2发布,分布式文档数据库

发布时间:2012-11-28 15:23:38来源:红联作者:empast
MongoDB是一个介于关系数据库和非关系数据库之间的产品, 是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的bjson格式,因此可以存储比较复杂的数据类型。 Mongo最大的特点是他支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现类似关系数据库单表查询的绝大部分功能,而且还支持 对数据建立索引。

它的特点是高性能、易部署、易使用,存储数据非常方便。主要功能特性有:

面向集合存储,易存储对象类型的数据。
模式自由。
支持动态查询。
支持完全索引,包含内部对象。
支持查询。
支持复制和故障恢复。
使用高效的二进制数据存储,包括大型对象(如视频等)。
自动处理碎片,以支持云计算层次的扩展性
支持RUBY,PYTHON,JAVA,C++,PHP等多种语言。
文件存储格式为BSON(一种JSON的扩展)
可通过网络访问
所谓“面向集合”(Collenction-Orented),意思是数据被分组存储在数据集中,被称为一个集合(Collenction)。每个 集合在数据库中都有一个唯一的标识名,并且可以包含无限数目的文档。集合的概念类似关系型数据库(RDBMS)里的表(table),不同的是它不需要定 义任何模式(schema)。
模式自由(schema-free),意味着对于存储在mongodb数据库中的文件,我们不需要知道它的任何结构定义。如果需要的话,你完全可以把不同结构的文件存储在同一个数据库里。
存储在集合中的文档,被存储为键-值对的形式。键用于唯一标识一个文档,为字符串类型,而值则可以是各中复杂的文件类型。我们称这种存储形式为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 条评论