In the distributed database system, the data is stored in the different nodes of the same network. In order to achieve synchronization update of the database information, problem of data consistency and integrity turns up. Under this background, the data synchronization research on distributed database system is a hot topic. The proposed synchronization mechanism based on ETL and XML is mainly proposed by analyzing the instability of network environment and data overload while ensuring data consistency and integrity. The ETL technology effectively alleviates the server pressure and reduces network load. This scheme is efficient for mass data processing and effectively solves the problem of heterogeneous data synchronization.