MongoDB 2.4 Enterprise Edition Analysis
Author: chszs, reprinted with note. Blog homepage: http://blog.csdn.net/chszs
MongoDB v2.4 was released in March 19. It introduced the built-in text search function, hash-based sharding, and expected
I tried phpMyAdmin a few days ago. It is fully functional and easy to use. I have also seen some MongoDB management tools recommended by nosqlfan before, so I want to give it a try. Several trial tools are recommended in MongoDB management tools,
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
Super User-related: Hide and expand the copy code
Use Admin
# Adding or modifying user passwords
DB. adduser ('admin', 'pwd ')
# Viewing the user list
DB. system. Users. Find ()
# User Authentication
DB. Auth ('admin', 'pwd ')
#
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.
From:
Http://apan.me/index.php/2011/05/01/mongodb%E8% AE %BE%E8% AE %A1%E8%A6%81%E7%82%B9/
A while ago, when studying auto-scaling, I learned about MongoDB. Here I will briefly record the key points of its design.The official website of MongoDB is
Recently, I need to start studying MongoDB. I am going to look at its source code, provide an essential understanding of mongod and mongos service architectures, sharding policies, replicaset policies, data synchronization and Disaster Tolerance,
Generally, the ID field of a relational database is a self-increasing numeric type, but the _ id field of MongoDB is very strange. It can be unique, but it is not a simple type, not a number, it is not a string. I almost thought it was a string when
By default, MongoDB does not need to enter the user and password, so the client can log on. This security problem is serious.
There are also many examples on the Internet, but there are also many details that many people have not noticed me here by
MongoDB provides the replica pairs mode to start the database. After the database is started in this mode, the database automatically negotiates who is the master and who is the slave. Once a database server loses power, the other server
DbrefIs a more formal specification for creating references between documents. dbrefs (generally) include a collection name as well as an object ID. Most developers only use dbrefs if the collection can change from oneDocument to the next. If your
When talking about big data and unstructured data, if you only know Oracle, MSSQL, MySQL, and other relational databases, but do not know anything about non-relational databases such as MongoDB, it seems a little out of sync with the times. In view
MongoDB binary installation and configuration
MongoDB 1.6.5 x64
Ubuntu 10.10x64
Download
Http://www.mongodb.org/downloadsLinux 64-bit is a compiled package, which can be decompressed
Unzip and install
Decompress the package to/usr/local/mongodb-1.6
A properly configured Mongodb sharding cluster does not have a single point of failure.This article describes several potential node failure scenarios in a sharded cluster and how Mongodb handles these node faults.1. Mongos node downA Mongos process
After building the cluster, you need to create a database, create a table, and set the partition primary key to initialize data!
(1) create a WLB database and set the table shards wlb_orders
D:/mongodb-win32-i386-1.8.0/CMD> Cd D:/mongodb-win32-i386-1
There are two ways to store files in MongoDB in the gridfsb mode: 1. Command Line program files 2. client-side driver programming (using Java as an example)
1. Command Line Program Files
You can insert file data to the MongoDB database under the
I was not very busy recently. I just wanted to play with nosql. After reading the MongoDB tutorial, I was attracted by its simplicity. So I couldn't help but want to write out the results of the morning search and share them with me, it's worth
In this article, we will briefly demonstrate how to insert an object into MongoDB, modify an object, and delete an object. First, we need to create two classes for testing.
First, establish a database connection. The following Code creates a Blog
The previous article explains how to use MongoDB for replication, but I use BSON Object to save files. This limitation is that if the file size exceeds 4 MB, an exception occurs.
According to the official website,BSON objects in MongoDB are limited
Download:
On the official website: http://www.mongodb.org/downloads system download, my system is win7 32-bit, naturally downloaded the http://downloads.mongodb.org/win32/mongodb-win32-i386-2.2.0.zip
Configuration:
1. create d: \ mongodb on disk D:
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.