This article was reproduced from: Http://www.oschina.net/translate/why-you-should-never-use-mongodb(only reproduced, does not mean that the site and bloggers agree to the views or confirm the text of the information)
Disclaimer: I
Development environmentEclipse Mars 4.5JDK 1.7FrameworkSpring 4.0.5MyBatis 3.2.7Hibernate 4.3.6MongoDB 1.7DatabaseMySQL 5.0MongoDB 3.2 This is a MAVEN managed sping Integration Framework, the source code for this project, direct download
Recently, a new project needs to use MongoDB's master,slave,arbiter architecture, go to the official website to turn over the document, write a simple script. The script can be found on my GitHub
Recently wanted to try Intel's WebRTC-based collaborative communications Development Kit, where the CS_WEBRTC_CONFERENCE_SERVER_MCU relies on MongoDB.What is MongoDB?MongoDB is a database based on distributed file storage. Written by the C + +
If you access MONGO through the shell, you want to query in secondary. The following error will appear:[Email protected] ~]# Mongomongodb shell version:3.0.9connecting to:testabc:secondary> show dbs2016-02-20t02 : 13:18.527+0800 E QUERY
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
mongdb Time Type
Date () Displays the current time
New date constructs a Greenwich time can see exactly and Date () Difference 8 hours, we are 8 time zone, that is, the difference between 8, so + 8 hours is the current system
Execute at the command line:Mongod--logpath D:\MongoDb\logs\MongoDB.log --logappend--dbpath D:\data --directoryperdb-- ServiceName MongoDB--install --auth The Green Word section is the path to database log and database file storage, make sure that
To ensure a secure MongoDB runtime environment, DBAs need to implement some control to ensure that users or applications simply access the data they need. These measures include, but are not limited to:
Authentication mechanism
the previous introduction to the MongoDB Foundation, here we recommend two sites, we can look at, the comments are quite specific: http://www.w3cschool.cc/mongodb/mongodb-tutorial.html. http://www.yiibai.com/mongodb/mongodb_create_backup.html#. Ok
MongoDB Development Version 3.1.8 releasedMongoDB 3.1. Version 8 has been released. It is important to note that this 3.1.8 as a development version and is not intended for use in production environments. The next version of the 3.2 series will be
MapReduce should be considered a more complex mongodb operation, I began to understand the time or moved the brain, so record here!Command syntax: See more
Db.runcommand ({mapreduce: String, collection name,Map: function, see
Download MongoDB installation files, unzip to D:\MongoDB;
To run the script:
@echo off SetMongobin=d:\MongoDB::Create a Data,log folder under the MongoDB
Start: 1) Create a folder to store MongoDB's data when you start specifying this folder to store the MongoDB storage path my directory is D:\data2) Start MongoDB service into the bin directory where MongoDB is installed enter Mongod--dbpath=path
SQL statements with the most execution times of basic queries optimized by db2
Use the following statement to find the maximum number of SQL statements executed
Db2 select * from sysibmadm. SNAPDYN_ SQL order by NUM_EXECUTIONS desc,
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