ITeye博客

mongodb初探

ully · 2012-03-08 13:29 · mongodb · 开源软件 · Markdown

简单使用了下mongodb,发觉整个从安装到试用都相当人性化,这一点比早几年的东东强了不少。

 

  • 感性认识

mongodb不同与关系型数据库,它是文档型nosql数据库,顾名思义,它擅长的是存储海量数据,并且是schema-free的 也就是没有传统意义的表结构。在使用上更加的灵活。关于它的一个最简洁描述为:scalable, high-performance, open source, schema-free, document-oriented database。在使用上,完全就是和使用map,list的感觉一样。并且它提供一整套关系查询的方法便于像关系数据库那样进行查询统计,并且它的查询效率所有属性都很高并未像关系数据库那样只是索引字段比较好。

官方的介绍:

  • Document-oriented storage

     JSON-style documents with dynamic schemas offer simplicity and power.

  • Full Index Support

     Index on any attribute, just like you're used to.

  • Replication & High Availability

     Mirror across LANs and WANs for scale and peace of mind.

  • Auto-Sharding

     Scale horizontally without compromising functionality.

  • Querying

     Rich, document-based queries.

  • Fast In-Place Updates

     Atomic modifiers for contention-free performance.

        hold不住了吧,那就先使用monogo提供的在线环境,试试看:

       http://www.mongodb.org/# Try it out

  • 下载

支持n多版本,直接下载即可:http://www.mongodb.org/downloads

  • 安装

安装也比较简单http://www.mongodb.org/display/DOCS/Quickstart

  • 试用

http://www.mongodb.org/display/DOCS/Tutorial#Tutorial-RunningMongoDB

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。