分布式文档数据库MongoDB 2.0.5发布

数据库 分布式 MongoDB
MongoDB已经发布2.0.5版本,主要包括多个BUG改进。MongoDB是一个介于关系数据库和非关系数据库之间的产品, 是非关系数据库当中功能最丰富,最像关系数据库的。

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-05-09发布2.0.5正式版。上一个版本是2011-03-20的2.0.4.这个版本经过1个RC.包括如下改进

Bug
[SERVER-1163] - Writing 44K records a second and mongod.exe gives 'FlushViewOfFile failed 33' warning and then a client issue
[SERVER-2988] - mongos fails to start initially when any config server is unavailable
[SERVER-4385] - SyncClusterConnection should refresh sub-connections on recieving exceptions
[SERVER-4388] - newly sharded collection requires config info reload on the mongod
[SERVER-4619] - Relinquishing primary should be done in write lock
[SERVER-4680] - Inconsistent query results on large data and result sets
[SERVER-4777] - 'weird case' assertion when mods on two nested fields are applied to a document with a duplicated field name
[SERVER-4810] - If a replica set member with higher priority comes online, current primary relinquishes primary state
[SERVER-4812] - killcursor messages sent via piggyback data, which may be sent later or not at all
[SERVER-5093] - shard3.js memory corruption in Linux 64-bit build
[SERVER-5110] - ReplicaSetMonitor::check not thread safe wrt _master
[SERVER-5140] - SConstruct new smoke_python_name() hangs compilation
[SERVER-5187] - mongod --shutdown flag should ignore the fork option
[SERVER-5220] - Assertion error with data sets being in same order on master and slave during drop_dups.js test
[SERVER-5221] - Collections remaining on slave at end of small oplog tests
[SERVER-5348] - Redefinition of macros while using the C++ driver makes it unusable with larger application code
[SERVER-5357] - Map/Reduce operation writes output data in primary node of replica set but not in secondary nodes
[SERVER-5358] - After an upgrade, --shutdown fails to shutdown the old version of mongod
[SERVER-5384] - segfault attempting mapreduce with --noscripting
[SERVER-5404] - reconfig.js fails on mismatched error messages
[SERVER-5406] - mongos does not allow new connections for 30 seconds->a couple minutes when an rs member goes down
[SERVER-5449] - Assertion failure writing to journal file
[SERVER-5469] - can leak small extents after a drop()
[SERVER-5541] - crash in C++ client driver during shutdowing primary mongo server from repset
[SERVER-5542] - Race during static destruction of CommitJob object
[SERVER-5569] - objid6.js failing on dur_passthrough
[SERVER-5678] - assert in mongos_no_detect_sharding.js on 2.0 branch
[SERVER-5754] - Initial sync assertion error with 2.0.5-rc0
Improvement
[SERVER-5645] - When applying changes in MigrateStatus::apply(), acquire the lock for each change, not for all changes
下载:32位 http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.5.tgz

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

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

【编辑推荐】

  1. MongoDB 2.0 正式版发布
  2. MongoDB 2.0新功能逐个看之Compact Command
  3. 主流NoSQL数据库全方位评测之MongoDB
  4. 教你如何利用MySQL学习MongoDB
  5. 在Windows环境下MongoDB搭建和简单操作
责任编辑:彭凡 来源: 开源中国社区
相关推荐

2011-03-18 08:51:23

MongoDB分布式文档

2012-02-27 09:17:24

JavajOOQ

2013-07-04 10:03:27

JSONRethinkDB

2010-09-09 08:42:28

MongoDB

2020-10-30 09:04:44

PyTorch 1.7分布式训练API

2010-03-30 10:07:37

NoSQL数据库

2009-04-01 09:13:30

LINQSLINQC#

2013-11-29 09:58:27

巨彬软件NoSQL文档型数据库

2021-11-08 10:52:02

数据库分布式技术

2011-10-27 10:02:58

Apache Derb

2010-05-18 16:33:10

eXtremeDB 4

2020-06-11 08:26:54

MongoDB数据库分布式

2012-06-17 13:26:07

MongoDBJava

2023-12-05 07:30:40

KlustronBa数据库

2014-06-30 14:20:05

NoSQL数据库

2021-12-20 15:44:28

ShardingSph分布式数据库开源

2013-04-26 16:18:29

大数据全球技术峰会

2023-03-26 12:43:31

数据库KeyValue

2009-12-31 09:51:59

BeansDB键值存储
点赞
收藏

51CTO技术栈公众号