Data bidirectional replication method based on database session variables
A replication method and database technology, applied in the database field, can solve problems such as low efficiency and inflexible database application operation, and achieve the effect of avoiding incremental cycles and being convenient to use.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] image 3 Shown is a flow chart of the bidirectional data replication method based on database session variables in the present invention. A kind of data two-way duplication method based on database session variable provided by the present invention, at least comprises the following steps:
[0026] Step S101, searching for session variables existing in the database;
[0027] Step S102, check the default value of the session variable in the database and the value allowed to be set, and set the session variable value;
[0028] Step S103, establishing triggers that can determine triggers in each database according to the set session variable values;
[0029] Step S104, defining the session variable in the replication tool as a session variable whose value has been set;
[0030] Step S105, run the copy tool to copy the generated incremental data; and
[0031] Step S106, mark or delete the copied incremental data.
[0032] Specifically, in step S101, the session variable...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 