红联Linux门户
Linux帮助

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

发布时间:2013-02-05 10:03:49来源:红联作者: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),为提高效率使用内存映射文件进行管理。

2013-02-02 经过一个RC 上一个版本是2012-11-27的2.2.2 这个版本主要是Bug修正,其他产品线还是2.0.8 1.8.5。开发版本是2.4.0-RC

完全改进:

Bug
[SERVER-4532] - GetLastError on sharded cluster can report incorrect result
[SERVER-5487] - Seg fault when shutting down replica set member - Subscription Build with SSL Enabled
[SERVER-6167] - very verbose messaging with large numbers of collections
[SERVER-7006] - mongo tools seg fault in 2.2.0 with replica sets in connection string
[SERVER-7376] - migrate deletion not aggressive enough and tied to migrate moves
[SERVER-7405] - Mongo Enterprise Distribution contains wrong license
[SERVER-7428] - can't lock_W, threadState=119; cero_prod Fatal Assertion 16114
[SERVER-7434] - Startup race with --fork
[SERVER-7435] - Windows stack trace isn't specifying symbol search path
[SERVER-7511] - update code does not properly determine if a positional mod is indexed, fix Mod::isIndexed()
[SERVER-7523] - Update THIRD-PARTY-NOTICES file with recent open-source additions
[SERVER-7614] - Top command shouldn't require db lock
[SERVER-7660] - findAndModify causes exception when "new" and "upsert" are true and a sort is provided (with auth enabled)
[SERVER-7704] - Shard == operator doesn't handle replica set changes well.
[SERVER-7706] - Need to include MIBs in subscribers edition
[SERVER-7787] - linenoise_utf8.cpp can read uninitialized memory, trigger Valgrind
[SERVER-7869] - Display error code when logRotate is unable to rename log file
[SERVER-7958] - GLE on sharded cluster can return previous operation's lastError
[SERVER-8000] - win64-bit 2.2.3-pre failing on sharding_balance4.js
[SERVER-8097] - Inserts don't increment writebacksSince
[SERVER-8112] - don't use shardconnection for auth in 2.2
[SERVER-8117] - listDatabases should always get config/admin dbstats from config servers
[SERVER-8128] - ShardConnection::sync() during autosplit is not logged in with _system user
[SERVER-8132] - slowness in mongos when dealing with replset due to getServerAddress() calls
[SERVER-8255] - backport sorted chunk cursor to 2.2
Improvement
[SERVER-7343] - Support $within without a geo index
[SERVER-8081] - During a chunk migration, log when destination shard begins cloning chunk data from the source shard.

下载:32位 http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.2.3.tgz

64位 http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.2.3.tgz

源码 http://downloads.mongodb.org/src/mongodb-src-r2.2.3.tar.gz

来自:开源中国社区
文章评论

共有 0 条评论