The invention discloses a
data verification method and device after
data migration, and relates to the technical field of
automatic programming, and the method comprises the steps: obtaining a pre-created configuration file; determining a connection mode of the source
database according to the type of the source
database in the configuration file; determining a connection mode of the
target database according to the type of the
target database in the configuration file; according to the connection mode of the source
database, calling a connection tool of the source database to obtain source database data; according to the connection mode of the
target database, calling a connection tool of the target database, and obtaining data of the target database; and according to the
verification mode in the configuration file, comparing the source database data with the target database data to obtain a
data verification result after
data migration. According to the method, the data after
data migration can be efficiently, accurately and comprehensively verified, so that the successful online efficiency of a new
system after data migration is improved, and a powerful guarantee is provided for stable operation of the new
system in future.