The invention relates to the technical field of
data processing, can be applied to business scenes of financial science and technology,
medical health and the like, and discloses a
database data verification method which comprises the following steps: configuring source
database connection parameters and
target database connection parameters, setting comparison task parameters, and associating the comparison task parameters with corresponding
database connection parameters; determining a source table and a target table corresponding to the source table identifier and the target table identifier, executing table
structure comparison to generate a structure difference
record, determining a data range according to a comparison mode parameter, executing data volume comparison to generate a quantity difference value, determining a data sampling strategy, and performing content comparison to generate a feature identifier comparison result; and finally, integrating the structure difference
record, the quantity difference value and the feature identification comparison result to generate a
verification report. According to the method, the data range and the sampling strategy are driven by comparing the mode parameters, so that the
integrated processing of
structure comparison, quantity comparison and content comparison is realized, and the accuracy and efficiency of
data synchronization verification are improved in a heterogeneous database environment.