# dataCompare **Repository Path**: Aaron_git/data-compare ## Basic Information - **Project Name**: dataCompare - **Description**: 数据库对比工具 - **Primary Language**: Java - **License**: AFL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-03-03 - **Last Updated**: 2023-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dataCompare #### 介绍 数据库对比工具,用于对比两个数据库中表结构差异化信息,并且能够生成表结构同步sql与汇总统计信息 1、目前只支持两个数据库为同类型数据库 2、目前只支持Oracle、MySQL数据库 #### 软件架构 springboot druid mybaits hutools #### 安装教程 1. 维护yml文件。 application.yml中active支持oracle与mysql,根据业务选择不同的active。 在yml文件中维护数据库信息 mysql: url: jdbc:mysql://localhost:3306/main username: password: tableSchema: //数据库schema oracle: url: jdbc:oracle:thin:@ip:1521/实例 username: password: 2. 运行 MultipleDataApplication 3. 浏览器中输入:http://localhost:9021/compare/table ![汇总](image_huiz.png) ![主库表信息](image.png) ![从库表信息](image_ck.png) ![建表dll](image_table_dll.png) ![输入图片说明](image_columnDll.png)