NoSQL数据库,MongoDB 2.0.3 发布

openkk 12年前
     <div id="p_fullcontent" class="detail">     <p>MongoDB是一个介于关系数据库和非关系数据库之间的产品, 是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的bjson格式,因此可以存储比较复杂的数据类型。 Mongo最大的特点是他支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现类似关系数据库单表查询的绝大部分功能,而且还支持 对数据建立索引。</p>     <p>它的特点是高性能、易部署、易使用,存储数据非常方便。主要功能特性有:</p>     <ul>      <li>面向集合存储,易存储对象类型的数据。 </li>      <li>模式自由。</li>      <li>支持动态查询。 </li>      <li>支持完全索引,包含内部对象。 </li>      <li>支持查询。 </li>      <li>支持复制和故障恢复。 </li>      <li>使用高效的二进制数据存储,包括大型对象(如视频等)。</li>      <li>自动处理碎片,以支持云计算层次的扩展性</li>      <li>支持RUBY,PYTHON,JAVA,C++,PHP等多种语言。</li>      <li>文件存储格式为BSON(一种JSON的扩展)</li>      <li>可通过网络访问</li>     </ul>     <p>所谓“面向集合”(Collenction-Orented),意思是数据被分组存储在数据集中,被称为一个集合(Collenction)。每个 集合在数据库中都有一个唯一的标识名,并且可以包含无限数目的文档。集合的概念类似关系型数据库(RDBMS)里的表(table),不同的是它不需要定 义任何模式(schema)。<br /> 模式自由(schema-free),意味着对于存储在mongodb数据库中的文件,我们不需要知道它的任何结构定义。如果需要的话,你完全可以把不同结构的文件存储在同一个数据库里。<br /> 存储在集合中的文档,被存储为键-值对的形式。键用于唯一标识一个文档,为字符串类型,而值则可以是各中复杂的文件类型。我们称这种存储形式为BSON(Binary Serialized dOcument Format)。</p>     <p>MongoDB服务端可运行在Linux、Windows或OS X平台,支持32位和64位应用,默认端口为27017。推荐运行在64位平台,因为MongoDB</p>     <p>在32位模式运行时支持的最大文件尺寸为2GB。</p>     <p>MongoDB把数据存储在文件中(默认路径为:/data/db),为提高效率使用内存映射文件进行管理。</p>     <p>2012-02-28发布2.0.3正式版。上一个版本是2011-12-14的2.0.2.这个版本经过两个RC.包括如下改进</p>     <h2>Bug</h2>     <ul>      <li>[<a href="/misc/goto?guid=4958331067739388132">SERVER-3112</a>] - mongo* tools logs should not log to stdout (broken w/--out -)</li>      <li>[<a href="/misc/goto?guid=4958331068540504199">SERVER-3641</a>] - support mongostat through mongos with authentication</li>      <li>[<a href="/misc/goto?guid=4958331069351183101">SERVER-3672</a>] - use min(majority, all "real" nodes) for majority</li>      <li>[<a href="/misc/goto?guid=4958331070156592183">SERVER-3763</a>] - when one shard goes down, mongos starts returning failure in getlasterror for all the shards, to already connected client.</li>      <li>[<a href="/misc/goto?guid=4958331070952177743">SERVER-3817</a>] - Increment opcounters for bulk insert</li>      <li>[<a href="/misc/goto?guid=4958331071759018346">SERVER-3939</a>] - Rollback is trying to log something in the oplog</li>      <li>[<a href="/misc/goto?guid=4958331072548510154">SERVER-4115</a>] - copyCollectionFromRemote needs to authenticate</li>      <li>[<a href="/misc/goto?guid=4958331073347842355">SERVER-4238</a>] - Make sure authentication always happens when a ScopedConn connects</li>      <li>[<a href="/misc/goto?guid=4958331074154377139">SERVER-4387</a>] - command should force reload of config data after multiple stale config exceptions</li>      <li>[<a href="/misc/goto?guid=4958331074952648490">SERVER-4399</a>] - mongos doesn't always update shards in response to replica set changes</li>      <li>[<a href="/misc/goto?guid=4958331075751068622">SERVER-4400</a>] - attempt to record query plan for a dropped cursor triggers bad file number assertion</li>      <li>[<a href="/misc/goto?guid=4958331076541134256">SERVER-4401</a>] - query optimizer cursor may return partial result set for a $or query if the last index match for a $or clause is deleted while it is "current"</li>      <li>[<a href="/misc/goto?guid=4958331077341683148">SERVER-4474</a>] - Initial sync should ignore capped collection dup key error, too</li>      <li>[<a href="/misc/goto?guid=4958331078134448140">SERVER-4546</a>] - Oplog replay can assert on initial sync if there's no _id index on a capped collection</li>      <li>[<a href="/misc/goto?guid=4958331078927455166">SERVER-4547</a>] - Disable full restore of sharded cluster</li>      <li>[<a href="/misc/goto?guid=4958331079730393235">SERVER-4591</a>] - MongoDB 2.0.2 fails to build: 'str' object has no attribute 'rpartition'</li>      <li>[<a href="/misc/goto?guid=4958331080519782984">SERVER-4626</a>] - If update does not contain an _id in criteria, sync apply can assert and get stuck</li>      <li>[<a href="/misc/goto?guid=4958331081318775191">SERVER-4634</a>] - --use-system-all (and --use-system-snappy?) don't actually use system snappy</li>      <li>[<a href="/misc/goto?guid=4958331082113557372">SERVER-4643</a>] - one of the shard is down</li>      <li>[<a href="/misc/goto?guid=4958331082910028360">SERVER-4665</a>] - Querying against sparse index creates bad state, affecting later queries</li>      <li>[<a href="/misc/goto?guid=4958331083712206302">SERVER-4695</a>] - getLog auth checks needs backport</li>      <li>[<a href="/misc/goto?guid=4958331084505621399">SERVER-4699</a>] - mongos can segfault after primary failover</li>      <li>[<a href="/misc/goto?guid=4958331085300371644">SERVER-4712</a>] - Shards crash fairly frequently when memory is low</li>      <li>[<a href="/misc/goto?guid=4958331086100118661">SERVER-4714</a>] - ScopedConn is segfaulting</li>      <li>[<a href="/misc/goto?guid=4958331086900770978">SERVER-4745</a>] - Figuring out which shard to send a query to takes a long time when doing large $in queries on the shard key</li>      <li>[<a href="/misc/goto?guid=4958331087682695606">SERVER-4749</a>] - fix concurrency api when using openssl</li>      <li>[<a href="/misc/goto?guid=4958331088489342109">SERVER-4765</a>] - sharded currentOp doesn't actually pass query</li>     </ul>     <h2>Improvement</h2>     <ul>      <li>[<a href="/misc/goto?guid=4958331089288839408">SERVER-2612</a>] - support logRotate under windows</li>      <li>[<a href="/misc/goto?guid=4958331090082396277">SERVER-4673</a>] - Don't lock authenticate command if we don't need to</li>      <li>[<a href="/misc/goto?guid=4958331090885704682">SERVER-4780</a>] - Improve Memory Leak Warning Message</li>     </ul>     <p>下载:32位 http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.3.tgz</p>     <p>64位 http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.3.tgz</p>     <p>源码包 http://downloads.mongodb.org/src/mongodb-src-r2.0.3.tar.gz</p>    </div>