Redis Learning notes have been completed, Redis warehousing has been implemented, for the key/value structure of Redis I prefer to use it to implement the caching mechanism of the data set, but for the structure of flexible, high query efficiency
1. First Download MongoDB installation packageHttp://www.mongodb.org/downloads, select the appropriate version as needed2, I downloaded the Legacy Linux 64 versionUnzip TAR-XZVF mongodb-linux-x86_64-3.0.1.gz after download3. Then I moved it
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
Ricky Ho, a software engineer, recently published a blog post on the MongoDB architecture (MongoDB Architecture), although this is a very broad-sounding topic, However, in the article, the author does an analysis of the internal-to-external
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)
To manipulate a database through a program://Link String stringConnectionString ="mongodb://192.168.1.107"; //Database name stringDatabaseName ="LSQ"; //Collection Name stringCollectionName ="mycollection";
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
To learn more about how MongoDB stores data, one concept must be clear, and that is memeory-mapped Files. memeory-mapped Files shows how the database deals with the underlying system.
the memory-mapped file is OS via mmap Create a data
requirements, MySQL table in a log table, require the average record period of statistical data, learning in practice, with MySQL may be more troublesome, then use the newly-contacted MongoDB bar, but also with the Hadoop research last year to touch
Enter help to see the basic Operations Command:Show DBS: Display Database listShow Collections: Displays a collection in the current database (similar to a table in a relational database)Show Users: Show userUse : Switch the current database, which
MongoDB design concept: Can transfer from the server side to the driver to do things, as far as possible to transfer.Documentation is the core concept of MongoDB. Multiple keys and their associated values are placed together in an orderly manner as
Installing MongoDBsudo apt-get install MongoDBsudo apt-get install MongoDBClose/Startsudo service MongoDB stopsudo service MongoDB startTo set the database connection password: Creating a folder with directory: data/db Close the existing
MongoDB announces today that the 3.0 official version is about to be released. This marks a new stage of development for the MongoDB database, providing a powerful, flexible and manageable database management system.MongoDB 3.0 has a very large
First, download www. MongoDB . orgSecond, installationDownload it and unzip it in a directory without spaces, my directory is D:\Program files\mongodb\Then Windows starts typing cmd, choosing Cmd.exe right-click to run as administrator (this is
Recently used MongoDB for development, on Linux, the habitual will use the kill-9 PID to shut down the service.The result is that MongoDB always shuts itself down after each shutdown and then restarting MongoDB. Look at the log also did not see what
1 adding dependencies"MongoDB": "1.4.15", "express-session": "1.9.1", "Connect-mongo": "0.4.1", "Connect-flash": "0.1.1"Where Connect-flash is used to record the login session (I do not know if it is right, because it is not carefully used)App.jsvar
CentOS Download MongoDB1 wget https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.0.1.tgzUnzip and install MongoDBExtract the downloaded files to/usr/local/mongodb and create the data/db and Data/log directories under/usr/local/mongodb to store
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.