These days through reading and find information, learning the Shard cluster mode, at first I really did not see too understand
Feelings are mostly tangled in the relationship between several concepts
Configure the server
Sharding
Capped Collection Fixed Set Simple Introduction Capped collections is a well-performing, fixed-size collection that performs used (aging-out) processing with LRU (Least recently age-out Least recently used) rules and insertion order, automatically
Windows 8 Installation MongoDB1. Download the installation packageHttp://www.veryhuo.com/down/html/mongodb.html2. Unzip to the D:/mongodb directory.3. Add the D:/mongodb/bin to the path of the system environment variable.4. Open cmd as Administrator
Recently in learning node. js, MongoDB is used as a database in the project of the instance. The installation process and the pits encountered by MongoDB are then recorded:1. DownloadAddress: Http://www.mongodb.org/downloads (32-bit or 64-bit choice)
Use MongoDB as a database under Ubuntu.Installation:I use the 64-bit system to download at this URL:Http://downloads.mongodb.org/linux/mongodb-linux-x86_64-1.4.4.tgz32-bit:Http://downloads.mongodb.org/linux/mongodb-linux-i686-1.4.4.tgzAlways see
Someone on the Quora asked: What is the organizational structure inside the MongoDB data file ? Then 10gen engineer Jared Rosoff came out to do a short answer. Each database has its own separate files. If you turn on the DIRECTORYPERDB option, the
MongoDB Common Command Scripting-automated OPS writes the MONGODB commands commonly used in operations into shell scripts, greatly facilitates maintenance1 Modifying the settings of a replica set#!/bin/bash#mongodb Enter the client and enter
1.1 Viewing the operating system version1.2 Verify whether the current Yum library contains MongoDB1.3 Configuring a Yum source with MongoDB1.4 Verify MongoDB in the Yum Library again1.5 Yum Library installation MongoDBFor the convenience of
Go from http://www.blogjava.net/waterjava/archive/2011/03/23/346819.html command line
--help
Display command line arguments
--nodb
Start without a database connection, and you can later use new Mongo () or
First, using Yum to install MongoDB1. Configure the Yum sourceAdd 10gen.repo files to the/etc/yum.repos.d/directoryVi/etc/yum.repos.d/10gen.repo[10gen]Name=10gen RepositoryBaseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64gpgcheck=02.
1. Add the user to the TD database using use TD and then execute Db.adduser ("name", "password"); can be added;2. Enable users to use Db.auth ("name", "password");3. Generally in the project we want to enable security checks, in the configuration of
Operation of ====================================mgdb ======================================0. The database is created using the (use database name), but if you do not have any other operations (such as a given list) to exit directly after the usage
Brief introductionMongoDB is a database based on distributed file storage. Written by the C + + language. Designed to provide scalable, high-performance data storage solutions for Web applications. MongoDB is a high-performance, open-source,
MongoDB defaults to No access restrictionsNote: Windows-based platforms MongoDB after the native installation is well-deployed1. Enter the command: Show DBS, you will find it built with two databases, one named admin, one named Local. Local does not
Group BY query do not use the Java drive with the group by, to use the 2.2 version of the aggregate aggregation framework, after the test speed of one times fasterReferenceOfficial website:
The MongoDB fixed collections (Capped Collection) and large file management (GRIDFS) Capped Collection fixed collections (Capped Collection) are well-performing with fixed-size collections to LRU (Least Recently used the least recently used) rule
Installing MongoDB
First step: Download the installation package: official ← Click here, if the win system, note whether the 64-bit or 32-bit version, please select the correct version.
Second step: Create a new directory "D:\MongoDB"
MongoDB supports failover and implementation redundancy across multiple machines through asynchronous replication. Only one machine is used for write operations at the same time in multiple machines, and because of this, MongoDB provides the
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