SQL database synchronization tool (open data synchronization tool) 2.0 Chinese free version (including the client and

SQL database synchronization tool (Data Synchronization tool opened) system is divided into two portions client and a server, wherein the client system hit the vast majority of transactions, the server simply transmits the execution command the client, is a typical C / S fat client thin server model. The purpose of this design is to reduce the pressure on the server, make the system more smoothly.

The system is divided into two portions client and a server, wherein the client system hit the vast majority of transactions, the server simply transmits the execution command the client, is a typical C / S thick thin client server model. The purpose of this design is to reduce the pressure on the server, make the system more smoothly.

                         The client is responsible for collecting distributed data in the database, and then aggregated to the server. Client database connection string need to configure the connection string distribution refers to the database, after a successful connection to the primary database can synchronize data. For example, there are A, B, C three distributed database, the data need to be aggregated into the database D, then the client needs to three, are connected to A, B, C database, where the client is running does not matter, as long as the connection to the database .

 

Home Description

 

                        Home display some public information.

                        Program start date will help you analyze the log synchronization status;

                        Scanning engine, synchronization engine are two core engine system, a scan engine is responsible for obtaining data changes in the distribution database synchronization engine is responsible for synchronizing the data sent to the server needs. If the database connection string is not set, the engine will not turn on, otherwise, the engine automatically open, without human intervention.

                        Database space program refers to a local SQLite database footprint, long-term use there will be a lot of log information, take up too much space would reduce the efficiency of the program, can be cleared up. Clean up the interface as follows:

 

                        Select the type of log you want to clear the good, then select the date, after submitting all the records will be cleared prior to that date.

                Activity Log Description

                  

                        The page can query the status of activities of the program to date query can display a date of record.

                        Activity log is scanned records, detailed records of scanning information.

                        Synchronization program is simultaneously recorded activity log, a detailed record of the synchronization information.

                Synchronization Description

                  

                        Synchronization interface configuration table and to synchronize the time required to synchronize, if the string has been connected to the configuration database, the database will be displayed in all the tables, the user can select the table needs to be synchronized according to.

                        In the list of tables to be synchronized, if there are foreign key constraints between tables, the master table must take forward arrangement.

                        I.e., when the synchronization time synchronization data, the user can be selected at leisure actual synchronization, the client is recommended to select a plurality of different synchronization period, to avoid conflicts. It supports a plurality of times, separated by commas, 24 hours tabulation shown, for example time format: 20: 33,22: 12.

                        After setting successfully submitted, it will automatically open the scan engine and synchronization engine.

                Parameter Description

                  

                        Parameter setting screen to the basic parameters of the program.

                        Database connection string is the connection string distributed database connection string, not the master database, if successful settings can not be changed, you can change it to re-install the program!

                        Scanning means scanning interval fluctuation data acquisition engine interval set to 30 minutes is recommended, the user can change according to the needs.

                       The primary server IP address is the IP address of the server computer is located, the client sends the synchronization data to the server.

                Supplement

                        Once the program progress synchronization state, the synchronization progress screen will appear, this screen appears automatically, shut down automatically, without intervention, please be patient, do not close the program in sync!

      Server instructions

                Outline

                        Server functionality is relatively simple, is responsible for synchronizing data sent from client to server, and then added to the main database, simply set the connection string to the master database, connect to the server after a successful start.

                        The server will automatically save the main database connection string of successful connections.

                        Server synchronization without any record.

                Instructions for use                

                        After setting the database connection string, click to start the service, if the connection is successful, the service starts automatically.

                        At the same time, show the number of clients being synchronized, the number of clients being synchronized is not 0, the interface can not shut down the server, if forced to close, all the consequences themselves.

                Supplement

                        In theory, should first start the server, and then start the client.

Note the use of the program

        1. Make sure your database does not modify the operation of the main keys. Because modify the primary key can cause a lot of problems, if you have to modify the primary key, it proposed to amend split into delete → Add.

        2. must ensure that your database does not use self-growth fields, because since the program does not interfere with the growth of this field.

        3. supports all SQL data types (except the new SQL2008 Geography, the Geometry, H IE rarchyid).

        4. Upon successful database connection string settings can not be changed! For a change, you need to reinstall the program.

Features

        l modern design.

        l safe.

        Strong stability l.

        L high efficiency.

        l low occupancy resources.

BUG has been fixed

        l regular time synchronization error is determined, at least one write +.

        Invalid table l Delete button.

        l primary key crawl errors, retrieve backwards.

        l point activity log should be emptied interface table displays, point of inquiry should empty table display interface.

        l SQL statement is constructed in accordance with the order of execution, should be placed a minimum LSN in the configuration.

        l is determined unreasonable time synchronization, a synchronization point of time may be two, it should be narrowed sync condition.

        l SQL read exception log, a log should be skipped without recording.

        l scan engine and engine synchronization conflicts, there is crossover phenomenon, to solve the thread running through the thread lock add tags.

Copyright Information

         Author: Yang.

statement

        This program belongs to the free program, non-commercial use.

        If you like this program, you can contribute to the author.

Program upgrade - March 27, 2013 - Added table prefix (V2.0)

         Early due to lack of product development and design, the use of the latter there is a problem: no way to distinguish which data from the client, that is no distinction between distributed databases, final data will be mixed together.

         After consideration, the concept proposed table prefix. Principle as shown below:

 

         If there is no prefix table, the table names of all the distributed databases are the same, in the present embodiment are t_Syn1 or t_Syn2, without distinction, information will be A, B, C of the three distribution database synchronized to the master database t_Syn1 , t_Syn2 table, causing data corruption.

         To distinguish different distribution database table using the prefix solution.

         According to the schematic, if there is a distributed database table is "t_Syn1", if you want to synchronize data in this table, the master database needs to have a name "prefix _t_Syn1" table, structure and distribution database " t_Syn1 "the same.

         Thus, the data distribution table database "t_Syn1" will synchronize to the master database "prefix _t_Syn1" table.

         Prefix can be set on the client "parameter settings" tab, each distribution database What specific prefix agreed upon by the user.

        Note: The program does not create the table, that is, the user must manually create the master database table, the primary database table prefix = name + distributed database table name, the primary database table structure and distribution of the database table structure must be the same, just a different name .

Guess you like

Origin www.cnblogs.com/SyncNavigator8-4-1/p/10974285.html