This article mainly introduces the MongoDB security configuration, this article from the domestic security manufacturers cloud platform, explain or more comprehensive, need friends can refer to the
0x00 MongoDB Permissions Introduction
1.MongoDB
MONGDB Performance pressure test, random query, data volume 100 million records
Operating system centos6.4x64 bit
From the test results, when MongoDB all the data into memory, query speed according to the size of the document, performance
Objective
In MongoDB (version 3.2.9), a fragmented cluster (sharded cluster) is a way to extend the performance of the database system horizontally, storing the data set distributed on different slices (shard), each fragment saving only part of the
Master and slave configurationMongoDB's Master-slave mode configuration is as follows1.keyFileGenerate Key_file
OpenSSL rand-base64 741 > Mongo_key
Place Mongo_key in the places where master and slave MongoDB user can access.Set
Database backup –mongodump
Back up all local MongoDB databases:
Copy Code code as follows:
# mongodump-h 127.0.0.1--port 27017-o/root/db/alldb
To back up a remote specified database:
Copy Code code as follows:
We are always in contrast to see their strengths and weaknesses, for MongoDB is also the same, comparative learning let us as soon as possible to grasp the basic knowledge about MongoDB.
MongoDB vs. mysql command
A relational database is generally
In order to save user data and business data for a Web site, a database is usually required. MongoDB and Node.js are particularly well matched, because MongoDB is a document-neutral database, the document is stored in Bson (the lightweight binary
Copy Code code as follows:
Connect localhost:27017
$conn = new Mongo ();
Connecting to the remote host default port$conn = new Mongo (' test.com ');
Connecting to remote host port 22011$conn = new Mongo (' test.com:22011 ');
MongoDB
Introduction of MongoDBMongoDB (name from "Humongous") is an extensible, high-performance, open source, schema free, document-oriented database with the advantages of a document database, key values for storage and relational databases. Official
In the blogger's bullying for everyone to do a little sharing, hereby affirms that Bo Master product very simple is a bully, absolutely no inducements.
Due to the mongodb of the relevant Chinese information is less, then if there is a chance to
What is MongoDBMongoDB is written by the C + + language and is an open source database system based on distributed file storage.In the case of high load, adding more nodes can guarantee the performance of the server.MongoDB is designed to provide
First, installation1, visit MongoDB's official website http://www.mongodb.org/downloads Download 64bit package, I download is mongodb-win32-x86_ 64-2008plus-ssl-3.4.1-signed.msi2. Create D:/mongodb3, click on the package
Because the computer reinstalled the system, so to reinstall the development environment, according to a previously written blog described the steps to install, found that reported some errors, the following are the problems encountered and
First, Reason:MongoDB ransomware Events in recent days have been rampant: because of open access to the external network and have not opened the authorization mechanism was deleted library, remote drag library, ransomware. the Elasticsearch was then
one of the most foolish steps under Ubuntu ( below are the actions under the root user ): 1. Run "apt-get install MONGO"Run "apt-get update" If the installation package is not found2. You should automatically run the Mongod program after you
First contact with MongoDB reference & paste: http://jingyan.baidu.com/article/ed15cb1b52b8661be2698162.htmlOne. Installation1. First go to the official website to downloadGo to all versions and choose a slightly less new version-because before
Mongodb database backup and recovery in windowsI can talk about data backup to the c: \ data \ dump directory, first create this path. Go to the bin directory of mongodb.Mine is:C: \ Program Files \ mongodb \ binThe backup script is:// BackupExport
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.