save: # database path
# log output file path
Logappend=true# error log with append mode
journal=true# Enable log file, enabled by default
quiet=true# This option can filter out some useless log information, if need to debug use please set to False
# the port number defaults to 27017 3. Open the CMD command box CD to the MongoDB Bin directory and start MongoDB with the following command: "C : \pr
having sub-documents?Find a document without any contract records query, found that the results are still, there is no obvious improvement;Exclusion Mode Two: No index created?Create index on search column ID, the result is still;Exclusion method Three: is not the number of documents too large?More than 10,000 lines is just a small number, no reason, MongoDB management tens of millions of documents are no problem, at the time or decided to try, will
databases composed of dozens or hundreds of servers. Its Roadmap includes built-in support for the MapReduce engine.
Unsuitable scenarios:A highly transactional system is required. Traditional Business Intelligence applications. Complex cross-document (table) cascade queries. 2. MongoDB Configuration Overview
Version description:
RedHat: 6.1 x86_64
MongoDB: 2.6.3
First, we go to the official website (http:
the replication and high scalability required for real-time data storage on the site.
Cache. Because of its high performance, it is suitable as a caching layer for the information infrastructure. After the system restarts, the persistent cache layer built by it can avoid overloading the underlying data sources.
High-scalability scenarios. Ideally suited to a database of dozens of or hundreds of servers, its roadmap already includes built-in support for the MapReduce engine.
Scenari
MonjaDB is a MongoDB GUI client tool that provides intuitive MongoDB data management functions and supports Windows, Mac, and Linux. MonjaDB is an Eclipse plug-in that must be installed first.
Main features:
Easy to use
WYSIWYG edit JSON/Table/Tree data
Flexible form Management
"Actions" is a powerful macro-like
"$push" to use "$addToSet", and if you need to add multiple values, you can use it with "$each" so that you can add non-duplicates, as follows: 1 >>> posts.update ({ _id :p ost[" ]},{" : 2 { " tags : {" $each : [ Python , " Each ]}}}) After the addition, the following is deleted, you can think of arrays as stacks and queues, using "$pop" to operate, such as the above: 1 >>> posts.update ({"_id":p ost["_id"]},{ "$pop": {"tags": 1}}) This will remove tags inside the last o
be executed on the server, can write a function in JavaScript, executes directly on the server, or the definition of the function is stored on the server, and the next call can be made directly.
D.10 MongoDB supports a variety of programming languages: RUBY, PYTHON, JAVA, C + +, PHP, C # and many other languages, and MongoDB installation is also very simple.
e because want to focus on the log management
Tags: Ruby tutorials MongoDB Client Database connectionIn Ruby's MongoDB2.4.3 driver version, build a ruby database connection by creating a Mongo::client object. The Mongo::client constructor is available in two ways: one by providing a host list and some optional parameters, and through a connection URI. Create a goo
When we download the installation package from the MongoDB website, it will accompany with a series of tools, the server program Mongod is familiar to us, the client MONGO and performance detection mongostat we may not have used, Today is mainly about the use of MONGO this client command-line tool.Test environment: Server: Li
Http://www.cnblogs.com/shanyou/archive/2011/05/20/2052354.html
MongoDB client terminal vue
Today, I saw a very good MongoDB client tool named mongovue at http://www.mongovue.com /. It's a good job. Version 1.0 starts to charge fees, and the cost is only 35 $. If you really need someone to pay for it, you can buy it. Th
1: First to download the two compressed packagesNote: If Liunx has installed GCC, install it first: Yum installs gcc-c++2: Install redis:redis-3.0.2.tar.gz(1): Extract to Directory: TAR-ZXF redis-3.0.2.tar.gz(2): Execute: Make(3): Execute: Make Prefix=/usr/redis Install (Note: prefix= installation path Install)(4): execution: CP Redis.conf/usr/redis(5): Execution: Note: The last step is to start up in two categories: front-end and background bootFront End:/usr/redis/bin/redis-server (this method
:
Real-time website data processing. It is ideal for real-time insertion, update, and query, as well as the replication and high scalability required for real-time website data storage.
Cache. Because of its high performance, it is suitable for serving as the cache layer of the information infrastructure. After the system is restarted, the persistent cache layer built by the system can avoid data source overload at the lower layer.
High scalability scenarios. It is ideal for databases compo
Installing the MONGODB server1, according to the type of computer system, to the MONGO website to choose the response of the installation package, for:Http://www.mongodb.org/downloadsTake My computer as an example, I downloaded the mongodb-win32-x86_64-3.0.4.zip2, double-click Unzip the installation package, unzip the folder directory as follows:Mongodb-win32-x86_64-3.0.4.zip--bin--gnu-agpl-3.0--readme--thi
Desktop for Windows or Linux.Http://github.com/bububa/MongoHub
Windows:Http://cloud2.appcelerator.net/win32_win32/1bdd2f931d52d518c0b25b31c1f30182/9092b680-4ec3-4538-91ec-b937e644eb79/MongoHub.exe
:
Check a php-based phpmoadmin B/S.:Http://code.google.com/p/phpmoadmin-mongodb-admin-tool-for-php/:
Another one is rewritten based on CouchDB.:Http://github.com/sbellity/futon4mongo
:
MongoDB cluster management
Download the source code:(Put in the /usr/local/src directory)
To the official website http://www.mongodb.org/downloads Download the source code
HTTPS://FASTDL.MONGODB.ORG/LINUX/MONGODB-LINUX-X86_64-2.2.7.TGZ (64-bit)
Https://fastdl.mongodb.org/linux/
Download MongoDB's compression package from the official website. Http://www.mongodb.org/downloadsUnzip the Mongodb-linux-x86_64-2.6.8.tgz[Email protected] downloads]$ tar zxvf mongodb-linux-x86_64-2.6.8.tgz mongodb-linux-x86_64-2
One, Windows download installation1. To http://www.mongodb.org/downloads download, MongoDB is installed by default in C:\Program Files\mongodb directory, to F:\Office\Database\ Mongodbdata New Mongodbdata directory is used to store mongodb data.Execute cmd commandExecutive Mongod.exe2. Setting Environment variablesGo to the Windows environment variable to add C:\
MonjaDB is a MongoDB GUI client tool that provides intuitive MongoDB data management functions and supports WindowsMacLinux.
1. Install the server
1. Download MongoDB
Http://www.mongodb.org/downloads
I downloaded version 1.6.
2. decompress and move all the files in the bin directory of the decompressed package to the/
Label:Original link http://www.oschina.net/question/12_59707 monjadb is a mongodb GUI client tool that provides intuitive MONGODB data management capabilities that support Windows/mac/linux.MONJADB is an Eclipse plugin, you must first install eclipse. Main Features:
Use
WYSIWYG Edit Json/table/tree Data
Very flexible form Management
"Action
PHP+MONGODB Development Environment Construction (linux+apache+mongodb+php)
I. Preparing the Linux environment (turn off Selinux,iptables, configure initialization operations such as IP)
Two. Prepare the software:
1. Apache: can be installed with Yum, you can also download the source code compilation.
2.
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.