Official siste:
http://www.mongodb.org/
MongoDB Manual Contents:
http://docs.mongodb.org/manual/contents/
Java relates( especially Java Language Center ):
http://docs.mongodb.org/ecosystem/drivers/#java
MongoDB API Docs for java:
http://api.mongodb.org/java/
Spring Data MongoDB - Reference Documentation:
http://static.springsource.org/spring-data/data-mongodb/docs/current/reference/html/index.html
The Little MongoDB Book: (即附件)
http://openmymind.net/mongodb.pdf引用
To get started, there are six simple concepts we need to understand.
1. MongoDB has the same concept of a database with which you are likely already familiar (or a schema for you Oracle
folks). Within a MongoDB instance you can have zero or more databases, each acting as high-level containers for
everything else.
2. A database can have zero or more collections. A collection shares enough in common with a traditional table
that you can safely think of the two as the same thing.
3. Collections are made up of zero or more documents. Again, a document can safely be thought of as a row.
4. A document is made up of one or more fields, which you can probably guess are a lot like columns.
5. Indexes in MongoDB function much like their RDBMS counterparts.
6. Cursors are different than the other five concepts but they are important enough, and often overlooked, that I
think they are worthy of their own discussion. The important thing to understand about cursors is that when you
ask MongoDB for data, it returns a cursor, which we can do things to, such as counting or skipping ahead, without
actually pulling down data.
与 RDBMS 对应关系:
collection vs. table, document vs. row and field vs. column
http://docs.mongodb.org/manual/reference/sql-comparison/
MongonDB Shell:
# 查看帮助;这个最有用!其他的大体都在里头
> help
# display current database
> db
# remove all documents from a collection, 注意只是删除该collection中的所有documents,并不删除该collection
> db.<collection_name>.remove()
# drop collection from the database,这个才是删除 collection,整个 collection,包括其中的 documents 和其对应的 indexes,都将被彻底删除,该 collection 在被 drop 后将不复存在
> db.<collection_name>.drop()
分享到:
相关推荐
mongodb document pdf nosql database
Big Data, MongoDB not only enables the user in understanding the buzz words “Big Data” and “NoSQL”, it also delves in understanding one of the popular document-based NoSQL databases “MongoDB”....
MongoDB experts Navin Sabharwal and Shankatala Gupta Edward introduce readers to MongoDB – the leading document based NoSQL database, acquainting them step by step with all aspects of MongoDB....
Pro MongoDB Development is about MongoDB, a NoSQL database based on the BSON (binary JSON) document model. The book discusses all aspects of using MongoDB in web applications: Java, PHP, Ruby, ...
Architecting, Developing, and Administering MongoDB begins with a short introduction to the basics of NoSQL databases and then introduces readers to MongoDB—the leading document based NoSQL database,...
MongoDB provides users with a NoSQL document database system whose advantages are related to scalability (being capable of handling large data sets) and dynamic schema structuring, which enables you ...
MongoDB, a cross-platform NoSQL database, is the fastest-growing new database in the world. MongoDB provides a rich document-oriented structure with dynamic queries that you’ll recognize from RDBMS ...
MongoDB is one of the biggest players in the NoSQL database market, providing high performance, high availability, and automatic scaling. It’s an open-source document database written in C++ and ...
MongoDB Basics, from The Definitive Guide to MongoDB, 2E, shows you how a document-oriented database system differs from a relational database, and how to install and get started using it. You'll ...
The MongoDB database is a well-recognized rising star in the NoSQL world. It is a document database that allows data persistence and enables you to query data in a nested state without any schema ...
MongoDB experts Navin Sabharwal and Shankatala Gupta Edward introduce readers to MongoDB – the leading document based NoSQL database, acquainting them step by step with all aspects of MongoDB....
Manage your data in a database system designed to support modern ... Ideal for NoSQL newcomers and experienced MongoDB users alike, this book also includes many real-world schema design examples.
Application developers love MongoDB, a document-oriented NoSQL database, for its speed, flexibility, scalability, and ease of use. MongoDB is well-suited as a back-end for modern web applications. Its...
mongodb win32 官网安装包zip包解压后使用rar重新压缩。 MongoDB (from "humongous") is an open-source document database, and the leading NoSQL database. Written in C++
MongoDB in Action introduces you to MongoDB and the document-oriented database model. This perfectly paced book provides both the big picture you'll need as a developer and enough low-level detail to ...
With this authoritative introduction, you’ll learn the many advantages of using document-oriented databases, and discover why MongoDB is a reliable, high-performance system that allows for almost ...
MongoDB (from "humongous") is an open-source document database, and the leading NoSQL database. Written in C++, MongoDB features:
MongoDb是一种非关系型的数据库(Nosql)相比关系型数据库其中之一的好处是它有灵活 的拓展字段, 二、MongoDB结构 MongoDB的数据模型是面向文档性的,这里的文档指的是类似json的机构。 MongoDB层次机构如下图,...
mongodb win64位版 MongoDB (from "humongous") is an open-source document database, and the leading NoSQL database.
mongodb win64位版 MongoDB (from "humongous") is an open-source document database, and the leading NoSQL database.