Database development The bulk processing interface between Oracle and MySQL ssis+ stored procedure implementation

Source: Internet
Author: User
Tags ssis

The company currently uses a different database for different business systems, involving Oracle, MySQL, and SQL Server. While some of the core business is in MySQL, it is often important to insert data from Oracle and SQL Server into MySQL.

This part starts with the real-time interface, which is implemented in Java, but with the growing business logic in MySQL, the growth of the amount of miso in the data, the response to the real-time interface is sometimes problematic.    So we decided to use the bulk processing interface to pass data once every 2 hours. Less nonsense, I simplified one of the interfaces, drawing the implementation of the flowchart. I directly see that I am using the ssis+ stored procedure to implement. SSIS is used only to pass data, and the logic is put into the stored procedure.    This is to take into account: the logic to insert or update the data to MySQL complex, SSIS is not ripe, or the stored procedure is reliable, and a lot of data and contracts, money-related, with stored procedures log logs convenient, but also easy to troubleshoot errors. Now in retrospect I just got this project, I, mess, now look back only to feel a piece of cake. Sincerity is: the use of tools do not fear, always use will be, the key need to train of thought, clear-minded is the kingly way.

Realize the idea to see the diagram, stored procedures and the use of SSIS is not in the scope of this article, after the desire to write.

(Blue is the existing business table, Green is the interface new to transfer data and record history of the table)

Database development The bulk processing interface between Oracle and MySQL ssis+ stored procedure implementation

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.