This document is a logbook that resolves an issue that causes the inability to use Db.eval () after the--auth of MongoDB is opened.Problem Description:Using--auth to start MongoDB, after successful login, execute Db.eval, report the following error:>
MongoDB is a product between a relational database and a non-relational database, and is the most versatile and most like relational database in a non-relational database. The data structure he supports is very loose and is a JSON-like Bjson format,
MongoDB projection means to select only the necessary data instead of selecting the entire data for a file. If a document has 5 fields, you need to display only 3, and then select only 3 fields.Find () methodMongoDB's Find () method, which is
---1. Turn off Numa in procRpm-qa | grep numactlYum Install-y Numactl# echo 0 >/proc/sys/vm/zone_reclaim_mode# sysctl-w Vm.zone_reclaim_mode=0---2. Modify the maximum number of connections#vi/etc/security/limits.conf* Soft Nofile 25000* Hard Nofile 2
This period of time to try MongoDB, feel very easy to use, convenient, compared to relational database advantages are also very large, so try to use Java to connect MongoDB, and carried outBasic additions and deletions to check the operation.First,
Client Support for MongoDBAs a very mature NoSQL database, MONGDB support for a variety of programming languages has been perfected, and currently supports major mainstream programming languages including:1,mongo Shell2,python3,java4,c#5,node.js6,c++
MongoDB Write attentionMongoDB provides write attention to the level of assurance used to describe the return information of a database write operation. The intensity of the written attention determines the level of assurance. When inserting,
1: The principle of data synchronization:When the primary node completes the data operation, secondary will make a series of actions to ensure the synchronization of the data: 1: Check your local library's oplog.rs collection to find the most recent
1 DownloadsDownload page address: https://www.mongodb.org/downloadsVersion selection: The computer system is 64-bit, so I chose the Windows 64-bit r2+, MSI package2 installationInstallation path: D:\Program files\mongodb\server\3.0Under this
Two years of time in a total of 6 series, including Zabbix and Nginx has made ebook, the other series of tutorials have been converted into a PDF to the vast number of technical homes to download, thank you for the maintenance of the survival time
MongoDB cluster deployment and cluster maintenance commandshttp://lipeng200819861126-126-com.iteye.com/blog/1919271MongoDB Distributed cluster architecture and monitoring configurationhttp://freeze.blog.51cto.com/1846439/884925/See the article:Seven,
Aggregate equivalent to the group in MySQL and a series of operationsOfficial website address: http://docs.mongodb.org/manual/reference/sql-aggregation-comparison/
An expression
Describe
Instance
$sum
"Step by Step Spring+maven+mongodb" one: Environment configurationFirst, the development environmentEclipse (Java EE Edition)Second, the environment configuration 1.JDK configuration1.1.1 Download JDK:
Database review 7 -- restoreDatabase review CH14 recovery 13.1 recovery concept
Database SystemRestoreIt refers to the behavior that restores the database from an inconsistent state after a certain "failure" to a normal consistent state. The basis
JDBC programming-transaction programming (4)Transaction Concept
In my opinion, the concept of a transaction refers to a set of SQL sequences. This sequence is a unit of execution, either all or all, in this way, you can control the concurrency of
Aerospike-Architecture series of big data typesLarge Data Types (Big Data Type) Big Data bin can store a Large number of object sets. The object type can be Integer/String/Map/List. A single record of Aerospike can contain many such bins. Such a bin
04. Specify variable & batch processing for JDBC Programming
Boolean
Execute() Executes the SQL statement in this PreparedStatement object, which may be any kind of SQL statement.
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