http://www.f-z.cn/id/189MemcachedAdvantages of memcached:the memcached can take advantage of multicore advantages, with a very high single-instance throughput of hundreds of thousands of QPS (depending on key, the byte size of value, and server
One, Mongodump backup database1, Common command grid
1
mongodump -h IP --port 端口 -u 用户名 -p 密码 -d 数据库 -o 文件存在路径
If there is no user who can remove-u and-P. If you export the native database, you can remove-H. If it is
Advantages of memcached: The memcached can take advantage of multicore advantages, with a single instance throughput of up to hundreds of thousands of QPS (depending on key, the byte size of value, and server hardware performance, the peak of QPS
Zhang Ying published in 2013-12-03Category list: NoSQLTags: mongodb, backup, import, export, restoreMongoDB data backup and restore is mainly divided into two kinds, one is for the library of Mongodump and Mongorestore, one is for the table in the
Tag: base font size Field No query exp NTS index CINOriginal: http://www.jb51.net/article/52498.htmOne, Mongodump backup database1, Common command grid?
1
mongodump -h IP --port 端口 -u 用户名 -p 密码 -d 数据库 -o 文件存在路径
If
CreateIn MongoDB, you use the Insert method to insert a document into a collection and then save it to MongoDB. Db.foo.insert ({"hehe": "hehe"})If you want to bulk INSERT, you can use the following form: Db.foo.insert ([{"Hehe": "hehe"},{"haha":
One, Mongodump backup database
1, Common command grid
Mongodump-h IP--port Port-u user name-p password-d database-o file existence path
If there are no users who can remove-u and-P.If you export the database for this computer, you
MongoDB data backup and restore is mainly divided into two kinds, one is for the library of Mongodump and Mongorestore, one is for the table in the library mongoexport and Mongoimport.One, Mongodump backup database1, Common command grid
1. Insert is the basic method for MongoDB to Insert data. If you use Insert for the target set, this document is added to MongoDB and the corresponding ID key is automatically generated. The document structure adopts the JSON-like BSON type. Common
MongoDB data backup and restore is mainly divided into two kinds, one is for the library of Mongodump and Mongorestore, one is for the table in the library mongoexport and Mongoimport.One, Mongodump backup database1, Common command gridMongodump-h
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.