Start data MongoDB Create data Use Mongodbtest = Db.user.insert ({"Name": "Eason", "Age": $, "Sex": true})+ = can see if there is data successfully inserted Db.user.find (). Pretty ()Nodejs Create a new nodejstest.jsvar MongoDB = require (' MongoDB '
Bibliography http://baike.baidu.com/link?url=DVJuvrT4ssbM8V1pKcoRx5H1CwRRCynC6_ Ix6ywirr414opislflppuy9hrdo4g-fr5vl9afbsvamwagpvn8g_Book over + read blog (http://www.cnblogs.com/huangxincheng/category/355399.html) + DIY installed MongoDB wrote demo
Mongo DB
About NoSQL
About MongoDB
Installing MONGO under the Windows platform
Mongo DB Official documentation
MongoDB basic Commands
The default installation path for MongoDB is C:\Program Files\mongodb
Create
MongoDB Master-slave replication is a master can be more from and can master the master-slave replication. Here is the implementation of a master one from an arbiter server using a database server by providing a different port.A Start a MongoDB
The first time you install MONOGDB, there are no users in the admin database, and users in other databases (such as the test database) can manipulate the data in another database (such as the DB1 database) regardless of whether the database is
1. Shards of Monogdb (sharding)Sharding is a data storage method used by MongoDB for terabytes of data above the TB level.MongoDB uses a solution that splits the collection and then splits the data into several MongoDB instances.In shard mode,
Document: Multiple keys and their associated values are "ordered" to be placed together.{"Greeting": "Hello, world!", "foo": 3}Collection: A set of documents. The collection is modeless, and the following two documents can exist in the same
Turn from: 10 MongoDB using the main points from the MongoDB phased technical summary extracted and collated the 10 points that are helpful to everyone:1.mongodb table names and field names are unified in lowercase lettersMongoDB is the default case-
Db.collectionname.find (, ) filter criteria for document documents of optional type Optional Type document matches the result field {field 1:, field 2: ...} (That is, the second parameter controls the display of the result field under filter
MongoDB is a product between a relational database and a non-relational database. Installation configuration is simple, installation documentation:http://guang1689.blog.51cto.com/10320522/1715153The main point here is MongoDB master-slave exception,
installation
Official website Download: https://www.mongodb.org/Unzip unpack rename to MongoDB move to/usr/local/directoryCreate a soft connectionln-s/usr/local/mongodb/bin/mongod/usr/bin/mongod for mobile
What is a shardSharding refers to the process of splitting a database and dispersing it across different machines. Spread the data across different machines without the need for powerful servers to store more data and handle larger loads. The basic
Today, the basic operation of MongoDB is recorded, this is only the most basic, so it should be mastered.DatabaseA database is a collection of physical containers. Each database has its own set of files on the file system. A single MongoDB server
In the world of MongoDB, it is very simple to do data distributed storage. As long as the cluster is completed as described above, it is fully equipped with the requirements of data distributed storage.Here are a few concepts to distinguish: Go to
Currently in full swing MongoDB, its use threshold is so low (in this article, for example, Windows):1, the website download installs the package2, after installing MSI file, will see the working directory of MongoDB under C:\Program files\mongodb
MongoDB Download
Login to MongoDB official website: www.mongodb.org; Click the "Download MongoDB" button to enter the interface shown below
Select the target operating system and its version, for example, the 64-bit Windows Server 2008R2
PackageCom.xinsight.server;Importjava.net.UnknownHostException;ImportJava.util.HashMap;ImportCom.mongodb.BasicDBObject;ImportCom.mongodb.DB;Importcom.mongodb.DBCollection;ImportCom.mongodb.DBCursor;ImportCom.mongodb.Mongo;/*** Find all data in a
Db2 database common debugging and detection database statements
Connect to [database name] user [operation user name] using [Password]
Connect to the specified database, excluding brackets
reorgchk on table EAS.T_User
Check whether the table EAS.
Db2 optimization basics open EXPLAIN
As a db2 query plan, EXPLAIN needs to be opened by myself. However, it generally runs db2-tvf EXPLAIN. DDL, but it is wrong to run it many times.
Because it is not in the same directory, there will be errors.
It
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