I learn MongoDB time is not long, but in view of the needs of the work and the future trend of development, I want to deeper understanding of the underlying principles of MONGODB and more flexible application of mongodb, learning while working
MongoDB Management client behind is a JavaScript Shell, is a complete JavaScript interpreter, with "MONGO" command log in;After entering into the default test database, you can view the current connected database with the DB command:[[email
Using MONGODB requires a reasonable design of the document structure to meet certain specific requirements. For example, randomly selecting a document, skipping a random document with Skip and not adding a random key to the document.Then use a
The recent transformation of two applications, a series of problems in the online process (part of which is due to objectid misunderstanding)first to understand the following objectid:TimeStampThe first 4 bits is a UNIX timestamp, is an int category,
Replica sets (replica set) is a new feature that starts with the mongodDB1.6 version, which enables automatic failover and automatic repair of feature member nodes, and the data between each db is exactly the same, greatly reducing the risk of a
Recently, with the advent of the "Big Data Age", NoSQL database, as a rising star in the database industry, has developed rapidly in just a few years, and now it has a great potential to replace the RDBMS. Of the many NoSQL databases, MongoDB is the
1. Download the compressed package and unzip it to any local directory. (Mine is Documents/develop/mongodb)2. Create a new Data folder under MongoDB and create a new DB folder under Data. (Bin and Data folder at level one)3. Enter the bin folder and
Official DownloadsUnpack the installation package to E:\mongodbSet up the database directory E:\mongodb\dataCreate log directory E:\mongodb\logsCreate profile Directory E:\mongodb\etcSetting up the configuration file E:\mongodb\etc\mongodb.confThe
Data export Mongoexport Suppose there's a user table in the library with 2 records, and we're going to export it> Use My_mongodbSwitched to DB My_mongodb> Db.user.find ();{"_id": ObjectId ("4f81a4a1779282ca68fd8a5a"), "UID": 2, "username": "Jerry", "
Distributed basis: Consistency Hashilu by algorithm consistency hash http://www.jiacheo.org/blog/174 Http://www.tuicool.com/articles/vQVbmai Http://www.cnblogs.com/huangxincheng/p/3708316.html The use of Redis and MongoDB, to be able to write their
With Ruiy brother to play with it; 1, turn off SELinux (Ruiy, according to experience, Red Hat's selinux erection is a mistake, remember that no matter what the structure of the first to shut down is it); 2, set iptables release port=27017; 3,
This article mainly introduces the detailed analysis of the advantages of the DB2 9 database. We all know that XML is a flexible language to use. Users can tag their own tags to define their data types. You can define the principle or attribute name
This article mainly describes what we all want to obtain through DB2 9 XML in actual operations? During the five years of development of pureXML and DB2 9 databases, IBM has thoroughly studied the nature of XML (XML is flexible and cumbersome ),
This article focuses on the DB2 User Password modification and the actual Database Backup recovery operations. If you are curious about the user password modification of the DB2 database and the actual Database Backup recovery operations, the
The following articles mainly describe the detailed analysis of the DB2 Capture program in expert Q & A. the DB2 Capture program is a very critical application, especially in the Database Replication solution. The main function of this program is to
The following articles mainly describe the use and proper maintenance of the DB2 back archive. Do we want to manage IBM in a better way?®DB2®For Linux®Or AIX®Diagnostic files on the server? If so, this article will help you.
A script is provided to
The following articles mainly describe how to correctly install the DB2 database in linux. I saw the correct installation steps for the DB2 database on the relevant website two days ago, I will share it with you. The following is a detailed
The following articles mainly describe the steps for restoring a database through DB2 backup and recovery.) I am a fan of DB2 databases. I am interested in understanding all the knowledge of DB2, although I was just familiar with the DB2 database, I
If you are new to the DB2 database, you need to know the log types in the DB2 database. The following describes the log types in the DB2 database for your reference, hope to help you.
1. Log Type
1.1 Activity log active log)
This function is
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