I. MongoDB database Introduction
Introduction
MongoDB is a high-performance, open-source, non-pattern-based, distributed file storage-based document-type database written in C ++. Its name source is from "hu
Mongo"Us" is an open source document database-NoSql database. NoSql stands for Not Only SQL, which is a non-relational database.
Features
Apsaradb for MongoDB features high performance, ease of deployment, and ease of use, making it easy to store data. Features:
* It is designed for set storage and is easy to store object-type data.
* Free mode.
* Supports dynamic query.
* Full indexes are supported, including internal objects.
* Query is supported.
* Supports replication and fault recovery.
* Use efficient binary data storage, including large objects (such as videos ).
* Automatic fragment processing to support cloud computing-level scalability
* Supports RUBY, PYTHON, JAVA, C ++, PHP, and other languages.
* The file storage format is BSON (a json extension)
* Accessible through the network
Ii. MongoDB Database Installation
Official MongoDB: http://www.mongodb.org/downloads
Steps for installing MongoDB in Windows:
Install configurations
1. Download The MongoDB installation package. Because my computer is win7 64bit, I download mongodb-win32-x86_64-2008plus-2.2.7.zip 2. Create the directory "D: \ app \ mongodb" and copy the decompressed file to "D: \ MongoDB "Directory;
3. Create the directory "D: \ app \ upload data" to store the database.
Start MongoDB Server
1. Execute the following statement in the cmd window:
> Cd/d D: \ app \ mongodb \ bin \
> Mongod -- dbpath D: \ app \ mongodata
2. Prompt page for successful startup
3. Open the MongoDB server in a browser
Open http: // localhost: 27017/in the browser and you can see the following content:
You are trying to access MongoDB on the native driver port. For http diagnostic access, add 1000 to the port number
Note: add the Path D: \ app \ mongodb \ bin to the Path of the system environment variable, so you do not need to start it in the bin directory of mongoDB every time.
Iii. MongoDB database visualization tools
RockMongo
Http://code.google.com/p/rock-php/downloads/list