MapReduce is popular with the concept of "big data".In fact, the concept of MapReduce is very simple,Functionally, a group operation that is equivalent to an RDBMSWhat are the real strengths of MapReduce?A: Distributed, when the data is very large,
Enter help to see the basic Operations Command:One: operation of the DB1. Creating a MongoDB database column such as creating a database named Pockbox use Pockbox, MongoDB does not have a command to create a database2, switch/CREATE database use
Index creation1: Indexes increase query speed, reduce write speed, weigh common query fields and do not have to be indexed on too many columns2. In MongoDB, indexes can be created by word orderby order/descending order, easy to sort3. The default is
We know that MongoDB does not support byte (there is no byte defined in Bsontype), but the data structures in the actual production environment (especially the ancient time data structures) often contain byte data items.It is not possible to save
MongoDB in Find function syntax: Db.collection.find (QUERY,FILEDS,LIMIT,SIKP)1. The Qurey parameter is equivalent to the WHERE clause in SQL to indicate the query condition column: Db.account.find ({name: "Lewesyang", age:{$it: 22})2. The fileds
MongoDB provides a lot of powerful aggregation tools in addition to the basic query functionality.CountSimilar to SQL, used to count the sum of the number of documents in the collection:Count can quickly return the number of documents regardless of
1.MongoDB is a document-oriented database, what are the benefits of document-oriented?Unlike relational databases, a document-oriented database does not have a "line" concept, but rather a "document" concept, because documents can embed documents
1, when you open the MongoDB service without adding any parameters, you can operate on the database arbitrarily, and can access the database remotely. If you specify the auth parameter when you start, you can authenticate the database with user
: Https://www.mongodb.org/downloads Upload to server and unzip: $ tar zxf mongodb-linux-i686-2.0.2.tgz Create the necessary documents at the installation: $ cd mongodb$ mkdir data$ Touch logs Start:
ObjectiveMongoDB Java Driver provides the function of query, query condition is also Bson object, this article looks at how to carry on the simple data query1. Data structureCollection: FirstcollectionData content:{"_id": ObjectId ("55adba52fa1f3cf03
A popular type of non-relational database Mongodb,nosql databaseHigh performance, open source, non-modal document databaseAlternative to traditional relational databases or key/value storage methodsNosql,not only SQL, non-relational database.
sharding refers to data fragmentationcluster cluster, a cluster contains multiple shards, each shard consists of a replica setCollection The concept of a table in db, except that there is no schemaEach collection in the sharding scene is divided
Tough Document Replacement Update operation
Db. [Documentname].update ({finder},{modifier})2. The primary key conflict will error and stop the update operation, when the hard-to-replace document and the existing document ID conflict, the system
The processing time period, will Isodate ("2014-10-09t18:37:50.0z") redeem 2014-10-09 18:37:50 such format//up to Processing 6 layer tree structure data, when multidimensional array key, $product _date_ A random character in Col, then it will be
installation and configuration, start and stop of MongoDB under Windows: The official download URL for MongoDB is: https://www.mongodb.org/downloadsInstallation Steps 1,Click Download Mongodb-win32-x86_64-2008plus-ssl-3.0.4-signed.msi, Next, next
Mydumper installation and installation fault Summary
Mydumper is a lightweight third-party open-source tool for mysql database backup. The backup method uses the term logical backup. It supports multithreading, And the backup speed is much higher
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