collection of one or more items in a database. This grouping of multiple items makes it easier to specify a set of logically related data and database objects to replicate together.
Project
An item is a data table, data partition, or database object that you specify to replicate. A project can be a complete table, a few columns (using a vertical filter), a few
Background:
0. server data is very important. If the disk is damaged, it will be troublesome. As a manager, it is necessary to synchronize and back up data in real time.
1. rsync is a good backup tool. The following uses Ubuntu as an example to describe its preparation.
2. If the ip address of my server A is 10.141.247.12, the ip address of my backup client B is 10.141.247.13
Server preparation:
1. Enable r
Rsync and INotifySingle rsync can only synchronize data, a single inotify can only real-time monitoring files, the combination of both to meet the real-time data synchronization needs, the following is a data publisher and two Web server instance resolution rsync+inotify to achieve real-time synchronization.Data Publis
and copying data)
Create a database copy and subscription process:[Copy]-> [subscribe]-> right-click and choose-> [Create a request subscription]-> [Next]-> [find a release]-> [view a release made by a registered server]-> [Next]-> [select release]-> [select the Database Release name on the created Publishing Server]
-> [Next]-> [Specifying synchronization agent logon]-> [when a contemporary agent is co
During database processing, you always need to be exposed to data synchronization and modification issues. Sometimes we need to ensure business data synchronization during business processing (generally, this situation includes statistical fields, that is to say, You need to calculate the field of the subsequent value
configuration parameters and synchronization of some errors, more configuration please refer to here to configure (if not \g will show a lump of things),Then turn on sync:Start slave;5: The test is successful, log in to the master server's MySQL CLI interface, enter:Use test;CREATE TABLE T1 (ID Int (10));Show tables;A new data table is successfully created on the master server, and then you are logged on t
collection of one or more items in a database. This grouping of multiple items makes it easier to specify a set of logically related data and database objects to replicate together.
Project
An item is a data table, data partition, or database object that you specify to replicate. A project can be a complete table, a few columns (using a vertical filter), a few
1.1 EDB data Synchronization 1.1.1 Overview?? When you encounter a requirement to synchronize the structure or data of two databases, you can synchronize with Navicat Premium (collectively referred to as NAVICAT) to migrate the object structure or data by synchronizing the database (non-heterogeneous database). Note th
If you want to do one-way synchronization of MySQL Data, you can read another article: www.linuxidc.comLinux2012-1071594.htm 1. Prepare the environment Master:
If you want to do one-way synchronization of MySQL Data, you can read another article: http://www.linuxidc.com/Linux/2012-10/71594.htm 1. Prepare the environmen
Set MySql data synchronization mysql to provide the database replication function after version 3.23.15. This feature allows you to synchronize two databases, master-slave mode, and mutual backup mode. The settings of the database synchronization replication function are reflected in the mysql settings file. The mysql configuration file (usually my. cnf) is in th
Online Database Backup settings MySql data synchronization mysql provides the database replication function after version 3.23.15. This feature allows you to synchronize two databases, master-slave mode, and mutual backup mode.
The settings of the database synchronization replication function are reflected in the mysql settings file. Mysql configuration file (
It seems that it has been another period of time before the previous blog, and this period of time should be a struggle. It took nearly three weeks from the process of searching for synchronization errors to using new solutions, I think it is necessary to summarize this experience.
The project was developed using C # + vs2008, and the client data storage adopts SQL Server compact Edtion 3.5, mainly inte
processing the accumulated logs in a few minutes, and the two sides are synchronized again :)From MYSQL Server Slave_IO_Running: No solution 2In the morning, an unexpected power failure occurs in the data center, causing mysql synchronization exceptions from the server. The solution that previously encountered Slave_ SQL _Running as No is invalid and cannot be synchronized.Check the status of show slave st
(error on master: 1053) and was aborted. there is a chance that your master is inconsistent at this point. if you are sure that your master is OK, run this query manually on the slave and then restart the slave with set global SQL _SLAVE_SKIP_COUNTER = 1; START SLAVE ;. query: 'insert INTO hx_stat_record ...... (An SQL statement )'
Here is a description of how to operate :)
Stop slave first, execute the prompt statement, and then set global SQL _SLAVE_SKIP_COUNTER = 1; START SLAVE;
Show slav
ArticleDirectory
Comment
Data Synchronization processing (using SQL Server 2000 as an example)
1. Main Purpose
Data synchronization between two or more servers
2. Method
Use the database replication method to synchronize data through publishing, distribut
snapshot][JIN001-dack-3] type [REPL Log Reader]
The blue name above uses different numbers based on the server name, name, and number of releases.A repl snapshot job is a prerequisite for SQL Server replication. It first generates the published table structure, data, indexes, and constraints to the files in the OS directory of the Publishing Server.(It is generated only when a subscription is available. It is generated when the subscription request i
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 timestamp. 2: Check the primary node local library Oplog.rs collection
For the realization of the mutual configuration of the two machines, this article made a detailed introduction, after the test data synchronization, in the 10.168.1.44 server database to modify a piece of data, you can see the data has been synchronized. In turn, modifying the 10.168.0.126
files with different extensions named mysqllog.
Binlog-do-db = backup # specify the database for logs
Restart the database service.
Use the show master status command to view the logs.
B is slave
Modify the my. ini file of mysql B. Add the following configuration to the mysqld configuration item:
Server-id = 2
Master-host = 10.10.10.22
Master-user = backup # synchronize user accounts
Masters-password = 1234
Master-port = 3306
Master-connect-retry = 60 default retry interval 60 seconds
Replica
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.