1. go firstDownload http://www.mongodb.org/downloads
Here, the Windows XP system 2.0.7 is used,
Create a folder MongoDB on drive C, download the folder, and decompress it here (you can customize the location). In the MongoDB folder, create
Set up the MongoDB replica sets mode. This article is tested in version 2.0.5.
Mongo: http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.5.tgz
Decompress the package to the/usr/local/MongoDB/directory.
Assume that there are three servers,
Over the past two days, I 've been thinking about whether I can build a lightweight. Net blog publishing system... All things are lightweight. I want the system to be based on the Asp.net MVC Framework, so I chose the following components to
1. Download the driver
C # DRIVER:
Remote download: http://cloud.github.com/downloads/mongodb/mongo-csharp-driver/CSharpDriver-1.1.0.4184.zip
Download CSharpDriver-1.1.0.4184.zip locally
Decompress it to the D: \ MongoDB \ drivers \
MongoDB is an open source database project based on distributed file storage. Written in C ++. It is designed to provide a high-performance data storage solution that can be expanded for Web applications.
It features high performance, ease of
MongoDBDocument usageBson(Binary JSON) To organize data,BsonSimilarJSON,JSONIt's just a simple way to represent data. It only contains6Data Types (Null, Boolean, number, String, array, and object), cannot fully meet the needs of complex business,
Mongovue, a fairly good MongoDB manager with a read-only free version.
Mongod.exe -- dbpath D: \ mongodb-win32-i386-2.0.2 \ bin \ data
Use MongoDB in C #
First, download MongoDB from the Internet. Go to http://www.mongodb.org/and find the
First, download MongoDB from the Internet. Go to http://www.mongodb.org/and find the download address of the latest website.
This is my download.
Create a folder on the E drive, decompress the downloaded ZIP file, and copy all the files in the bin
This article mainly introduces the MongoDB Log Module and the code implementation method of the data persistence storage module. You may be surprised why the Log Module and persistent storage module will be summarized in an article. Hey, in other
This article by larrylgq prepared, reproduced please note the Source: http://blog.csdn.net/larrylgq/article/details/7395261
Author: Lu guiqiang
Email: larry.lv.word@gmail.com
MongoDB adds user authentication: adds users, deletes users,
MongoDB is a product between relational databases and non-relational databases. It has the most abundant functions and features like relational databases. The supported data structure is very loose and is similar to the JSON bjson format.
There are many ways to install MongoDB. you can install MongoDB in source code or in centos using Yum source. Because MongoDB is updated fast, I prefer the yum source installation method. The installation steps for 64-bit centos are as follows:
1.
Primary learning of MongoDB master-slave Synchronization
MongoDB master-slave Synchronization
MongoDB master-slave synchronization is very simple. Host startup declares that you are the host. when starting the slave, you only need to declare that
The following content is reproduced from http://be-evil.org/install-mongodb-on-centos.html
1. Download The MongoDB database for Linux Go to the official download page to download the Linux version of MongoDB. Choose either 32-bit or 64-bit based on
Geographic location index support is one of the highlights of MongoDB, which is also one of the reasons why Foursquare, the world's most popular lbs service, chooses MongoDB. We know that the general database index structure is B + tree, and how to
Document directory
Original Method
Configuration file Method
Daemon Method
Original Method
The MongoDB function can be used only when the MongoDB service is started. Normally, a command window is opened and the following command is entered
1. MongoDB Shell
Mongo is actually a database shell. It is generally assumed that it runs on the same machine as mongod and that mongod is bound to the default port.
If this is not the case, you can specify these parameters at startup to connect the
1. Download suitable mongodb
Official Website: http://www.mongodb.org/downloads
MongoDB for Windows has three versions:
MongoDB for Windows Server 2008 R2 only runs on Windows Server 2008 R2, Windows 7 64-bit, and updated Windows versions. This
When I first came into contact with MongoDB C ++ development, I found that the C ++ Driver source code package provided by the official team seemed to have some problems. After some hard work, I wrote down the first article here.My Development
Document directory
Internal Structure of MongoDB data files
Implement transactions in MongoDB
MongoDB Data Synchronization
Sharding Mechanism
Server role
The image in this article is from Ricky Ho's blog MongoDB Architecture. This is a very
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service