Add MONGO service: Mongod--logpath D:\mongodb\log\mongodb.log--logappend--dbpath D:\mongodb\data--servicename, MongoDB--ins Tall--auth
The Green Word section is the path to the database log and the database file, so make sure you already exist.
The--
# Use the following command to view the service's startup parameters Mongod--help or mongod-h # Other command parameters * Basic Configuration---------------------------------------------------------- ---------------------Quiet # quiet output--port
The discovery process of the problem is this, some hardware equipment uploaded real-time device information client can not show, so the query log, found that the data time delay is very serious, background logic to this data as outdated data thrown
Download MongoDB
wget http://downloads.mongodb.org/linux/mongodb-linux-i686-2.4.9.tgz
If the above address is not possible to go to the official website download Http://www.mongodb.org/downloads decompression MongoDB
Tar zxvfmongodb-linux-i686-2.4
The first is the installation. First to download the address: http://www.mongodb.org/Download the latest version, the current I downloaded is: mongodb-win32-x86_64-2.4.2.zip
I am currently decompressing to the directory E:\tools\mongodb-win32-x86_64
First download the database on the official website, the official web provides two forms of the database, one is free installation version, one is installed version, this is similar to Apache Tomcat, the installation version has a visual interface
If you need to uninstall MongoDB, then there are several ways to accomplish this depending on what you want to implement. First, uninstall is just MongoDB
This will delete just the MongoDB package itself.
1
sudo apt-get remove
Increase:Db:Use db_name//If there is a switchTabale:There is no direct command to automatically generate when inserting a documentFileDb.table_name.insert ({' Test ': ' OK '})Field:Db.table_name.update ({' Test ': {$exists: true}},{$set: {' test2 ':
Modify the field name to change the name_status of the Synonymslist table to statusDb.getcollection (' Synonymslist '). Update ({}, {$rename: {"Name_status": "Status"}}, False, True)The from this array has Hengduan this value, and Zhlatin is empty
Brief introductionMongoDB (from the English word "humongous", the Chinese meaning "huge") is an open-source database that can be applied to businesses of all sizes, industries and applications. As a database for agile development, MongoDB's data
About the MongoDB database Summary 1. Installing the Mongodb2.mongo Database concept 3.mongo database directive MONGO database may not be practical for actual project development, but as a front-end test, enough. Close the database for the MONGO
MongoDB 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 scalable,
About MongoDB
is a cross-platform, document-oriented database. The real performance, high availability, and ease of scalability can be achieved. is an open source database system based on distributed file storage, which adds more nodes
CENTOS7 Full installation of MongoDB 3.6.6mongodb IntroductionMongoDB is a database based on distributed file storage. Written by the C + + language. Designed to provide scalable, high-performance data storage solutions for Web applications.MongoDB
MongoDB ShardIn MongoDB there is another cluster, that is, the Shard technology, can meet the requirements of a large number of MONGODB data volume growth.When MongoDB stores massive amounts of data, a machine may not be enough to store data, or it
, just learning MongoDB two days to write a simple summary, MongoDB is a nosql (not only SQL) non-relational database, what characteristics and so on do not say, there is nothing to ask Niang.1, installation (Windows-based): Download 4.0 version
MongoDB BasicsStage One, understanding MongoDB1, the basic form of data of MongoDB organizationMongoDB ———— Database ———— "collection ————" documentationMySQL: Table: Rows and Columns: FieldsApplication scenarios: such as real-time information about
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