One: Concept
The popular copy set is to use multiple machines for the same data asynchronous synchronization, so that multiple machines have multiple copies of the same data, and when the main library when it is off without user intervention, automatically switch to other backup server Master library. The replica server can also be used as a read-only server to achieve read-write separation and increase load.
Second: Experimental en
streamlined design, which is much less powerful than relational databases, however, it still maintains many features of relational databases. Some simplified designs are shown in:
Using the MongoDB transmission protocol as the main way to interact with the server can save a lot of cost compared with HTTP and reset.
Dynamic filling of documents, pre-allocating data files, and exchanging space for time are not a problem for the time being.
The defa
1.
backing up a databaseConcept: A backup of all data files and control files for a database, as well as the backup of parameter files and password filesNote: Do not back up the redo log when you back up the database.1.1Consistent backupConcept: Database Consistent backup refers to the method of shutting down all data files and control files for a database
0.078GB test 0.078GB User authentication is not performed after connecting to Mongodbserver. So nothing to do, when using the test database and user authentication, you can view the collection in the test library, because Test1 can only read and not write, so find can succeed and insert failure, test2 can read and write, User authentication with the Admin database allows you to view a full list of databases. In fact, this kind of certification is not very large, just a way, the safest way is
series tutorial (7): Detailed description of MongoDb Data Structure
41MongoDB series tutorial (5): Comparison of mongo syntax and mysql syntax
42MongoDB series tutorial (II): MongoDB Introduction
43MongoDB series tutorial (1): NoSQL Origin
Introduction to MapReduce in 44MongoDB
45 MongoDB series tutorial (3): download and install
"Operating System Error 5 (Access denied)" is displayed during SQL SERVER database backup ). The backup database is being terminated abnormally ." Wrong solution: database backup. backup
"Operating System Error 5 (Access denied) occurs when the SQL SERVER database is backed up ). The
Cold backup:
Cold backup is completed in archive mode.
Close Database
Back up all data files, initialization parameter files, control files, redo logs, and archived redo logs.Parameter file: Show parameter spfile;Control File: Select * from V $ controlfile;Redo log file: Select * from V $ logfile;Archive log files: Select sequence #, first_time v $ loghist;
Hot Bac
1. Current mainstream backup technologies
Data backup:
That is, the data is backed up, the data to be stored is copied directly, or the data is converted to an image and saved on the computer. Such as Ghost and other backup software, CD burning and Mobile Disk Storage.
This model is easy to understand and can be divided into two types: file-by-file and image. One
Differential backup: Back up data based on full backup. Because the tar command cannot implement differential backup, this article explains how to use the dump and restore commands. Of course, the dump and restore commands can also implement full backup and Incremental backup
"})
Modify
#Modify the name of the info collection id=1 as the "zhangsan" document.
Db.info.update({"id":"1"},{$set:{"name":"wzn"}})
Inquire
#Query info collection all documents
> db.info.find()
#Query the document whose info collection id is 1.
> db.info.findOne({id:1})
#Statistic record number
> db.info.count()
Backing up, recovering databases
Import Export
Export: Mongoexport
Import: Mongoimport
Option:-d Specifies the name of the da
Mongodb series: first recognized by Mongodb and first recognized by mongodb Series
I. background:
We are honored to have taken part in the examination system maintenance at the beginning of the month. (For more information, see the activities we attended in those years: System Maintenance summary for the first half of the 15 years.) It is mainly responsible for s
Xtrabackup backup of large databases (full backup and Incremental Backup)
Xtrabackup
Xtrabackup is a free Database Hot Backup Software open source by percona. It can back up InnoDB databases and XtraDB storage engine databases in non-blocking ways (Table locks are also required for MyISAM
MongoDB Study Notes (1) -- install MongoDB in Windows and take mongodb Study Notes
First, download the windows Installation Package for mongodb from the official website, select a 32-bit or 64-bit version based on your system type, and then follow the prompts to complete the next step. If the installation directory is
The way data is backed up with full backups, differential backups, and incremental backups, what is the difference between these three ways of backing up, and how do you choose them in a specific application? This article gives an introduction to these questions.I. Brief introduction of Backup mode1. Full backupBacks up all selected folders, and does not rely on the archive properties of the files to determine which files to back up. During the
1), download MongoDB http://downloads.mongodb.org/win32/mongodb-win32-i386-2.4.5.zipDownload the Windows 32-bit version and unzip, the program files are in the bin directory, the other two directories are C + + calls are header files and library files. The bin directory contains the following programs: 1. Mongo.exe, command-line client tools. 2. Mongod.exe, database service program. 3. Mongodump.exe, datab
First, Mongodump/mongorestore WayUsage Scenario: Database Export specified collection, unable to manually modify the export file (binary)Allowable condition: The original collection of the database can be deleted (processed: inserted) or retained
[Learning MongoDB step by step]-Brief Introduction to MongoDB (1), brief introduction to mongodb
In the previous blog, we spoke about NoSQL. We have a comprehensive understanding of NoSQL. Starting from this blog, we will take everyone into the MongoDB world. Next we will introduce
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.