MYSQL database heterogeneous log based replication
First Claim
1. A system that uses log based replication to transfer data between a MySQL database or system that uses binary log files, and a second database or system, comprising:
- a computer including a micro-processor;
one or more libraries for use in accessing a first database or system that uses binary log files; and
a vendor access module (VAM), running on the computer, and further including;
a plurality of binary log classes that wrap around the libraries,a plurality of event classes, anda plurality of reader and processor classes;
wherein the VAMrecognizes event data as recorded in a binary log file by the first database or system,uses the plurality of event classes to convert the event data into data records,reads and processes the data records with the reader and processor classes, and sends the data records to a record queue, andcommunicates with an extract process to process the data records and to generate a trail file containing the processed data;
wherein the processed data is set up to be applied to the second database or system.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for transferring data between different types of systems, and in particular uses log-based replication to transfer data between different types of systems. In accordance with an embodiment, the system can be used to perform a one-time or initial copy of the MySQL data from a source database system to a target database system, and/or to replicate the on-going transactions captured from a MySQL database'"'"'s binary log into one or additional non-MySQL database(s) on a continuous basis, such that the two systems are synchronized for transactions of interest. In accordance with an embodiment, full or partial data changes can be extracted from the MySQL binary log, optionally transformed, skipped or augmented, output or written to a file, and then applied at any of one or more target systems (e.g. another MySQL database, or a non-MySQL database), thereby synchronizing the source and target systems.
88 Citations
17 Claims
-
1. A system that uses log based replication to transfer data between a MySQL database or system that uses binary log files, and a second database or system, comprising:
-
a computer including a micro-processor; one or more libraries for use in accessing a first database or system that uses binary log files; and a vendor access module (VAM), running on the computer, and further including; a plurality of binary log classes that wrap around the libraries, a plurality of event classes, and a plurality of reader and processor classes; wherein the VAM recognizes event data as recorded in a binary log file by the first database or system, uses the plurality of event classes to convert the event data into data records, reads and processes the data records with the reader and processor classes, and sends the data records to a record queue, and communicates with an extract process to process the data records and to generate a trail file containing the processed data; wherein the processed data is set up to be applied to the second database or system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method that uses log based replication to transfer data between a MySQL database or system that uses binary log files, and a second database or system, comprising the steps of:
-
providing one or more libraries for use in accessing a first database or system that uses binary log files, providing a vendor access module (VAM) including a plurality of binary log classes that wrap around the libraries, a plurality of event classes, and a plurality of reader and processor classes, recognizing event data as recorded in a binary log file by the first database or system, converting the event data into data records by using the plurality of event classes, reading and processing the data records with the reader and processor classes, and sending the data records to a record queue, and communicating with an extract process to process the data records and to generate a trail file containing the processed data, wherein the processed data is set up to be applied to the second database or system. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer readable medium, including instructions stored thereon, wherein the instructions, when read and executed by a computer, cause the computer to perform the steps comprising:
-
providing one or more libraries for use in accessing a first database or system that uses binary log files, providing a vendor access module (VAM) including a plurality of binary log classes that wrap around the libraries, a plurality of event classes, and a plurality of reader and processor classes, recognizing event data as recorded in a binary log file by the first database or system, converting the event data into data records by using the plurality of event classes, reading and processing the data records with the reader and processor classes, and sending the data records to a record queue, and communicating with an extract process to process the data records and to generate a trail file containing the processed data; wherein the processed data is set up to be applied to a second database or system.
-
Specification