# #简单的mongodb入门命令 # #1.show dbs; View Current Database2.use DatabaseName; Select Library3.show tables/collections; See which tables are in the database4.db.help (); View some of the operations commands for database5.mongodb Library is created
1. Download Mongondb.2. After the installation is complete3. Create data directory: (e.g. C: \ or D:\. such asCreate a new data directory under the directory. For storing the DB directory. C:\MongoDB\data\db4. command to run the MongoDB server:A. In
1. First download the PHP mongodb extension from this URL to download MongoDB extension source package from Http://pecl.php.net/package/mongo this URL to download MongoDB extension source Package wget/HTTP PECL.PHP.NET/GET/MONGO-1.4.5.TGZ2.
1. First download the MongoDB installation package on the official website:Http://www.mongodb.org/downloadsHTML5 Training App Development quote check others SMS Content Android app development credit card goodHere we download the zip format download,
Map-reduce is a computational model, which simply means that a large amount of work (data) decomposition (MAP) is performed, and then the results are combined into the final result (Reduce). Basic syntax for the MapReduce
a . Preparation before use ( installation under Windows) 1. DownloadAt present MongoDB 's official website does not know to ask what cannot carry on the download, but can download in the mongodb Chinese Forum, The address is as
MongoDB is a scalable, high-performance, open-source NoSQL document database. The main use of C + + development completed. Document-oriented storage, full-index support, replication and high-availability, auto-sharding features. It is the most
A. Installing the Mongoose Library to link the MongoDB database
Installing MongoDB Database Reference MongoDB installation Preface (complaint)Originally wanted to install MongoDB library to link MongoDB, command line to nodejs Project
Replica sets (replica set) is a new feature that starts with the mongodDB1.6 version number. It can realize fault self-switchover and self-active repair function member node function, the data between each db is identical, greatly reduces the risk
Company database migration, so add a bit of knowledge:1 Import and export of collectionsCommand-line help Mongoexport--helpExportExport Newsserver database under News collectionmongoexport-d newsserver-c News-o D:\data\news.jsonSame as above, but
Sharding1. sharding (sharding) refers to the process of splitting data and spreading it across different machines. This concept is sometimes represented by partitioning (partitioning). Spread the data across different machines without the need for
This article is mainly about the PHP in addition to adding additions and deletions to change some of the other operations.In the PHP operation MongoDB in the increase and deletion of the article we introduced the addition of MongoDB in PHP, delete,
Installing the service sideYum Install Mongodb-serverInstalling the ClientYum Install MongoDBVersionMONGO--versionIs MongoDB installed?Which MongodHistory | grep MONGOMkdir-p/data/db/StartMongod--dbpath=/data/db--port=27017Off, also available for
Basic Environment:Due to resource constraints, only 3 VMs have a relationship, only two replicaset, each machine configuration is as follows:10.10.1.55 This machine installs Primary1,configserver1, Arbiter110.10.1.56 installation
Basically follow the steps of this blog to operate:Http://blog.51yip.com/nosql/1578.htmlBut there are still some errors, such as restarting MongoDB saying that the file could not be foundYou can use the command line at this
MongoDB's replication configuration is simpler than MySQL and feels smarter.The configuration is very simple, let's briefly introduce the environment:Primary OneSecondary OneArbiter OneThree machines, respectively, are linked together by a 10.10.1.0
Do you encounter performance problems when using MongoDB? Here is a summary of the five steps of MongoDB performance optimization, which I hope will help. First step: Find the slow statement In general, query statements are too slow and performance
Redis-related gadgets: redis-load and redis-stat
Redis-load and redis-stat are two gadgets written by Redis author antirez:
Redis-load is a stress testing tool for Redis. redis-stat is a Redis status monitoring tool.
See
Introduction to MC & Redis & Ehcache
I haven't updated my blog for a long time. I hope I can continue writing my blog later. Now I find this is a great process. I 've sorted out the usage and introduction of cache a long time ago. Now I post it as
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